开云体育

Panel selection doesn't work #rpi


 

Pi 5 with bookworm, Java 17 and JMRI 5.10.? JMRI Panels have an item called Windows in the title bar.? When clicking on this item a drop own opens listing all the active JMRI panels.? Clicking on a panel name should bring that Panel to the foreground and mark it as the active panel but in the configuration listed nothing happens when clicking on a panel name.? There are? no messages in the system log.
Dale Gloer
Jack of all trades at home and Southern Alberta Model Railway


 

Dale, I see the same thing with my RPi-JMRI image, up-to-date Bookworm with 5.11.4. Have you tried it with earlier versions of either JMRI or Android OS? It would be helpful to know when this started.
Also, I suspect this is the same issue as you mentioned regarding Linking Labels.
?
Do any of the developers know where in the code this action is handled? I assume there is a call to some OS function for bringing a window into foreground/focus. I could do some debugging if I knew where to look.
?
Dale, you may find this gets more developer attention if you create a JMRI GitHub Issue.
?
--SteveT


 

Steve,

The code is at?java/src/jmri/jmrit/display/LinkingLabel.java, doMouseClicked().

Is this another Bookworm issue?


Dave Sand


----- Original message -----
From: "Steve Todd via groups.io" <mstevetodd=[email protected]>
Subject: Re: [jmriusers] Panel selection doesn't work #rpi
Date: Saturday, March 22, 2025 8:02 PM

Dale, I see the same thing with my RPi-JMRI image, up-to-date Bookworm with 5.11.4. Have you tried it with earlier versions of either JMRI or Android OS? It would be helpful to know when this started.
Also, I suspect this is the same issue as you mentioned regarding Linking Labels.
?
Do any of the developers know where in the code this action is handled? I assume there is a call to some OS function for bringing a window into foreground/focus. I could do some debugging if I knew where to look.
?
Dale, you may find this gets more developer attention if you create a JMRI GitHub Issue.
?
--SteveT


 

More likely a Wayland thing. One window manipulating anotherwindow.
Steve G.
?


 

Dave Sand,
Where is the code for the Windows menu click? I don't have any LinkingLabels for testing.
--SteveT?


 

Steve,

Here is a sample xml file.

Dave Sand


----- Original message -----
From: "Steve Todd via groups.io" <mstevetodd=[email protected]>
Subject: Re: [jmriusers] Panel selection doesn't work #rpi
Date: Saturday, March 22, 2025 9:17 PM

Dave Sand,
Where is the code for the Windows menu click? I don't have any LinkingLabels for testing.
--SteveT?