Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marble-qt windowing issue & external_rules_command #1505

Open
intr-cx opened this issue Jul 27, 2024 · 1 comment
Open

Marble-qt windowing issue & external_rules_command #1505

intr-cx opened this issue Jul 27, 2024 · 1 comment

Comments

@intr-cx
Copy link

intr-cx commented Jul 27, 2024

First off, thank you for creating what has been my trusty window manager for years now.

I've been experiencing a strange issue launching Marble-qt. After launching, it would spawn a window, which is promptly frozen and detached from the rest of the stack. This window stays in the foreground and persists between desktops, obscuring a portion of the screen. Closing Marble-qt will remove this window again.

Upon further inspection, the issue is reproducible with Bspwm and a blank config. The same issue also exists on Dwm, except that Dwm still manages the window.

@Darukutsu figured out that setting the config value external_rules_command to any value (doesn't have to be an existing executable file) makes the issue go away.

bspwm version: 0.9.10
Marble-qt version: 24.05.2
Distro: Artix Linux

@ortango
Copy link

ortango commented Aug 3, 2024

marble-qt seems to create and destroy 2 windows before the actual window is spawned.
what seems to be going on is that running right into manage_window() when e_r_c is null causes bspwm to manage a window that is about to be destroyed when the main loop processes xcb events.

when e_r_c is not null it delegates manage_window to the next main loop with add_pending_rule. that should cause unmap_notify to remove the pending rule before it's mapped (i think). i wonder if there is a side effect of using this for e_r_c == n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants