leukipp / cortile

Linux auto tiling manager with hot corner support for Openbox, Fluxbox, IceWM, Xfwm, KWin, Marco, Muffin, Mutter and other EWMH compliant window managers using the X11 window system. Therefore, this project provides dynamic tiling for XFCE, LXDE, LXQt, KDE and GNOME (Mate, Deepin, Cinnamon, Budgie) based desktop environments.
https://github.com/leukipp/cortile-addons
MIT License
589 stars 19 forks source link

[Bug] Since v2.3.0, tiling area margin only applies to primary monitor #27

Closed KaKi87 closed 9 months ago

KaKi87 commented 11 months ago

Which means that windows on my secondary monitors are covered by my taskbar.

Thanks

leukipp commented 10 months ago

Actually the edge_margin property is intended to be used to "unhide" desktop information's (e.g. conky infographics), which are generally only rendered on the primary screen.

Static taskbars on primary and/or/across secondary screens should be recognized and factored into the internal desktop dimension calculation, without the need to use edge_margin . Please provide screenshots, run cortile with cortile -v and check the first view log outputs for differences in "Screens" (full monitor) and "Desktop" (tiling area) dimensions.

KaKi87 commented 10 months ago

provide screenshots

On both versions, windows are positioned in disregard of the taskbar on every monitor when not using edge_margin :

run cortile with cortile -v

Here's v2.2 :

INFO[2023-12-03T22:09:31+01:00] Starting [cortile v2.2.1-23db49d, built on 2023-08-02T19:45:29Z] 
INFO[2023-12-03T22:09:31+01:00] Connected to X server [Mutter (Muffin)]      
INFO[2023-12-03T22:09:31+01:00] Screens [[(0, 0) 1920x1080] [(1920, 0) 1920x1080] [(3840, 0) 1920x1080]] 
INFO[2023-12-03T22:09:31+01:00] Desktops [[(0, 0) 1920x1080] [(1920, 0) 1920x1080] [(3840, 0) 1920x1080]] 
INFO[2023-12-03T22:09:31+01:00] Ignore pinned window [Nemo-desktop]          
INFO[2023-12-03T22:09:31+01:00] Ignore pinned window [Nemo-desktop]          
INFO[2023-12-03T22:09:31+01:00] Ignore pinned window [Nemo-desktop]

Here's v2.3 :

INFO[2023-12-03T22:10:02+01:00] Starting [cortile v2.3.0-7c42aea, built on 2023-10-30T19:21:08Z] 
INFO[2023-12-03T22:10:02+01:00] Connected to X server [Mutter (Muffin)]      
INFO[2023-12-03T22:10:02+01:00] Using primary screen [DisplayPort-0]         
INFO[2023-12-03T22:10:02+01:00] Using primary screen [DisplayPort-0]         
INFO[2023-12-03T22:10:02+01:00] Screens [{84 DisplayPort-0 false [(0, 0) 1920x1080]} {85 DisplayPort-1 true [(1920, 0) 1920x1080]} {87 HDMI-A-0 false [(3840, 0) 1920x1080]}] 
INFO[2023-12-03T22:10:02+01:00] Desktops [{84 DisplayPort-0 false [(0, 0) 1920x1080]} {85 DisplayPort-1 true [(1920, 0) 1920x1080]} {87 HDMI-A-0 false [(3840, 0) 1920x1080]}] 
INFO[2023-12-03T22:10:02+01:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Nemo-desktop] 
INFO[2023-12-03T22:10:02+01:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Nemo-desktop] 
INFO[2023-12-03T22:10:02+01:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Nemo-desktop]

Thanks

leukipp commented 9 months ago

For some reasons the panel auto-detection doesn't seem to work under Mutter.

They are now two config entries, edge_margin and edge_margin_primary with the latest release. This should give everyone the desired flexibility. Feel free to reopen if you encounter any other problems.

KaKi87 commented 9 months ago

panel auto-detection doesn't seem to work under Mutter

Don't you intend to fix it ?