-
Notifications
You must be signed in to change notification settings - Fork 98
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
Skype Integration legacy icon removal sometimes fail #45
Comments
Hello, Thank you for the report. To clarify:
I believe for some reason your wmClass is not exactly Skype. |
After starting Skype, could you give me the output of:
You will have to select the Skype contact window when the cross cursor shows up. |
Ok, thank you for the detailed information. ;-) I could reproduce the issue myself, but only once in a while. The cause is quite obscure to me, I have to investigate. |
One more thing: in the same timeframe (so maybe due to the same changes?), other applications started to fail to be TopIcon-ified. For example, Transmission doesn't get its TopIcon, and I have to restart Shell ( |
EDIT: Ignore more or less my previous answer if you got it. Again weirdness: on my 2 test machines, I can reproduce it only on Wayland and with either the legacy tray (Gnome on) or the topicons extension. It is strange because, if you can reload, it means you are on Xorg. Have you tried with the legacy tray only? |
It could be related to #42, by the way. |
Indeed. Thanks.
Yes I am running Xorg, I blacklisted Wayland because I need X for a few X-only tools I use (
If that's what you mean, I just tried disabling TopIcons (i.e. leaving Shell do its bottom-left corner job), and I couldn't get the Transmission icon to disappear like it happens with TopIcons; everything seems okay: Transmission's icon is always present in the bottom-left tray. |
see issue #47 for Transmission, sorry but it is not something we can fix. |
I pushed a fix attempt on the dev branch. And, wow, that was a stupid and obvious mistake of mine. So far it is working for me, could you please test as well? |
@phocean seems to work fine here too; closing this bug, will re-open if I run into problems. Thanks for the fix! |
I use TopIcons-plus as well as Skype Integration, which has a feature that was broken by TopIcons-plus commit b332127 "add center position". The now-broken feature is that Skype-Integration can hide Skype's legacy tray icon (because it adds a GNOME HIG-compliant indicator). So, being unable to hide the legacy tray icon and adding a new modern indicator nevertheless, I end up with two Skype "top-right icons": the legacy, and the modern one.
Looking at recent changes, it looks like this line of TopIcons-plus b3321279 is the culprit: it changes the icon
wm_class
with:... so
"Skype"
→"skype"
. Unfortunately, Skype-Integration legacy-icon hiding function checks on the capitalized"Skype"
string:→ I'd propose a patch removing this call to
.toLowerCase()
, but looking at b332127 I fail to understand why it's necessary in the first place. Is it / can we remove it? (Note: looking at the commit, I realize thiswm_class
de-capitalization code is not new, it was just extracted into a function. Anyway, maybe the class-changing was happening later / less frequently before b332127 or some changed logic now causes a race between TopIcons-plus and Skype-Integration; whatever: the end result is that I never had this problem until upgrading TopIcons-plus a few days ago, and now it's apparent)Thanks for the continued maintenance of the extension :)
The text was updated successfully, but these errors were encountered: