Bug 156403

Summary: LO assumes fullscreen or left tiled if using dual monitor with laptop, and the second monitor disconnected inbetween
Product: LibreOffice Reporter: Sahil Gautam <gautamsahil1947>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: gautamsahil1947, ilmari.lauhakangas
Priority: medium    
Version: 24.2.0.0 alpha0+   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Sahil Gautam 2023-07-20 17:20:42 UTC
system specs -> Arch Linux, Dwm, X11
monitor situation -> (hcl monitor | 1360x768) ---vga cable--- (laptop monitor | 1920x1080)

libreoffice on the laptop monitor. I run a xrandr script to set the left monitor on the left of the laptop display.

issue:

if the monitor is connected -> no wierd behaviour, but if i disconnect the hcl monitor(where the xrandr thinks it is still connected), then the dropdowns on the libreoffice topbar drop as if it was a full tile or asif it was on the left side. 

doesn't matter if libreoffice is tiled or floating, the dropdowns come down as if libreoffice was either a full tile on the screen or a tile on the left.

this wierdness goes away if the second monitor (hcl one ) is reconnected with the cable.

summary -> 
-> two monitors (<hcl | laptop> both connected --- normal behaviour
-> unplugged the second one --- libreoffice pretends to be the only tile or (the dropdowns come down as if the tile was on the left)
-> replugged the cable --- wierdness goes away.
Comment 1 Sahil Gautam 2023-07-20 17:23:34 UTC
There are a few of similar bugs, but either they are very old or they are a bit different. With common thing being that all are about filemenu dropdowns(1), and are using linux + xorg(2)
Comment 2 Buovjaga 2023-08-04 05:25:27 UTC
Please copy and paste here the contents of your Help - About by clicking the copy button. This allows us to know more about your system.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 3 Sahil Gautam 2023-08-05 11:52:31 UTC
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e2db54b9bf48b79802154d5fc9460fc432ea69a0
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded