4 Replies Latest reply on Apr 27, 2017 10:26 PM by JohnFu

    Toolbars in PIW file do not remember their settings

    JohnFu

      Hi there,

       

      I am using PI ProcessBook 2015 R2 Version 3.6 and knew it has solved the toolbar setting issue, but only in PI ProcessBook (Procbook.exe), not in any PIW file which is opened by Pbshell.exe.

      For example, I built a Routine.PIW file, and when I open it, it looks like that:

      Then I change the toolbar like that:

      Then I close it and reopen it, the toolbar setting is back to it original arrangement. It is really annoying.

       

      BTW: even in ProcessBook, the fixing is not satisfactory. Everytime when I open it, the Time Range Toolbar is off from its original place:

       

      I don't know if I was doing something wrong or OSIsoft needs to adrress these issues again. Any suggention would be the most appreciated!

       

      BR

       

      John

        • Re: Toolbars in PIW file do not remember their settings
          cclouse

          Hi John,

           

          I am sure you are familiar with the following KB article:

           

          26354OSI8 - ProcessBook Browser and Playback toolbars do not remember their settings

           

          I believe you are encountering a limitation discussed briefly in the article above:

           

          "NOTE: This issue has been addressed in PI ProcessBook 2015 R2. The Browser and Playback toolbars now remember if they are hidden and where they are docked (top, bottom, left, or right) however, due to a limitation in the libraries used to develop these toolbars, exact positions cannot be remembered."

           

          Currently, only the toolbar type and it's relative location (top, bottom, left, or right) are saved. I do not believe this is slated to be fixed in a future release.

          • Re: Toolbars in PIW file do not remember their settings
            JohnFu

            Thanks Crosby,

            I knew that KB article. Is the fixing only for Browser and Playback toolbar? I want to hide Layout, Symbolformatting, VBA and Fullscreen toolbar, and arrange tool bar like this:

            But everytime when I reopen my .piw file, the toolbar is back to the original like this:

             

            ProcessBook seems OK for remembering toolbar settings.

             

            Thanks

             

            John

              • Re: Toolbars in PIW file do not remember their settings
                cclouse

                I just tested this on my local machine and it appears to save/load the toolbar settings as intended while opening a file using pbshell.exe. I have tested this using both .piw and .pdi files with similar results. ProcessBook.exe and pbshell.exe should remember which toolbars are hidden/visible but they will not remember the exact location of the toolbars. This should apply to all toolbars and not only Playback and Browser. 

                 

                In the past toolbar issues could be resolved by closing ProcessBook, renaming the toolbar configuration file, and then re-opening ProcessBook. I doubt this would work in your case because ProcessBook seems to be remembering the toolbar settings when opening a file within the application, but it wouldn't hurt. I can chat with a ProcessBook product specialist to see if they've encountered this issue before.

                  • Re: Toolbars in PIW file do not remember their settings
                    JohnFu

                    Hi Crosby,

                    Many thanks for your reply. I tried to rename "PBToolbarConfig.ini", still got the same results:

                    1. Open .PIW file using pbshell.exe (double click .PIW file), give me the original toolbar arrangement.

                    2. Open ProcessBook from start menu, I got the right toolbar arrangement.

                     

                    One thing I noticed is that when I first ran ProcessBook, then double-clicked my .PIW file, its toolbar arrangement was right, the same as ProcessBook toolbar arrangement. I guess that you got the right arrangement just because you didn't close ProcessBook before you double-clicked .PIW or .PDI file. Could you try to close all PI applications, then run your .PIW file?

                     

                    Thanks

                     

                    John