Bug 164911 - Pivot Table dialog window resizes beyond monitor screen height when expanding the "Options" or "Source and Destination" expanders
Summary: Pivot Table dialog window resizes beyond monitor screen height when expanding...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Pivot-Table Dialog-UX
  Show dependency treegraph
 
Reported: 2025-01-29 06:16 UTC by Jeff Fortin Tam
Modified: 2025-01-30 22:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Demonstration video (2.22 MB, video/mp4)
2025-01-29 06:16 UTC, Jeff Fortin Tam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2025-01-29 06:16:36 UTC
Created attachment 198841 [details]
Demonstration video

To reproduce, on a 900px-high single-monitor setup on GNOME 47's Wayland session on Fedora 41:

1. open the Pivot Table dialog window; it opens at full height of the screen (which is nice)
2. click to expand the "Options" or "Source and Destination" sections of that dialog

Result: the height keeps expanding beyond the maximum height of the screen, and goes off-screen.

See attached video for a quick demonstration of the issue.

-------

A bit similar to bug #164910, but not specific to multi-monitors here, it happens on any monitor, particularly those with limited height in their resolution (ex: 1600x900 pixels resolution).

A bit similar to bug #128135, but affects the latest stable LibreOffice version:

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Jeff Fortin Tam 2025-01-29 15:22:15 UTC
One thing that came to my mind afterwards: if shrinking the other widgets (i.e. the 5 listviews in the upper part, when expanding the extra options widgets in the lower part) is considered problematic compared to the current shapeshifting dialog, maybe a different UI widgets approach can be considered for those expanders: using the equivalent of a popover* widget to contain them, and show the popover by clicking some buttons instead of expanders; that way the extra settings would be temporarily overlaid on top of the rest of the dialog, without resizing involved.

*: https://docs.gtk.org/gtk4/class.Popover.html
Comment 2 Heiko Tietze 2025-01-30 12:52:58 UTC
Edge case since the Source/Destination is rarely needed.

Similar to the print dialog we could add a scrolled window behind the controls that requires to scroll but keep the entire dialog on the screen.

Alternative UI proposal in bug 131654.