Bug 156354 - UI Basic dialog contents not visible in preview mode with scrollbars enabled
Summary: UI Basic dialog contents not visible in preview mode with scrollbars enabled
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Balázs Varga (allotropia)
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Scrollbars
  Show dependency treegraph
 
Reported: 2023-07-18 13:36 UTC by Gabor Kelemen (allotropia)
Modified: 2023-07-25 14:25 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (9.47 KB, application/vnd.oasis.opendocument.text)
2023-07-18 13:36 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the problem in Writer (71.33 KB, image/png)
2023-07-18 13:36 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-07-18 13:36:12 UTC
Created attachment 188440 [details]
Example file from Writer

Attached example file contains a Basic dialog that has grouped radio buttons and scrollbar enabled.

When the Preview button is pressed, the contents of the dialog are not visible. Turning off the scrollbar makes it visible.

1. Open attached file
2. Tools - Macros - Organize dialogs
3. Open the Scrollbars-with-grouping.odt - Standard - Dialog1 for editing
4. In the Basic dialog press the Preview Dialog button on the Toolbox toolbar
-> In the preview dialog only the FrameControl1 is visible, the two OptionButtons are not.

5. Click the outer border of the dialog, so the General properties list opens in the bottom left of the dialog
6. Scroll down to the Scrollbars property. It has the Vertical setting, but it's bad with Horizontal or Both settings as well.
7. Change to None. Press the Preview Dialog button again: Now the two OptionButtons are visible as well.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6256d5fe2e7cb1bb002d5fe59527d3a3fbf6963f
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

Happens only on Windows, it's fine on Ubuntu 20.04 with GTK3 or gen backends.

Seems to have started in 4.0 when the scrollbar property was added to such dialogs. In 3.6 all content was visible, but there was no scrollbar either.
Comment 1 Gabor Kelemen (allotropia) 2023-07-18 13:36:35 UTC
Created attachment 188441 [details]
Screenshot of the problem in Writer
Comment 2 Rafael Lima 2023-07-18 23:30:23 UTC
FTR it is working fine in KF5 as well

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:7.5.4-0ubuntu0.23.04.1
Calc: threaded
Comment 3 Commit Notification 2023-07-25 11:04:50 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/99e6e4dd273752ee671d1ade00b381786800a508

tdf#156354 - Fix UI Basic dialog contents not visible in preview mode

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.