¿ªÔÆÌåÓý

Locked making panes stay sized linux


 

Group:

Using Raspberry PI (Raspbian) with JMRI I'd like to size the WiThrottle pane large enough to show 10 or so throttles... No keyboard or mouse running "headless" so I can't resize on the fly.

If re-sized and JMRI closed and restarted yes.,.. power down and restarted no. With Raspbian (or Mint 19.2) JMRI doesn't remember... Anyone working ?on this? Reason is I want to see/show non tech savvy club members just what's going on with their WiThrottle server throttles. I have a Pi with a nice large display attached...

I can do that on my Mac using prefs while on the pane and saving while there and that then works nicely.

Jim Albanowski


 

Jim,

I'm currently looking into aspects of this - initially focused on coping with multi-monitor environments.

This is mostly being tracked via issue #7598 on GitHub:?

Best regards,

Matt H


Randall Wood
 

JMRI saves window locations and sizes (and most other preferences) only when it is allowed to exit nicely--this avoids having JMRI constantly write changes, which may be undesirable on slower media (like SD cards in a Raspberry Pi).

Allow JMRI to quit completely, then shutdown the Rasp. Pi, and you will not see this.


 

Randall:

Not working for me on either my Pi 3B+/Raspbian Stretch or a PC running Mint 19.2 Cinnamon. Could this be an OS issue? I'll try a Pi4 and Buster later...

Open the WiThrottle server and resizing the pane to be wider and very deep, open prefs, save, quit JMRI and restart machine. On reopening the server the pane is small default window.

However on a Mac running Catalina same procedure allows the pane to stay resized. Haven't tested on PC with Win10 yet.

Jim Albanowski


 

Randall, Matt:

Got to try my Pi4 running Buster and yes the same process I used on the Mac now works on the Pi.

So now I need to update the Pi3 and see if Buster works the same there... Video controller in the mix..? We'll see, but that will be a few days.

Gee isn't this computer thing so simple...

Jim Albanowski


 

Jim
Just tried on my Pi 3 and didnt see the problem, set the wifi server window to the size you want, close it, reopen it.. it it correct?
How is the server being started, via an open action of just by setting a preference to start server?
Which version of Jmri are you using, as this was a problem a while back.
Steve G.


 

Steve:

Thanks for asking on version... Brain was not processing that I was looking at 4.15.5 not 4.17.5 on that particular Pi... With Buster and the 4.17.5 the WiThrottle server pane is now sticky...

So moral of this story... being current is a good thing....

So next is to get 4.17.5 on the the Pi at the club that I really want the large pane on... That will be a few days to get there with time to process the change(s)... First I'll put 4.17.5 on and see if Stretch is happy and I don't have to go to Buster.

By the way, while you can upgrade your Pi online it's a many step process and you have to sit next to it with a lot of replies... Far easier to burn new image to ?SD... I would use the included Pi copier and copy the working image to a USB drive and then (we need to figure this out) copy the needed material to the new image. If Steve's Pi-JMRI that should only be the roster unless you've customized your Pi with at least being able to control the screen saver (xscreensaver) and new (railroad appropriate) wallpaper.

I hope I don't need to do that with Stretch being happy... stay tuned sports fans...

Jim Albanowski