Sometimes it turns on full screen when turned on

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
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!
jisoohero

Sometimes it turns on full screen when turned on

Unread post by jisoohero » 2018-02-11, 05:30

my linux version :
Linux lifebook 4.15.2-041502-generic #201802072230 SMP Wed Feb 7 22:40:11 UTC 2018 i686 i686 i686 GNU/Linux

my kernel version:
4.15.2-041502-generic
(it was same on 4.13)

my Pale Moon version :
27.7.2~repack-1

i'm using xubuntu 16.04.3

Sometimes it turns on full screen when turned on like this screenshot
스크린샷_2018-02-11_14-24-58.png
Last edited by jisoohero on 2018-02-11, 05:37, edited 2 times in total.

hobbledehoy899

Re: Sometimes it turns on full screen when turned on

Unread post by hobbledehoy899 » 2018-02-11, 05:51

Was the browser in full screen mode when it was last closed?

jisoohero

Re: Sometimes it turns on full screen when turned on

Unread post by jisoohero » 2018-02-11, 10:48

hobbledehoy899 wrote:Was the browser in full screen mode when it was last closed?
i was watching youtube with full screen then i powered off my computer without closing palemoon
when i turned on palemoon again it wasasking me to restore lastest taps with full screen

New Tobin Paradigm

Re: Sometimes it turns on full screen when turned on

Unread post by New Tobin Paradigm » 2018-02-11, 11:03

HTML 5 Full Screen is a hack on Browser Full Screen in Mozilla browsers.. I think most browsers.. So this is to be expected.. Not sure there is anything we can do about it except never remember full screen state after the browser is closed... Dunno.. Will have to be evaluated.

tooshorttoolong
Fanatic
Fanatic
Posts: 137
Joined: 2017-09-11, 14:28

Re: Sometimes it turns on full screen when turned on

Unread post by tooshorttoolong » 2018-02-11, 12:46

jisoohero wrote: i was watching youtube with full screen then i powered off my computer without closing palemoon
when i turned on palemoon again it wasasking me to restore lastest taps with full screen
Xfce kills all apps brutally when you do that which is why Palemoon thinks it has crashed. You unfortunately need to close all apps one by one if you want them to exit normally.
Last edited by tooshorttoolong on 2018-02-11, 12:47, edited 1 time in total.

hobbledehoy899

Re: Sometimes it turns on full screen when turned on

Unread post by hobbledehoy899 » 2018-02-11, 17:55

New Tobin Paradigm wrote:Not sure there is anything we can do about it except never remember full screen state after the browser is closed...
I thought that it was normal for applications to remember options like that?

New Tobin Paradigm

Re: Sometimes it turns on full screen when turned on

Unread post by New Tobin Paradigm » 2018-02-11, 18:00

hobbledehoy899 wrote:
New Tobin Paradigm wrote:Not sure there is anything we can do about it except never remember full screen state after the browser is closed...
I thought that it was normal for applications to remember options like that?
It is but then html 5 happened.

hobbledehoy899

Re: Sometimes it turns on full screen when turned on

Unread post by hobbledehoy899 » 2018-02-11, 18:06

New Tobin Paradigm wrote:It is but then html 5 happened.
I don't quite see the problem; HTML5 full screen is still full screen.

Walter Dnes
Astronaut
Astronaut
Posts: 650
Joined: 2015-07-30, 20:29
Location: Vaughan, ON, Canada

Re: Sometimes it turns on full screen when turned on

Unread post by Walter Dnes » 2018-02-12, 03:30

New Tobin Paradigm wrote:HTML 5 Full Screen is a hack on Browser Full Screen in Mozilla browsers.. I think most browsers.. So this is to be expected.. Not sure there is anything we can do about it except never remember full screen state after the browser is closed... Dunno.. Will have to be evaluated.
I did some testing on a couple of test profiles. In each profile is a file "xulstore.json". It begins with something like
{"chrome://browser/content/browser.xul":{"main-window":{"width":"951","height":"1052","screenX":"0","screenY":"0","sizemode":"normal"},
which remembers the size from the last time the browser was closed.

I did some tweaking and testing of xulstore.json, and found the following. I run ICEWM. Things may differ on other Window managers
  • setting "width" and "height" and "sizemode" parameters works
  • the pixel counts include only the "window content". It does not include title bar, or frame, etc. Setting "width":"951","height":"1052" allows me to place 2 browser windows side-by-side exactly filling a 1920x1080 monitor screen
  • under ICEWM, at least, it does not honour "screenX" and "screenY"
I suppose one could
  • open up Pale Moon and drag the window edges to just the right size
  • close Pale Moon
  • cp xulstore.json xulstore.template
  • write a wrapper script which executes "cp xulstore.template xulstore.json" before launching
This would set the desired size, but not the location of the window. "sizemode" can be either of "normal" or "fullscreen".
There's a right way
There's a wrong way
And then there's my way

New Tobin Paradigm

Re: Sometimes it turns on full screen when turned on

Unread post by New Tobin Paradigm » 2018-02-12, 05:21

Off-topic:
Go home Dnes, grown ups are talking.

Locked