Bug 160250 - Conditional formatting edit dialog keeps moving down and to the right (kf5)
Summary: Conditional formatting edit dialog keeps moving down and to the right (kf5)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KDE, KF5 Dialog-Remember-Settings Conditional-Formatting-Editing
  Show dependency treegraph
 
Reported: 2024-03-17 22:05 UTC by Dan Dascalescu
Modified: 2024-03-18 06:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2024-03-17 22:05:17 UTC
1. Open a sheet with several conditional formatting rules.
2. Go to Format -> Conditional -> Manage
3. Edit a rule. Notice the position of the "Conditional formatting for..." range.
4. Click the mouse in the range box to make the position more obvious in the next step.
5. Press Enter to close the dialog.
6. Edit another rule.
7. Notice how the mouse is above the range box.
Comment 1 Stéphane Guillou (stragu) 2024-03-18 03:08:00 UTC
No reproduced in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 39663a323c3330c18b610fcdc9e9c75ddac770f1
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Which operating system and VCL plugin?
Comment 2 Dan Dascalescu 2024-03-18 03:25:39 UTC
Fedora Linux 38 KDE spin, kf5 (cairo+wayland)
Comment 3 Stéphane Guillou (stragu) 2024-03-18 04:51:03 UTC
Interestingly, I can reproduce with kf5 (cairo+xcb) in a recent trunk build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 39663a323c3330c18b610fcdc9e9c75ddac770f1
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

The dialog keeps moving down until it touches the display's edge.

But with kf5 (cairy+wayland) and gtk3, it only moves once to a different position to the one I set, but it stays there on subsequent opens.
Comment 4 Stéphane Guillou (stragu) 2024-03-18 05:41:51 UTC
No need to go through the Manage dialog, can be seen by repeatedly doing right-click > Conditional Formatting.

Already reproduced in 6.4.0.3.

No repro for gen VCL plugin.
Comment 5 Michael Weghorn 2024-03-18 06:50:59 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Interestingly, I can reproduce with kf5 (cairo+xcb) in a recent trunk build:
> 
> Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 39663a323c3330c18b610fcdc9e9c75ddac770f1
> CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: en-AU (en_AU.UTF-8); UI: en-US
> Calc: CL threaded
> 
> The dialog keeps moving down until it touches the display's edge.

This might be the same as tdf#137471.

> But with kf5 (cairy+wayland) and gtk3, it only moves once to a different
> position to the one I set, but it stays there on subsequent opens.

This might be Wayland not allowing to access and control screen positions/coordinates by design.