Scrollbar missing from suggested results when typing in URL

User Help for Mozilla Firefox
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Scrollbar missing from suggested results when typing in URL

Post by ALAKTORN »

This pic shows the problem: https://i.imgur.com/uA8VU0h.png There are more results below Anime Planet but I can’t browse them properly due to a missing scrollbar (mouse wheel doesn’t work).

Started happening ever since I upgraded to Quantum, I think. Idk if it matters but my userChrome.css:
#context-back image,
#context-forward image,
#context-reload image,
#context-stop image,
#context-bookmarkpage image{
display:none !important;
}

#context-back:before,
#context-forward:before,
#context-reload:before,
#context-stop:before,
#context-bookmarkpage:before{
content: attr(aria-label) !important;
-moz-margin-start:31px !important;
}
#context-navigation{
-moz-box-orient: vertical !important;
}
#context-navigation > .menuitem-iconic {
-moz-box-pack: start !important;
}

#PopupAutoCompleteRichResult .autocomplete-richlistbox {max-height:300px!important;height:auto!important}
#PopupAutoCompleteRichResult .autocomplete-richlistitem[actiontype="visiturl"]{display:none!important}
#PopupAutoCompleteRichResult .autocomplete-richlistitem[actiontype="searchengine"]{display:none!important}
#context-sep-sendpagetodevice,
#context-sendpagetodevice { display:none!important; }
#menu_unsortedBookmarks { display: none !important; }
#BMB_unsortedBookmarks { display: none !important; }
#menu_mobileBookmarks { display: none !important; }
#BMB_mobileBookmarks { display: none !important; }
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: Scrollbar missing from suggested results when typing in

Post by dfoulkes »

Start by restarting Firefox in safe-mode to see what happens...

Try running Firefox in safe-mode... NOTE: This is a testing procedure only ... NOT for normal browsing.
-- On the menu bar, click the Help menu and select Restart with Add-ons Disabled....
Firefox will start up with the Firefox Safe Mode dialog. Click continue in Safe Mode and don't check any items.

Note: You can also start Firefox in Safe Mode by holding down the shift key while Single/Double clicking on the icon.
* (option key while starting Firefox on Mac).

-----------------------------------------------------------------------------------------
>What safe-mode does ..... Safe Mode temporarily affects the following:
* All extensions are disabled. --- * The userChrome.css and userContent.css files are ignored.
* The default theme is used, without a persona. --- * The default toolbar layout is used.
* The Just-in-time (JIT) JavaScript compiler is disabled. --- * Hardware acceleration is disabled.

-- Safe Mode has no effect on the following --
* The status of plugins is not affected.
* Custom preferences are not affected.

This is the link to the main KB article for Safe-Mode ... but, use the above info 1st...
Safe Mode - MozillaZine Knowledge Base

If no change then test with a new unaltered profile.
Creating a new Firefox profile on Windows - MozillaZine Knowledge Base
And,.... DON'T TOUCH THAT "Choose Folder..." BUTTON! ... unless you fully know all about it.

Doing either of those two test should point out if Firefox is the issue or ??? ... post back with your findings.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Re: Scrollbar missing from suggested results when typing in

Post by ALAKTORN »

Still missing in safe mode: https://i.imgur.com/GQNegrX.png

And I assume ignoring my userChrome.css makes it so the list of suggested items goes down all the way to the bottom of the screen.
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Scrollbar missing from suggested results when typing in

Post by Frank Lion »

ALAKTORN wrote:Still missing in safe mode
You say 'missing', but are you 100% sure that 58 has a scrollbar there by default? They have a history of not putting them in other places.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Re: Scrollbar missing from suggested results when typing in

Post by ALAKTORN »

Frank Lion wrote:
ALAKTORN wrote:Still missing in safe mode
You say 'missing', but are you 100% sure that 58 has a scrollbar there by default? They have a history of not putting them in other places.
Well I have no idea, why the hell wouldn’t it have one? I think the problem started with Quantum though so it might just be a Quantum bug.
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: Scrollbar missing from suggested results when typing in

Post by dfoulkes »

