Page 1 of 1

[RESOLVED] sort order of list of sites

Posted: Sun Dec 05, 2010 7:27 am
by austyg
The pop-up list of sites to "Allow", "Temporarily allow", etc. puts the primary site at the bottom of the list. Is there a way of flipping this order so the primary site shows at the top of the list?

Thank you :)

Re: sort order of list of sites

Posted: Sun Dec 05, 2010 9:21 am
by Giorgio Maone
Why?
Which widget are you using to open the popup (status bar icon, notification bar, toolbar button)?

Re: sort order of list of sites

Posted: Mon Dec 06, 2010 2:15 am
by austyg
Giorgio Maone wrote:Why?
Which widget are you using to open the popup (status bar icon, notification bar, toolbar button)?
--I often find my self clicking "Temporarily allow" for the site I visit. If it's at the bottom of the popup list, sometimes I have to use scroll bar to see and click the site---it would be more practical if it were at the top of the list.

--I use 2 widgets frequently to open the popup: a) status bar icon, and b) notification bar.

Thank you :)

Re: sort order of list of sites

Posted: Mon Dec 06, 2010 3:18 pm
by Giorgio Maone
austyg wrote: If it's at the bottom of the popup list, sometimes I have to use scroll bar to see and click the site
If you use the status bar icon, most of the time the popup should appear above said icon, therefore the main site should be the most reachable item.
Are you saying you mostly get the popup below the icon?
Anyway, a future release should check whether the popup appears above or below the mouse pointer and automatically decide the list positions in order to make the main site as near as possible to your current position.

Re: sort order of list of sites

Posted: Tue Dec 07, 2010 2:24 am
by austyg
Giorgio Maone wrote: If you use the status bar icon, most of the time the popup should appear above said icon,
It does.
Giorgio Maone wrote: therefore the main site should be the most reachable item.
It is not. If the list has many sites, then a scroll bar appears in the list, and the main site is ALWAYS at the bottom of the scroll.
Giorgio Maone wrote: Are you saying you mostly get the popup below the icon?
No. The popup is always correct, whether I click on the "Notification bar", or the status bar icon.

The problem is not "where the list pops up". No. The problem is this:
When there are many sites listed in the popup list, a scroll bar appears in the list, and

the main site is ALWAYS at the bottom of the scroll. <-- the problem

To be clear, if I may, there is no problem with a scroll bar popping up in the list either. No. The problem is:

the main site is ALWAYS at the bottom of the scroll.

It would be much easier to use if the main site is the first in the popup list . . . because it's the first one the user wants to "Temporarily allow", or "Allow", etc.

Ideally---to make NoScript even more pleasurable to use---the sites below the main site would be sorted in order of relevance to content desired: the sites serving content images would come below the main site, then below those would be the sites tracking clicks or "Quantserv.com", then below that the sites that are merely advertisement ... etc., etc.

Thank you for your replies---I'm glad to provide suggestions for enhancements and/or report problems. :)

Re: sort order of list of sites

Posted: Tue Dec 07, 2010 11:51 am
by Giorgio Maone
I don't think I've ever seen a scroller in a popup menu.
Maybe it's Gnome-specific widgetry?
Could you show me a screenshot?
Would the menu autoscrolling to the bottom when opened help with your use case?

Re: sort order of list of sites

Posted: Tue Dec 07, 2010 3:29 pm
by Alan Baxter
Giorgio Maone wrote:I don't think I've ever seen a scroller in a popup menu.
I've never seen a scroll bar, but the menu has a tiny scroll arrow at each end if it has too many entries to fit on the computer screen -- just like the context menu and the bookmarks menu if they contain too many entries.

Try visiting a site like foxnews.com with Full Domains and Full Addresses displayed. Temporarily allow foxnews.com. The resulting NoScript menu is too long to fit all the entries on the screen and displays tiny scroll arrows at each end. Autoscrolling to the bottom would be helpful.

Re: sort order of list of sites

Posted: Wed Dec 08, 2010 4:16 am
by austyg
Giorgio Maone wrote: I don't think I've ever seen a scroller in a popup menu.
Maybe it's Gnome-specific widgetry?
Possibly. Yes, Gnome is the GUI here.
Giorgio Maone wrote: Could you show me a screenshot?
http://i.imgur.com/jFYia.jpg
Notice the main site is http://www.tmz.com, but its URI is hidden at the bottom of the scroll.
Giorgio Maone wrote: Would the menu autoscrolling to the bottom when opened help with your use case?
I suppose it would help . . . as long as it doesn't get stuck down there, or defeat the scroll up/down functionality . . . because scrolling is necessary.

