Jump to content
sit

Tabs reset after restart of Plastic

Recommended Posts

Hello,

When I close Plastic SCM (Windows 10, 9.4.16.918), all the Tab-arrangements are lost (e.g. custom branch explorer tabs, but also the order of the workspace tabs). Reinstallation didn't help.

Why is this behaviour, and what can be done to persists the custom Tab-arrangements?

 

Share this post


Link to post
Share on other sites

Hi @sit,

the tab arrangements are stored at the "C:\Users\<your_user_name>\AppData\Local\plastic4\guivisualstate.xml" file.

It's an XML file where you can see the views opened for each workspace, the order they appear at the file is the order the GUI will open them. The group GUID is the workspace GUID:

<Group Name="7657ea99-49b7-42fd-9c71-3e5d3309f302" SelectedView="0">

You can get your workspace guid by running:

cm lwk --format="wkpath:{2};wkguid:{3}"

Can you check if the information is correctly stored in your guivisualstate file? Can you also try the same using the latest Plastic 6 release?

The custom branch explorer view are stored at the guivisualstate.xml file as well. This is how one of them looks like:

        <View X="0" Y="0" Width="0" Height="0">
          <Visible>false</Visible>
          <ViewInfo xsi:type="CustomBranchExplorerViewInfo">
            <Type>BranchExplorer</Type>
            <RepSpec>
              <Server>catacroquer@cloud</Server>
              <Name>Quake</Name>
            </RepSpec>
            <CaptionKey>BREX_ON_REP</CaptionKey>
            <MountPoint>00000000-0000-0000-0000-000000000000</MountPoint>
            <MountPointId>56e62dd7-241f-41e9-8c6b-dd4ca4513e62</MountPointId>
            <BranchQuery>find branch on repository 'Quake@catacroquer@cloud'</BranchQuery>
            <Branches>
              <guid>803100bd-2854-4fe3-a38a-46640c9cb698</guid>
              <guid>61863b45-c02e-4edb-8028-b3ca0faef7c5</guid>
            </Branches>
            <Changesets />
            <BranchFlags>None</BranchFlags>
          </ViewInfo>

 

 

Share this post


Link to post
Share on other sites

Hello manu,

Thanks for your reply.

It seems that the software fails to save the settings. I attached the guivisualstate.xml.

Unfortunately I cannot update to Plastic 6 due to company policies...

 

guivisualstate.xml

Share this post


Link to post
Share on other sites

Wow, yes, the guivisualstate file is completely broken...

Once the GUI recreated it started working fine?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×