Sorry. I read your 1st post and thought that your css code was causing the issue. So I started up my version 58 and did the same testing that you did... and I got just that one line too.... no additional info about that site... like you did. So, I also started up in safe mode...same problem. I'm not much up on the latest Firefox so others who are will hopefully come along and help resolve this issue. I also searched the add-ons page to see if I could fine anything that would help... no dice.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: Scrollbar missing from suggested results when typing in

Post by Aris »

@ALAKTORN

Set about:config > browser.urlbar.maxRichResults to 50 for example and add this code to your userChrome.css:

Code: Select all

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistbox {
  max-height: 300px !important; /* your value from OP */
  height: auto !important;
}

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] scrollbox{
  overflow-y: auto !important;
}
Showing scrollbar works up to Firefox 60, but the box won't autoscroll with keyboard keys (up/down). The mouse and mouse wheel on the other hand do the job.
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Re: Scrollbar missing from suggested results when typing in

Post by ALAKTORN »

^Thank you! That worked.
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Re: Scrollbar missing from suggested results when typing in

Post by ALAKTORN »

Aris wrote:@ALAKTORN

Set about:config > browser.urlbar.maxRichResults to 50 for example and add this code to your userChrome.css:

Code: Select all

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistbox {
  max-height: 300px !important; /* your value from OP */
  height: auto !important;
}

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] scrollbox{
  overflow-y: auto !important;
}
Showing scrollbar works up to Firefox 60, but the box won't autoscroll with keyboard keys (up/down). The mouse and mouse wheel on the other hand do the job.
This doesn’t work anymore. I now get a similar result as this: https://i.imgur.com/GQNegrX.png except the suggestions don’t even extend to the end of the screen despite the “scrollbox” extending that far (although they did before I tried tinkering some stuff myself and going back to what it was).

Help?

Edit: Changing

Code: Select all

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistbox {max-height:300px!important;height:auto!important}
to

Code: Select all

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistbox {max-height:300px!important;height:300px!important}
fixed the infinitely-long box thing, but I still get no scrollbar. I suspect

Code: Select all

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] scrollbox{overflow-y: auto !important;}
needs to be rewritten some other way as it’s currently just being ignored or something? Not sure how to rewrite it myself, though.
User avatar
jscher2000
Posts: 11742
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Scrollbar missing from suggested results when typing in

Post by jscher2000 »

Could you try adding:

Code: Select all

  /* Firefox 66 */
  #PopupAutoCompleteRichResult .autocomplete-richlistbox {
    overflow-y: auto !important; 
  }
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: Scrollbar missing from suggested results when typing in

Post by Aris »

Try this to restore the scrollbar:

Code: Select all

#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] > richlistbox {
  overflow-x: hidden !important;
}
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] > richlistbox,
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] scrollbox,
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] > .autocomplete-richlistbox {
  overflow-y: auto !important;
}
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Re: Scrollbar missing from suggested results when typing in

Post by ALAKTORN »

^Thank you, that worked!
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Re: Scrollbar missing from suggested results when typing in

Post by ALAKTORN »

So… FF 68.0 messed this up again. The suggestions go down to the bottom of the screen again, with no scrollbar. This is what I currently have:

Code: Select all

#PopupAutoCompleteRichResult .autocomplete-richlistitem[actiontype="visiturl"]{display:none!important}
#PopupAutoCompleteRichResult .autocomplete-richlistitem[actiontype="searchengine"]{display:none!important}
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistbox {max-height:250px!important;height:250px!important}
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] > richlistbox {
  overflow-x: hidden !important;
}
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] > richlistbox,
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] scrollbox,
#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] > .autocomplete-richlistbox {
  overflow-y: auto !important;
}
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: Scrollbar missing from suggested results when typing in

Post by Aris »

This should work in FX68+:

Code: Select all

/* show scrollbar if needed */
#urlbar-results > .urlbarView-body-outer {
  overflow-x: hidden !important;
}

#urlbar-results > .urlbarView-body-outer,
#urlbar-results scrollbox,
#urlbar-results > .urlbarView-body-outer {
  overflow-y: auto !important;
}
ALAKTORN
Posts: 22
Joined: July 5th, 2015, 8:52 am

Re: Scrollbar missing from suggested results when typing in

Post by ALAKTORN »

^Doesn’t seem to be working… still get suggestions to the bottom of the screen with no scrollbar.
Post Reply