Bug 162620 - Right-clicking "New Style" in an inactive LibreOffice Writer window on a secondary monitor opens the "New Style" menu in the active window on the primary monitor.
Summary: Right-clicking "New Style" in an inactive LibreOffice Writer window on a seco...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-25 04:12 UTC by Fabrice
Modified: 2024-09-09 03:15 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 Fabrice 2024-08-25 04:12:40 UTC
Description:
When multiple LibreOffice Writer windows are open across different monitors, right-clicking "New Style" in an inactive window (Window B) on a secondary monitor triggers the "New Style" menu in the currently active window (Window A) on the primary monitor. This unexpected behavior disrupts workflow by affecting the wrong document.

Steps to Reproduce:
1. Open two LibreOffice Writer windows (Window A and Window B).
2. Place Window A on your primary monitor and Window B on a secondary monitor.
3. In Window B, open the "Styles" side menu.
4. Focus back on Window A, making it the active window.
5. Without activating Window B, right-click on "New Style" in Window B.

Actual Results:
The "New Style" menu opens in Window A (the currently active window), not in Window B where the right-click action was performed.

Expected Results:
The "New Style" menu should open in Window B, the window where the right-click action was performed.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
* LibreOffice Version:

Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 12; OS: Linux 6.10; UI render: default; VCL: gtk3
Locale: fr-CA (en_CA.UTF-8); UI: en-US
Debian package version: 4:24.2.5-3+b1
Calc: threaded

* Operating System: Debian Trixie/Sid
* This issue occurs when using multiple monitors.
* The behavior is inconsistent with standard window focus handling, where actions in an inactive window should only affect that window.