Thanks for replying :)

Re: sort order of list of sites

Posted: Sun Dec 19, 2010 9:07 pm
by Giorgio Maone
austyg wrote:
Giorgio Maone wrote: Would the menu autoscrolling to the bottom when opened help with your use case?
I suppose it would help . . . as long as it doesn't get stuck down there, or defeat the scroll up/down functionality . . . because scrolling is necessary.
Done in latest development build.

Re: sort order of list of sites

Posted: Mon Dec 20, 2010 11:42 pm
by austyg
Giorgio Maone wrote: Done in latest development build.
Ooops . . . I installed dev. build version 2.0.9rc2, but new problems happen:
Giorgio Maone wrote: Would the menu autoscrolling to the bottom when opened help with your use case?
-- this is not happening. Pop-up list is still opening the way it did before, with the scroll bar pegged to the top of the list.

-- the "Notification" bar that shows messages about blocked scripts fails to show up.

Thanks for the attempt. :)

Re: sort order of list of sites

Posted: Tue Dec 21, 2010 12:11 am
by Giorgio Maone
austyg wrote:-- this is not happening. Pop-up list is still opening the way it did before, with the scroll bar pegged to the top of the list.
This if the menu is opened from a toolbar on the top of the browser.
If the menu is opened from the bottom (status/addon bar), it should automatically scroll on the bottom.
In both case, the nearest command should be "Allow [toplevel.site.com]".
austyg wrote: -- the "Notification" bar that shows messages about blocked scripts fails to show up.
It's working fine for me.
Could you try on a clean profile?

Re: sort order of list of sites

Posted: Tue Dec 21, 2010 2:40 am
by Alan Baxter
Giorgio Maone wrote: This if the menu is opened from a toolbar on the top of the browser.
If the menu is opened from the bottom (status/addon bar), it should automatically scroll on the bottom.
In both case, the nearest command should be "Allow [toplevel.site.com]".
Autoscrolling is is working correctly for me too on Windows XP, NoScript 2.0.9rc2, from both the status bar and tool bar icons.
Note that OP is using Firefox/3.5.2. I'm using Fx 3.6.13.
austyg wrote: -- the "Notification" bar that shows messages about blocked scripts fails to show up.
The notification bar doesn't show up for me either on http://www.foxnews.com/
Default NoScript settings, no other extensions.

Edit: Error Console message, repeated four times is:

Code: Select all

Error: node is null
Source file: chrome://noscript/content/noscriptOverlay.js
Line: 1264

Re: sort order of list of sites

Posted: Tue Dec 21, 2010 9:49 am
by austyg
Giorgio Maone wrote:This if the menu is opened from a toolbar on the top of the browser.
Version 2.0.9.rc2 is not showing any "NoScript" toolbar or icon on the top of the browser---even when the settings for NoScript are enabled to show "Notifications" toolbar at the top of the browser. By the way, be careful to prevent breaking next release of NoScript---notice the following posting to this thread:
Alan Baxter wrote:The notification bar doesn't show up for me either on http://www.foxnews.com/
Default NoScript settings, no other extensions.

Edit: Error Console message, repeated four times is:

Code: Select all

Error: node is null
Source file: chrome://noscript/content/noscriptOverlay.js
Line: 1264
, , ,
Giorgio Maone wrote:If the menu is opened from the bottom (status/addon bar), it should automatically scroll on the bottom.
Version 2.0.9.rc2 is not doing it here: --- Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-1.1 Firefox/3.5.2

Thanks for the tweaks. :)

Re: sort order of list of sites

Posted: Tue Dec 21, 2010 4:17 pm
by Giorgio Maone
austyg wrote:
Giorgio Maone wrote:If the menu is opened from the bottom (status/addon bar), it should automatically scroll on the bottom.
Version 2.0.9.rc2 is not doing it here: --- Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-1.1 Firefox/3.5.2
This looks like a Fx 3.5.x bug, I can reproduce it on Windows but there doesn't seem to be anything I can do about it.

For the rest, please check latest development build.