MozillaZine

Set sizes for windows in SM 2.53

User Help for Seamonkey and Mozilla Suite
Anonymosity
 
Posts: 8607
Joined: May 7th, 2007, 12:07 pm

Post Posted February 29th, 2020, 3:53 pm

How do I set the size for the browser window and the messenger window for SM 2.53? I tried doing that with userChrome.css, but I cannot get that to work. Also, I want to change the size of the bookmark folder list when something is to be bookmarked. Apparently, the element name of that has changed.

ElTxolo

User avatar
 
Posts: 2532
Joined: July 30th, 2007, 9:35 am
Location: Localhost

Post Posted March 1st, 2020, 8:24 am

Anonymosity wrote:How do I set the size for the browser window and the messenger window for SM 2.53? I tried doing that with userChrome.css, but I cannot get that to work. Also, I want to change the size of the bookmark folder list when something is to be bookmarked. Apparently, the element name of that has changed.

    Image You could use the file xulstore.json, that is inside the SeaMonkey profile folder.


    Code: Select all
    {"chrome://navigator/content/navigator.xul":{"main-window":{"width":"1359","height":"707","screenX":"0","screenY":"1","sizemode":"normal"}

    "chrome://messenger/content/messenger.xul":"messengerWindow":{"screenX":"0","screenY":"3","width":"1358","height":"705","sizemode":"normal"}










    Cheers!!! Image
How to Ask Questions The Smart Way - How to Report Bugs Effectively ;)
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20200426 SeaMonkey/2.53.2
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20200529 SeaMonkey/2.53.4

therube

User avatar
 
Posts: 20356
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted March 1st, 2020, 8:25 am

I gather you had been doing that in 2.49?
What was the code you used there?
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Anonymosity
 
Posts: 8607
Joined: May 7th, 2007, 12:07 pm

Post Posted March 2nd, 2020, 12:12 am

I was not doing that with 2.49. I found that using min-width and min-height for main-window works and max-width and max-height works with messengerWindow. I am gradually coming to grips with this new version.

Justinh
 
Posts: 239
Joined: November 13th, 2004, 7:03 pm
Location: Alabama

Post Posted March 8th, 2020, 6:25 am

I'm cornfused. Why can't you just drag the window border to resize it, like any other application window?

And what is 'messenger'? I can't find it in the UI or the documentation.

Anonymosity
 
Posts: 8607
Joined: May 7th, 2007, 12:07 pm

Post Posted March 8th, 2020, 12:29 pm

I believe SeaMonkey was ignoring the settings in xulstore.json because of the setting "privacy.resistFingerprinting" being set to true. I could drag the windows to the size I wanted, but I had to do that every time I relaunched the application. The messenger window is the window that handles email and newsgroups.

Justinh
 
Posts: 239
Joined: November 13th, 2004, 7:03 pm
Location: Alabama

Post Posted March 8th, 2020, 12:34 pm

SM on Windows remembers the window size from the previous session. I didn't realize Mac didn't do this kind of thing.

Anonymosity
 
Posts: 8607
Joined: May 7th, 2007, 12:07 pm

Post Posted March 9th, 2020, 10:52 am

MacOS does usually keep track of window sizes. I can set the size of most windows and have them stay the same. Somehow resisting fingerprinting was overriding the window sizes for SM as well as producing a weird user-agent.

therube

User avatar
 
Posts: 20356
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted March 10th, 2020, 11:19 am

AFAIK, [Mozilla] browsers do not retain their sizing.
They may, for a period of time.
Or particular windows may retain their sizing (at least for a period of time).
But at some point, they'll resize on you.
(I'm speaking of multiple windows here, dozens or more.)


(Similar to how they also do not retain relative position along the [Windows] taskbar when [re]opened from Session Restore. Only the first window retains its position. Others will not. [SeaMonkey 2.4.x was the last browser that I know of that did retain taskbar positions.])
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Justinh
 
Posts: 239
Joined: November 13th, 2004, 7:03 pm
Location: Alabama

Post Posted March 10th, 2020, 4:36 pm

Typical Windows behavior is the last (browser) window to be closed sets the size and position of the next (browser) window that is created. Or, the last created will determine a relative position (with the same size) for the next one. My window size and position never changes on its own. I usually use only one browser window, but I am careful to close my primary last so that it is where I want it next time I open it.

Return to SeaMonkey Support


Who is online

Users browsing this forum: No registered users and 2 guests