Bug 165660 - Data Provider: while resizing the dialog, the "Source" part should remain static while the "Preview" section should resize
Summary: Data Provider: while resizing the dialog, the "Source" part should remain sta...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Data-Provider
  Show dependency treegraph
 
Reported: 2025-03-09 23:35 UTC by Rafael Lima
Modified: 2025-03-11 08:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Data Provider dialog (original size) (36.65 KB, image/png)
2025-03-09 23:35 UTC, Rafael Lima
Details
Data Provider dialog (after resizing) (39.61 KB, image/png)
2025-03-09 23:36 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2025-03-09 23:35:27 UTC
Created attachment 199715 [details]
Data Provider dialog (original size)

Currently, the Data Provider dialog has two main sections: "Source" (first column in the layout) and "Preview" (second column).

When resizing the dialog horizontally, both of them respond to the resize command. However, it is not necessary to resize the "Source" section, because:

1) Most like the user will be resizing the dialog to see more of the "Preview" data
2) If the user wants to see more of the "Source" section, there's a splitter that can be used to adjust its size (at least in kf5 and gtk3)

Therefore, I suggest we change the resize policy of this dialog, so that when it is horizontally resized, the size of the "Source" section remains unchanged.

See in the screenshots:
1) The original dialog with its default size
2) The dialog after being resized horizontally, to show how weird it gets in kf5 (in gtk3 it's not as weird, but it's still unnecessary to resize the "Source" section).
Comment 1 Rafael Lima 2025-03-09 23:36:51 UTC
Created attachment 199716 [details]
Data Provider dialog (after resizing)
Comment 2 m_a_riosv 2025-03-10 00:56:53 UTC
+1
Comment 3 Heiko Tietze 2025-03-11 08:08:43 UTC
We don't resize the preview. From https://wiki.documentfoundation.org/Design/Guidelines/PropertyDialog

* Dialogs should work with a size of 800 × 600 pixels and should not be resizable. Take care about high resolution displays (i.e. QXGA and more).

We decided to make dialogs non-resizable as they are controlled by the content. However, if the dialog provides controls with user input that might exceed the designed width or height, eg. lists, edit fields etc., the dialog should be resizable.