Bug 147297 - Context menus and submenus open on other monitor (or disappear) when there's not enough space on the display LibreOffice is on
Summary: Context menus and submenus open on other monitor (or disappear) when there's ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wayland Multimonitor
  Show dependency treegraph
 
Reported: 2022-02-08 22:49 UTC by Hari Rana
Modified: 2023-07-27 10:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
LibreOffice maximized on first monitor with context menu open (4.89 MB, image/png)
2022-02-08 22:54 UTC, Hari Rana
Details
Windowed LibreOffice on first monitor with context menu open (8.36 MB, image/png)
2022-02-08 22:55 UTC, Hari Rana
Details
LibreOffice maximized on second monitor with context menu open (7.95 MB, image/png)
2022-02-08 22:56 UTC, Hari Rana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hari Rana 2022-02-08 22:49:15 UTC
Description:
Whenever I open context menus, LibreOffice will open the menus or submenus on my next monitor. Furthermore, LibreOffice opens context menus outside of the applications itself.

Steps to Reproduce:
1. Use Wayland
2. Open a context menu or submenu on the right side of the screen
3. Notice the menu opening up in the other monitor

Actual Results:
The context menu opens on the other monitor.

Expected Results:
The context menu should open in the same monitor. Furthermore, the context menu should be inside LibreOffice (like most apps) or halfway outside (like recent GNOME (GTK 4) apps), not completely outside.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
This only happens on context menus at the right hand side of LibreOffice. And this only happens in Wayland, not in X11 (or Xwayland).

I have only tested it on LibreOffice Flatpak.
Comment 1 Hari Rana 2022-02-08 22:54:13 UTC
Created attachment 178152 [details]
LibreOffice maximized on first monitor with context menu open
Comment 2 Hari Rana 2022-02-08 22:55:33 UTC
Created attachment 178153 [details]
Windowed LibreOffice on first monitor with context menu open
Comment 3 Hari Rana 2022-02-08 22:56:52 UTC
Created attachment 178154 [details]
LibreOffice maximized on second monitor with context menu open
Comment 4 Stéphane Guillou (stragu) 2022-12-01 11:12:47 UTC
I can reproduce with:

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 1a5d548b96d86ad7ca04c2b23dc18517a538a998
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

On an Ubuntu 20.04 Wayland session.

Can you please share the info in Help > About LibreOffice?
Thank you!
Comment 5 Stéphane Guillou (stragu) 2023-07-27 10:06:04 UTC
I also noticed the dropdown can entirely disappear in some cases, when there is a bit of space between the window and the edge between the two displays.

Reproduced in recent master build, as well as 6.2.0.