Bug 148047 - Area fill split button does not trigger, if it is behind a chevron due to narrow window width (GTK3)
Summary: Area fill split button does not trigger, if it is behind a chevron due to nar...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.6.0 target:7.5.2
Keywords: bibisected, bisected, regression
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2022-03-17 09:43 UTC by Dmitry
Modified: 2023-02-27 19:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example of hidden tools (57.76 KB, image/png)
2022-03-31 16:05 UTC, Dmitry
Details
Screencast of the bug (10.00 MB, video/webm)
2023-02-20 21:03 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2022-03-17 09:43:57 UTC
When in LO Writer window, if the window is too narrow and area settings are hidden under a drawer, there is a problem:
When you select a figure, there is area settings: type and color (if color is chosen). If you try to click on the color of area fill, color chooser immediately disappears and you can't choose a color (you need to make window wide enough for unhide area color choose and then choose a color)

Version: 7.3.1.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Ubuntu package version: 1:7.3.1~rc3-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 1 Dieter 2022-03-31 05:11:06 UTC
Dmitry, thank you for reporting the bug. But it's not clear to me about which window and which area settings it is about. Could you please specify and add some steps to reproduce:

1. Open a document in writer
2. Format -> ...
...

=> NEEDINFO
Comment 2 Dmitry 2022-03-31 16:05:49 UTC
Created attachment 179240 [details]
example of hidden tools
Comment 3 Dmitry 2022-03-31 16:06:43 UTC
Steps to reproduce:
1. Open a document in Writer
2. Create any figure with drawing tools (a rectangle for example)
3. Remain a figure selected
4. Resize a window to make some tools in the panel (the second panel at the top) hidden (tools for setting a color of area fill)
5. Try to choose a fill color
The panel with colored squares will disappear immediately (but must remain shown)
Comment 4 Dieter 2022-04-01 06:15:20 UTC
I can't confirm it with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: e8c95b796626cb9db163f5d563fa67f38a5e92b0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

I click on the two arrows on the right side of the toolbar and hidden elements of the toolbar appear. Now I can choose a fill colour without any problem.
Comment 5 Dmitry 2022-04-01 07:29:59 UTC
The bug is in Linux version (7.1, 7.2.6, 7.3.1), but in 6.4.7 there is no bug
Comment 6 Dieter 2022-04-01 07:43:51 UTC
(In reply to Dmitry from comment #5)
> The bug is in Linux version (7.1, 7.2.6, 7.3.1), but in 6.4.7 there is no bug

So I hope, a Linux user can help.
Comment 7 Buovjaga 2022-12-22 12:13:26 UTC

*** This bug has been marked as a duplicate of bug 144585 ***
Comment 8 Dmitry 2023-02-20 21:03:02 UTC
Created attachment 185502 [details]
Screencast of the bug

Bug 144585 does not resolve the problem with VCL gtk3 (x11). Popups hide right after they appear if they are hidden with drawer in classic interface mode
Comment 9 Dmitry 2023-02-20 21:04:40 UTC
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: 50(Build:3)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: gtk3 <- !!!
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Ubuntu package version: 1:7.5.0~rc3-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 10 Buovjaga 2023-02-21 07:31:41 UTC
Bibisected with linux-64-7.1 to  bed1bd821384f00ee02ec80594ee0fc4c5f15abe
allow tabbing between native widgets in floating windows
Comment 11 Caolán McNamara 2023-02-21 16:29:02 UTC
Happens with X, but not with wayland. Painful focus interaction.
Comment 12 Commit Notification 2023-02-21 19:57:44 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b05104facac18f40f34043be304f616530fc3a22

Resolves: tdf#148047 don't move focus if dropdown is active

It will be available in 7.6.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.
Comment 13 Caolán McNamara 2023-02-21 19:59:20 UTC
seems to work in trunk now, backport to 7-5 in gerrit
Comment 14 Commit Notification 2023-02-22 10:31:16 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/0ed7b3fe06168e66b8b8c2fca0307092bb69b3c7

Resolves: tdf#148047 don't move focus if dropdown is active

It will be available in 7.5.2.

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.
Comment 15 Buovjaga 2023-02-23 10:12:41 UTC
Verified

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e4fb37353e2f9f998c028319c5fa083bf3eaa4cc
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 16 Dmitry 2023-02-27 19:47:30 UTC
+Verified in LO 7.5.2(daily build)