¿ªÔÆÌåÓý

Locked Accessing new icons in Layout Editor


 

I am unable to get a new folder of icons.gif to work in LE.
I have searched the forum for other peoples similar issues and noted various recommendations.

I have put the icons in 5 different folders and in each case the icon editor shows them in the list but selecting one does not appear in the preview box or on LE.

I am using PanelPro 4.13.6 ish from Jenkins under Win10

My panel.xml (s) and profile are in a custom folder like
....\user\profile\etc

Here are the paths I have tried putting the new icons:
1? ?.. .\user\resources\icons\gwrsigs\manyicons
2? ... .\user\resources\gwrsigs\manyicons
3? ... .\user\icons\gwrsigs\manyicons
4? ... .\user\gwrsigs\manyicons
5???....\user\profile\resources\gwrsigs\manyicons?


 

I believe the expected path would be:

...\user\profile\etc\resources\icons\gwrsigs\manyicons

Meaning the resources tree is expected to be in the same directory as the
profile expects the user files to exist.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


 

Paul T,
I just had similar issue in a few threads back. Ken is right but my changes did not show up until I restarted PanelPro. Moving files then looking in PanelPro without a restart will not work.
Paul D


 

Ken, I tried that with same non-working result


 

Paul D,
Yes I restarted JMRI at each attempt. Not curing it though.


 

Paul T,

Does the icon selector at least show the second tree? This would mean it
found the starting 'resources\icons' in the user space. Just to make sure of
where it thinks what is, please do this:

1. Open PanelPro
2. Open the console (Help->System Console)
3. Scroll to the part of the log where it lists the paths to things. There's
about 5 or 8 lines of paths.
4. Copy/paste that into an email so we can see the listed paths.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


 

For Ken, here is most of the Sys Console listing so you can see the exact JMRI version in use

018-12-10 17:16:22,107 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - PanelPro version 4.13.6ish+jenkins+20181129T1747Z+R73e86a7 starts under Java 1.8.0_144 on Windows 10 x86 v10.0 at Mon Dec 10 17:16:22 GMT 2018 [main]
2018-12-10 17:16:25,388 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - Starting with profile Pseudo_Dartmouth_2018.3d91d743 [main]
2018-12-10 17:16:25,622 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using jmri-kxzmqdvtGhNiaaHk2CP_Jy-3d91d743 as the JMRI Node identity [AWT-EventQueue-0]
2018-12-10 17:16:25,919 net.NetworkDriverAdapter? ? ? ? ? ? ? INFO? - Connection complete with /192.168.1.134 [main]
2018-12-10 17:16:26,154 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is D:\JMRI\ [main]
2018-12-10 17:16:26,169 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is E:\My Docs\MR general\JMRI data & Docs\Pseudo_Dartmouth_2018\ [main]
2018-12-10 17:16:26,169 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is E:\My Docs\MR general\JMRI data & Docs\Pseudo_Dartmouth_2018\ [main]
2018-12-10 17:16:26,169 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\User\JMRI\ [main]
2018-12-10 17:16:26,169 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\User\ [main]
2018-12-10 17:16:26,169 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is D:\JMRI\jython\ [main]
?


 

Paul,

From your paths, your custom icons would be:

E:\My Docs\MR general\JMRI data & Docs\Pseudo_Dartmouth_2018\resources\icons

That should show from the second entry in the icon finder tool.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


 

Hi
Is this when adding the icon or editing it.
Adding had a problem which will be fixed in next test release or 4.13.7ish as off this morning.

Edit icon should work.

Steve G.


On December 10, 2018 7:11:38 AM EST, Paul Townsend <paultownsend49@...> wrote:
I am unable to get a new folder of icons.gif to work in LE.
I have searched the forum for other peoples similar issues and noted various recommendations.

I have put the icons in 5 different folders and in each case the icon editor shows them in the list but selecting one does not appear in the preview box or on LE.

I am using PanelPro 4.13.6 ish from Jenkins under Win10

My panel.xml (s) and profile are in a custom folder like
....\user\profile\etc

Here are the paths I have tried putting the new icons:
1? ?.. .\user\resources\icons\gwrsigs\manyicons
2? ... .\user\resources\gwrsigs\manyicons
3? ... .\user\icons\gwrsigs\manyicons
4? ... .\user\gwrsigs\manyicons
5???....\user\profile\resources\gwrsigs\manyicons?

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


 

Have you read the information at this link?
<>

It will help you understand the JMRI file structure.
--
Dave in Australia


 

Ken
I had already tried that, doesn't work.


 

Yes


 

Neither adding or editing work.
I will try again tomorrow with 4.13.7ish


 

By the time I got there JMRI test release 4.13.6 was available so I have tried this.
Now the add new icon with change icons enabled works as expected.? However edit existing icon still does not.

I am now running Jenkins 4.15.1ish and same fault shows, ie add custom icon is ok BUT edit is not.

I will submit this as a bug report


 

Steve G has pointed out that you use different techniques for adding or editing icons.
Now I know that, using drag&drop for edit works just fine.
Bug report closed.

Thanks to him and all others who helped get me over this hurdle.