Desktop alerts (with nsIAlertService) not displaying with some themes

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4980
Joined: 2015-12-09, 15:45
Contact:

Desktop alerts (with nsIAlertService) not displaying with some themes

Unread post by moonbat » 2021-05-30, 07:18

When I use Noia or Kempelton or a few other themes, I can't see any desktop alerts. For example, my AutoPageColor extension now shows a slide in alert to confirm the settings change when you toggle alert display in its settings. When I use it to test with these themes, it doesn't display. Works fine with the default theme, and with Nauticalia (though it displays at the top right instead of the bottom right) and Moonscape.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1569
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Desktop alerts (with nsIAlertService) not displaying with some themes

Unread post by Lootyhoof » 2021-05-30, 11:23

Hm, odd. I was sure this used to work...

I'll have a dig and see what's up. As my themes generally use the same global stylings for most of them (though not Noia and other specialised themes) this will probably affect all of them.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4980
Joined: 2015-12-09, 15:45
Contact:

Re: Desktop alerts (with nsIAlertService) not displaying with some themes

Unread post by moonbat » 2021-05-30, 12:20

I should add that I'm also using GNotifier, which diverts these alerts into OS integrated alerts. It works fine with Moonscape (what I usually use) and with the default theme, but I was trying out these others and they didn't work.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1569
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Desktop alerts (with nsIAlertService) not displaying with some themes

Unread post by Lootyhoof » 2021-06-01, 20:58

OK, so it looks like it's an opacity thing with Linux. GTK doesn't like the animations that are in use (even though the default theme seems to do the exact same thing...?).

I'll get it fixed (by that I mean not have those animations on Linux).

Locked