Page 1 of 1

Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 05:30
by jisoohero
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

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 05:51
by hobbledehoy899
Was the browser in full screen mode when it was last closed?

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 10:48
by jisoohero
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

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 11:03
by New Tobin Paradigm
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.

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 12:46
by tooshorttoolong
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.

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 17:55
by hobbledehoy899
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?

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 18:00
by New Tobin Paradigm
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.

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-11, 18:06
by hobbledehoy899
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.

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-12, 03:30
by Walter Dnes
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".

Re: Sometimes it turns on full screen when turned on

Posted: 2018-02-12, 05:21
by New Tobin Paradigm
Off-topic:
Go home Dnes, grown ups are talking.