Bug 159948 - Floating navigator window changes position/monitor while focus changes
Summary: Floating navigator window changes position/monitor while focus changes
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-28 20:20 UTC by Peter Gervai
Modified: 2024-03-13 18:42 UTC (History)
0 users

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 Peter Gervai 2024-02-28 20:20:51 UTC
Description:
(I have tried to search for this, found no matching issue, but I have realised that there are a large amount of similar issues about floating navigator. Feel free to join into one, if you think it's the same.)

Floating navigator doesn't handle well multiple open documents. It tries very hard to redraw, reposition, which combined with focus-follows-mouse can cause unenjoyable effects and slowdown, but that's kind of expected. (Unfloating it stops continuous redraw since then every window has its own navigator instead of one common window.)

However when I have multiple documents open on multiple monitors (xorg randr) and all of them have a floating navigator (in this mode all of the documents have one floating navigator which content is changed on every focus change) then navigator also changes window position, namely moved from the side of monitor1 (where the focus was) to the center of monitor2 (where the new focused document was). On further focus changes it seems to stay there. Moving it back, however, repeats the move on the next focus change again.


Steps to Reproduce:
1. open doc1 on monitor1, open floating navigator, move it to the right side
2. open doc2 on monitor2, open floating navigator, move it to the right side of monitor1 if it's not there
3. change focus between doc1 and doc2, and navigator may move to monitor2 middle when focusing doc2

Actual Results:
Navigator moves over the middle of monitor2

Expected Results:
It should keep size and position.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: 420(Build:3)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: hu-HU (en_US.UTF8); UI: en-US
Debian package version: 4:24.2.0-1
Calc: threaded

This is xorg 1.21.1.9, Xfce4 4.18
Comment 1 wjsim 2024-03-13 18:42:53 UTC
Hey there, I actually can't seem to reproduce it no matter how many times I shift the focus between the two undocked navigator menu. It always keeps the size and position for me on these versions:

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6a064b1967e06e40be40817deff99d00c1a8554f
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded