Palemoon window resize limit

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
milkman6453

Palemoon window resize limit

Post by milkman6453 » 2014-09-08, 22:21

Hello, Im an old user returning to Palemoon. When I used the program a few months ago i remember being able to re-size the window to just a small strip, pretty much just the top bar would be visible.

I use a program called winroll for this.

With the latest version of palemoon i noticed it can only be rolled up to about a half inch from the bottom of the bookmarks toolbar.

Is there a setting i can change for the window to be able to further rolled up?

mikeysc

Re: Palemoon window resize limit

Post by mikeysc » 2014-09-09, 01:53

I know you won't like this answer, but that's what the minimize button is for.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8884
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Palemoon window resize limit

Post by New Tobin Paradigm » 2014-09-09, 03:36

I know what he is talking about.. MozCo changed that so that the main navi toolbar cannot be hidden anymore via window sizing. I am not entirely sure when this was implemented but IMO it was the right call..
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29251
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Palemoon window resize limit

Post by Moonchild » 2014-09-09, 08:07

Tobin, if you can find which bug this was changed in (I've had no luck), I can see if it's possible to make an override for people who want to use roll-up tools.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29251
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Palemoon window resize limit

Post by Moonchild » 2014-09-09, 10:25

Because the Navigation bar is a special case, resizing is restricted to more than just the title bar. but you can reduce the height to its absolute minimum (title bar + nav bar) by putting the following in userChrome.css:

Code: Select all

#main-window {
  min-height: 30px !important;
}
Reducing further is not possible, but it should save you more space.

EDIT: The window size restriction is there for a very good (security) reason, and as long as your roll-up tool tries to use a simple (automated) resize of the window to reduce its height, it will resize down to what is the allowed lower limit and no further as a result of this restriction.

If your tool would do it a different way, not trying to resize but actually changing the window at a lower level in the operating system, then it would likely work better. There are, unfortunately, very few programs that do it this way because it is a lot more complicated and requires in-depth knowledge of the Microsoft UX library. According to my chat with Tobin, Windowblinds can do it the way you prefer, but e.g. Actual Window Manager can't.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8884
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Palemoon window resize limit

Post by New Tobin Paradigm » 2014-09-09, 11:11

This change was first introduced in Gecko/17 (Released as Firefox 17 in November 2012). I have found the common code that allows it to happen but finding a seemingly orphaned bug that actually implemented it in the browser specific code is like finding a needle in a haystack.. For all I know the code was always present but the bug I found actually made it work as intended.

Sorry but that just seems to be how it is.. Besides the minimum height is there for a reason.

As a result of this intensive searching without yielding any results coupled with quite likely intended behavior, I am going to, in typical Mozilla style, consider this:

RESOLVED WONTFIX

But not for lack of trying ;)
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

milkman6453

Re: Palemoon window resize limit

Post by milkman6453 » 2014-09-09, 23:22

The experimental version of Aurora does allow this, perhaps they forgot of the security implications.
Thanks for looking into it!!

Locked