Squashed scrollbars

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

Moderators: FranklinDM, Lootyhoof

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Squashed scrollbars

Unread post by Goodydino » 2018-09-04, 06:36

What makes scrollbars too narrow in some themes? I have tried trading scrollbars.css and global.css from other themes which have wide scrollbars and it does no good.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1651
Joined: 2018-06-08, 17:02

Re: Squashed scrollbars

Unread post by therube » 2018-09-04, 11:08

I'll babble...

Something like there are two types of full themes
Some, "Classic" in SeaMonkey speak, are fine
Others, "Modern" in SeaMonkey speak, are affected this way

Long standing bug (in SeaMonkey).
(Not finding the associated bug, at present.)


(New Tobin Paradigm, I would think could say this more succinctly.)
Last edited by therube on 2018-09-04, 11:09, edited 1 time in total.

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

Re: Squashed scrollbars

Unread post by Lootyhoof » 2018-09-04, 11:45

Don't see any problems here, on any themes with custom scrollbars. Taking your Halloween theme for example, on macOS:

Image
Off-topic:
You should use display:none on the #titlebar on macOS for your theme, to remove those weird caption buttons in non-private/persona windows. I'd usually suggest something like this:

Code: Select all

/* ensure titlebar on privacy windows is of correct size */
#titlebar {
  height: 22px;
}

/* ensure extra titlebar doesn't appear on normal (e.g. non-privacy) windows */
#main-window:not([privatebrowsingmode=temporary]):not(:-moz-lwtheme) > #titlebar > #titlebar-content > #titlebar-buttonbox-container,
#main-window:not([drawintitlebar=true]):not(:-moz-lwtheme) > #titlebar {
  display: none;
}

#titlebar-spacer {
  display: none;
}

#titlebar-buttonbox-container {
  margin-left: 7px;
  margin-top: 3px;
}

#main-window:-moz-lwtheme > #titlebar {
  -moz-appearance: none !important;
}

#titlebar-close {
  -moz-box-ordinal-group:1;
}

#titlebar-max {
  -moz-box-ordinal-group:2;
}

#titlebar-min {
  -moz-box-ordinal-group:3;
}
Last edited by Lootyhoof on 2018-09-04, 11:47, edited 1 time in total.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1651
Joined: 2018-06-08, 17:02

Re: Squashed scrollbars

Unread post by therube » 2018-09-04, 12:18

You need to increase / decrease the page zoom level to see the affect.


https://addons.palemoon.org/addon/halloween/

Well, that's scary ;-).

On my end, on install, scrollbar did not display at all.
(On the particular page I reopened to. [And that is due to the particular zoom level for the page.])
Ctrl++ got it to display, then subsequent Ctrl++'s cause the scrollbar to enlarge (incorrectly).


Might have a look on bugzilla.mozilla.org -> SeaMonkey end, for scrollbar size related bugs.
(I didn't find it offhand.)


This Bug 1066934 FF32: Skinned scrollbars thumb disappear upon scrolling a page at specific zoom percentage (different between FF themes) is marked as Fixed on the FF end, so there must be a similar bug on the SeaMonkey end...
Last edited by therube on 2018-09-04, 12:36, edited 6 times in total.


Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: Squashed scrollbars

Unread post by Goodydino » 2018-09-04, 16:40

I have added the suggested code to browser.css in Halloween.

I was not talking about the scrollbars in Halloween. They are fine. If I put Halloween's scrollbar images & stylesheet into the theme I am working on, the scrollbars are narrower than they should be. This does not seem to affect an in-page box like code, but it does affect the scrollbar for the whole page. I was not zooming the page.

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: Squashed scrollbars

Unread post by Goodydino » 2018-09-04, 17:43

I found the cause: it was tabbox.css causing the problem. I substituted that from another theme and the scrollbars returned to normal.

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

Re: Squashed scrollbars

Unread post by Lootyhoof » 2018-09-04, 18:10

Off-topic:
Goodydino wrote:I have added the suggested code to browser.css in Halloween.
I would advise instead you make OS-specific versions of that file and put it in the OS X one. If you put that in the main browser.css it will surely break Windows entirely.

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: Squashed scrollbars

Unread post by Goodydino » 2018-09-04, 22:15

I put your code into a Darwin browser.css, but I did not put much in for Linux and nothing for Windows, since I have very little knowledge of those. Is that enough?

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

Re: Squashed scrollbars

Unread post by Lootyhoof » 2018-09-04, 22:16

That would work. :thumbup:

prosecco

Re: Squashed scrollbars

Unread post by prosecco » 2018-09-23, 17:19

therube wrote:You need to increase / decrease the page zoom level to see the affect.


https://addons.palemoon.org/addon/halloween/

Well, that's scary ;-)


The page zoom level should have nothing to do with it. It should just work with the default zoom level.

prosecco

Re: Squashed scrollbars

Unread post by prosecco » 2018-09-23, 17:23

Goodydino wrote:What makes scrollbars too narrow in some themes? I have tried trading scrollbars.css and global.css from other themes which have wide scrollbars and it does no good.
Those ultra-narrow scrollbars have been a big problem to me since I started using Linux, years ago. I find them everywhere, not just in Pale Moon and they seem to be standard. And I don't get it, in Windows they look normal (or what's normal to me anyway - a scrollbar which doesn't require all your attention when you use a touchpad rather than a mouse).

Thehandyman1957

Re: Squashed scrollbars

Unread post by Thehandyman1957 » 2018-09-23, 19:09

I'm not sure if this could help, but I use NewScrollbars (aka NoiaScrollbars) 1.2.8
And it give me all sorts of options.
Screenshot - 9_23_2018 , 12_03_18 PM.png
Perhaps that could help fix the issue? :think:

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: Squashed scrollbars

Unread post by Goodydino » 2018-09-23, 19:53

I solved my problem by substituting tabbox.css. What I do not understand is why something that is supposed to control the appearance of tabs would have any effect on scrollbars.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1651
Joined: 2018-06-08, 17:02

Re: Squashed scrollbars

Unread post by therube » 2018-09-23, 21:55

Pale Moon scrollbar size at various zoom levels; minimal, default, maximal.
Now it might be a different issue then what you were looking at, but there is an underlying issue that affects themes more generally.
Attachments
Palemoon Scrollbar Size in a Theme based on Zoom Level - min default max.png
Last edited by therube on 2018-09-23, 21:58, edited 3 times in total.

Locked