-
Notifications
You must be signed in to change notification settings - Fork 61
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
birdtray does not detect thunderbird #443
Comments
xprop _NET_WM_NAME ? If this one is empty, then LeftWM is not NETWM-compliant. Feel free to change lines 127 and 128 in windowtools_x11.cpp accordingly. |
LeftWM is EWMH/NETWM compliant according to the github page |
Interesting. Can you add the line 165 in windowtools_x11.cpp right behind the // sheer desperation: // sheer desperation and recompile it and see what we see there? |
I guess you forgot a bracket there:
took me a second to realize it... Here is the log output. I censored not relevant output (where it tried to match other programs I have running.):
|
Seem to detect it, meaning it later rejects it in a normalcy check. Can you now change the line 376 (in the original file) as following:
(i.e. change the last argument true -> false) and give it a try? |
wow, that did the trick. works now! |
Good. Now let's figure out why it is not normal. Can you please check the following fields:
I suspect LeftWM might not be fully compliant; let's see where. |
that probably should look different?
EDIT: just to be complete. I forgot _NET_WM_WINDOW_TYPE which actually yields something for a change:
|
Yep. Unfortunately LeftWM isn't fully compliant with NETWM. |
Could you please show me how the results for the above commands should look like so I can report this upstream? |
The window types should be only set for modals. You will see the effect of this when Birdtray gonna hide Thunderbird popup dialogs. |
I've added an advanced setting to ignore it, please check. |
yes, this solves it. thank you again. |
just as a follow up in case anybody ever stumbles upon this for leftwm here and to be complete: leftwm actually does set _NET_WM_STATE as stated in the EWMH specs but only once a hint was added and not before. This case is actually not covered by the specs and therefore one could say that leftwm is compliant allthough it would be "nicer" if applications don't need to check the property to be set. here are the steps to reproduce these findings: 1.) start application e.g. $ xprop _NET_WM_STATE
_NET_WM_STATE: not found. 3.) enable fullscreen for application $ xprop _NET_WM_STATE
_NET_WM_STATE(ATOM) = now the property is set but empty as it should be. and also checking the property while e.g. being in fullscreen returns _NET_WM_STATE_FULLSCREEN as it should. |
When you maximize the window, doesn't it set _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ? And what about _NET_WM_WINDOW_TYPE? |
as far as I know leftWM doesnt have a "maximization" feature and therefore _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ are not really used from the wm but can be enabled/disabled/toggled manually using and the _NET_WM_WINDOW_TYPE is being set. Sorry I might have created some confusion before because I edited the post above a few minutes after writing them but you must not have seen my edit. this was the result:
|
Interesting; the presence of window type and the net state should be enough for birdtray. |
I have a similar issue, |
Same issue here with the same results you are seeing with those two commands.
|
OS: Manjaro Linux (x86_64 5.10.2-2 Kernel)
WM: LeftWM (bar with systray support: polybar)
Birdtray version: Birdtray version 1.9.0 compiled at Jan 3 2021 22:45:07 using Qt 5.15.2. using Qt 5.15.1
Thunderbird version: Thunderbird 84.0b3 (but same issues also with Thunderbird 78.6.0)
Birdtray origin: compiled from Sources according to README
Description
When starting birdtray thunderbird is started as expected but birdtray does not detect it. Thereby it is not possible to minimize thunderbird to the tray.
Expected behavior
I expected birdtray to detect thunderbird.
To Reproduce
Additional context
Thunderbird window name pattern in Advanced settings of Birdtray is set to: "- Mozilla Thunderbird" (and also removing the dash does not work. The window name pattern was copied and pasted to be sure it does not contain different chars)
Birdtray logs (goes on like this forever):
The text was updated successfully, but these errors were encountered: