Sometimes it turns on full screen when turned on

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

jisoohero
Newbie
Newbie
Posts: 3
Joined: Sat, 09 Dec 2017, 03:41

Sometimes it turns on full screen when turned on

Unread postby jisoohero » Sun, 11 Feb 2018, 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 Sun, 11 Feb 2018, 05:37, edited 2 times in total.

User avatar
hobbledehoy899
Fanatic
Fanatic
Posts: 155
Joined: Wed, 27 Jul 2016, 23:18

Re: Sometimes it turns on full screen when turned on

Unread postby hobbledehoy899 » Sun, 11 Feb 2018, 05:51

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

jisoohero
Newbie
Newbie
Posts: 3
Joined: Sat, 09 Dec 2017, 03:41

Re: Sometimes it turns on full screen when turned on

Unread postby jisoohero » Sun, 11 Feb 2018, 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

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4673
Joined: Tue, 09 Oct 2012, 19:37

Re: Sometimes it turns on full screen when turned on

Unread postby New Tobin Paradigm » Sun, 11 Feb 2018, 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: 102
Joined: Mon, 11 Sep 2017, 14:28

Re: Sometimes it turns on full screen when turned on

Unread postby tooshorttoolong » Sun, 11 Feb 2018, 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 Sun, 11 Feb 2018, 12:47, edited 1 time in total.

User avatar
hobbledehoy899
Fanatic
Fanatic
Posts: 155
Joined: Wed, 27 Jul 2016, 23:18

Re: Sometimes it turns on full screen when turned on

Unread postby hobbledehoy899 » Sun, 11 Feb 2018, 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?

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4673
Joined: Tue, 09 Oct 2012, 19:37

Re: Sometimes it turns on full screen when turned on

Unread postby New Tobin Paradigm » Sun, 11 Feb 2018, 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.

User avatar
hobbledehoy899
Fanatic
Fanatic
Posts: 155
Joined: Wed, 27 Jul 2016, 23:18

Re: Sometimes it turns on full screen when turned on

Unread postby hobbledehoy899 » Sun, 11 Feb 2018, 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: 567
Joined: Thu, 30 Jul 2015, 20:29
Location: Vaughan, ON, Canada

Re: Sometimes it turns on full screen when turned on

Unread postby Walter Dnes » Mon, 12 Feb 2018, 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

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4673
Joined: Tue, 09 Oct 2012, 19:37

Re: Sometimes it turns on full screen when turned on

Unread postby New Tobin Paradigm » Mon, 12 Feb 2018, 05:21

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


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 8 guests