https://bugs.documentfoundation.org/show_bug.cgi?id=162620

            Bug ID: 162620
           Summary: 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.
           Product: LibreOffice
           Version: 24.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to