Can't resize Dockwindows Undocked in Ubuntu and other distros.
I have a case where intermittently I lose the ability to resize dock windows of type "Toolbar". Application uses libgdl and I am the author.
The application has a dock that when dragged away from the application, pops out into a toolbar window. Normally that window can be dragged around via the title bar or resized by dragging the corners.
When the bug occurs (seemingly related to multi-monitor changes with a projector) we lose the ability to drag or resize windows that are undocked from the main window.
I ran xwininfo --all on situations where the bug happened, and when the bug was not present. Major difference that sticks out is missing Extents for the broken case.
I'll attach each file separately but in case someone doesn't want to download them, the diff I'll paste below.
diff working_xwinifo not_working_xwininfo 0a1 > 5c6 < xwininfo: Window id: 0x2602e19 "Camera Dock" --- > xwininfo: Window id: 0x1e031e8 "Camera Dock" 7,8c8,9 < Root window id: 0x1da (the root window) (has no name) < Parent window id: 0xd833a7 (has no name) --- > Root window id: 0x1d8 (the root window) (has no name) > Parent window id: 0x1d8 (the root window) (has no name) 10c11 < 0x2602e1a (has no name): () 1x1+-1+-1 +1354+116 --- > 0x1e031e9 (has no name): () 1x1+-1+-1 +1159+102 12,17c13,18 < Absolute upper-left X: 1355 < Absolute upper-left Y: 117 < Relative upper-left X: 5 < Relative upper-left Y: 29 < Width: 716 < Height: 568 --- > Absolute upper-left X: 1160 > Absolute upper-left Y: 103 > Relative upper-left X: 1160 > Relative upper-left Y: 103 > Width: 715 > Height: 566 23c24 < Colormap: 0x2600006 (installed) --- > Colormap: 0x1e00006 (not installed) 30,31c31,32 < Corners: +1355+117 -489+117 -489-395 +1355-395 < -geometry 716x568+1350+88 --- > Corners: +1160+103 -1325+103 -1325-411 +1160-411 > -geometry 715x566+1160+103 44d44 < FocusChange 58,59c58 < Process id: 23939 on host REDACTED < Frame extents: 5, 5, 29, 5 --- > Process id: 2390473 on host REDACTED 62c61 < Program supplied minimum size: 517 by 352 --- > Program supplied minimum size: 613 by 353 68a68,69 > >