Glitch in prev/next buttons in the "datepicker" component

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Please direct questions that are Mac or Linux-specific (dealing with installation and OS integration) to the appropriate Linux or Mac board.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions that are specific for Linux and Mac to the dedicated boards for those operating systems.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Locked
User avatar
back0rifize
Moonbather
Moonbather
Posts: 51
Joined: 2016-05-08, 02:26

Glitch in prev/next buttons in the "datepicker" component

Post by back0rifize » 2019-02-24, 01:19

Hello!

Since PM 28.0, I've found some bug: in the "datepicker" component, switching buttons for the previous/next months are "glitching" when onMouseOver() event fires. Here the pics of what am I talking about:

Normal:
Normal vision
Normal vision
Normal.png (5.25 KiB) Viewed 272 times
On mouse over:
Glitched vision (mouse over buttons)
Glitched vision (mouse over buttons)
Glitch.png (5.09 KiB) Viewed 272 times
Sorry, that screenshots are in "RU" locale, but it doesn't matter, what language is using.

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 2043
Joined: 2015-09-03, 19:47
Location: UA
Contact:

Re: Glitch in prev/next buttons in the "datepicker" component

Post by JustOff » 2019-02-24, 10:35

I confirm this, see Issue #981 (UXP).

UPD: Until this is fixed in the browser, you can work around it by adding the following lines to chrome.manifest:

Code: Select all

override chrome://global/skin/arrow/arrow-lft-hov.gif chrome://global/skin/arrow/arrow-lft.gif os=WINNT
override chrome://global/skin/arrow/arrow-rit-hov.gif chrome://global/skin/arrow/arrow-rit.gif os=WINNT
Here are the add-ons I made in a spare time. That was fun!

User avatar
back0rifize
Moonbather
Moonbather
Posts: 51
Joined: 2016-05-08, 02:26

Re: Glitch in prev/next buttons in the "datepicker" component

Post by back0rifize » 2019-02-24, 12:06

Thanks a lot! It's not critical to me, but I think I have to use your advice ;) .
Honestly, I thought that my extension has this bug, but I've looked through my *.css code and didn't see any strings of code, that could be a cause of problem.

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 2043
Joined: 2015-09-03, 19:47
Location: UA
Contact:

Re: Glitch in prev/next buttons in the "datepicker" component

Post by JustOff » 2019-02-24, 13:08

I think it may be helpful to share how I investigated this issue, so here it is:

1) Install DOM Inspector
2) Open CalenDate
3) Move the mouse over the prev button and press Ctrl+Shift+RightMouseButton to call DOM Inspector:
2019-02-24_14-20-32.png
4) Switch Object Viewer to CSS Rules:
2019-02-24_14-21-12.png
5) From the button context menu select Set Pseudo-classes:
2019-02-24_14-21-57.png
6) Enable :hover pseudo-class:
2019-02-24_14-22-32.png
7) Now we see that list-style-image has been changed:
2019-02-24_14-23-51.png
8) Try to open chrome://global/skin/arrow/arrow-lft-hov.gif and see it's missing:
2019-02-24_14-25-11.png
9) Open UXP Cross-Reference and search for arrow-lft-hov.gif:
2019-02-24_14-26-55.png
10) Next steps relate to the fix itself
Here are the add-ons I made in a spare time. That was fun!

User avatar
back0rifize
Moonbather
Moonbather
Posts: 51
Joined: 2016-05-08, 02:26

Re: Glitch in prev/next buttons in the "datepicker" component

Post by back0rifize » 2019-02-24, 13:53

Wow, THAT'S the spirit, sweetheart :D !
Honestly, I guessed that this glitch is in the PM (not in my extension), but as for me, it was a little bit lazy to go to the Mozilla Central DXR and find out a needed *.css.
Thanks again!

Locked