Scroll bar does not work correctly after setting all on a page to Temporarily TRUSTED and not closing the popup

Ask for help about NoScript, no registration needed to post
musonius
Master Bug Buster
Posts: 204
Joined: Sun Jul 08, 2018 5:38 pm

Scroll bar does not work correctly after setting all on a page to Temporarily TRUSTED and not closing the popup

Post by musonius »

Visit CNN.com (for example) and click at "Set all on this page to Temporarily TRUSTED" without closing the popup until the scroll bar appears. The scrollbar does not work well at this point: Just drag the scroll bar or use the scroll wheel of the mouse and it's quite obvious, the bar stops somewhere in the middle and, if you drag the bar with the mouse, the mouse cursor and the bare are not synchronous. After closing the popup and opening it again, everything works fine.

I have tested that with a clean profile of Firefox 98 (Windows 11) and a clean install of NoScript. CNN.com is just an example (there are so many trackers that the scrollbar appears after clicking the icon twice at most *SHUDDER*).

I can see that behavior in the current release (11.3.7) and developer build (11.3.8rc5). The bad behavior has not been introduced lately, because I still can see it in NoScript 11.1.1 while narrowing down when the problem begun. I have not tried earlier releases.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Scroll bar does not work correctly after setting all on a page to Temporarily TRUSTED and not closing the popup

Post by Giorgio Maone »

It's quite an annoying bug in Firefox's popup implementation. It doesn't happen on Chromium.
However the UI changes I've just implemented both provide a more ergonomic UX and should work-around this bug.

Please check latest development build:

v 11.3.8rc6
============================================================
x Sticky toolbar and scrollable fixed-height content in
browserAction popups

x Remove debug statements
x Use currentWindow instead of lastFocusedWindow to
initialize browserAction and its surrogate windows
x [XSS] Automatically reload page when clearing XSS choice
from popup
x [XSS] Enable "Clear XSS Choices" button only if some item
is selected
x More visual tweaks
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0
musonius
Master Bug Buster
Posts: 204
Joined: Sun Jul 08, 2018 5:38 pm

Re: Scroll bar does not work correctly after setting all on a page to Temporarily TRUSTED and not closing the popup

Post by musonius »

Giorgio Maone wrote: Sun Mar 13, 2022 10:27 pm Please check latest development build:

v 11.3.8rc6
============================================================
x Sticky toolbar and scrollable fixed-height content in
browserAction popups
Thank you, it works now as expected and the sticky toolbar is very welcome! 👍
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
Post Reply