Custom Controls in Classic Control Bar   [SOLVED] - View the solution

This forum is fully dedicated to Panotour / Panotour Pro bug reports as well as feature discussion.
no avatar
nickd
New member
 
Topic author
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 28, 2016 6:57 pm
Info

Custom Controls in Classic Control Bar

by nickd » Fri Jun 22, 2018 1:30 am

I've created a custom Classic Control Bar that uses custom icons for each control. The problem is that after I save the project and close the Panotour Pro 2.5.12, I open the project and the custom controls icons revert back to Classic Control Bar icons. I then have to add my custom Classic Control Bar into the project, that shows the correct icons, and delete the old custom classic control bar. Display and Tooltips Style sections do not change back to default, only the available controls icons. This happens every time and is very annoying. Is there a way to work around this issue so that I don't have to reconfigure the custom control bar every time I open the project?

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Custom Controls in Classic Control Bar

by bdd » Fri Jun 22, 2018 8:37 am

nickd wrote:I've created a custom Classic Control Bar that uses custom icons for each control.


Did you create a new plugin or a skin for this plugin ?
http://www.kolor.com/wiki-en/action/vie ... ins_Folder

If you created a plugin, did you changed the ID inside the plug_info.xml file ?

Gérald

no avatar
nickd
New member
 
Topic author
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 28, 2016 6:57 pm
Info

Re: Custom Controls in Classic Control Bar

by nickd » Sat Jun 23, 2018 12:06 am

The way I created the plugin is I've opened the user directory and copied the classicControlBar into the folder. I then renamed the folder classicControlBarRevised. I've replaced the default icons with my own icons and went into plug_info.sml and replaced the "name". Do I need to create a new plugin id? Currently I use the same name controlBar_classic. There is also a theme2.tmpl file which I don't remember if I made any changes to this file.
The toolbar works correctly except for the loss of custom icons when opening the project.

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Custom Controls in Classic Control Bar  [SOLVED]

by bdd » Mon Jun 25, 2018 12:48 pm

Yes, you should change the ID too.
Because when you open the project, we will search for the plugin with the ID storde in the project. So if 2 plugins use the same ID, it will take the first one found.
In your case, it is the one with the "old" icons.

Gérald

no avatar
nickd
New member
 
Topic author
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 28, 2016 6:57 pm
Info

Re: Custom Controls in Classic Control Bar

by nickd » Tue Jun 26, 2018 12:05 am

That fixed it. Thank you.


Who is online

Users browsing this forum: No registered users and 2 guests

cron