codelite icon indicating copy to clipboard operation
codelite copied to clipboard

CodeLite does not remember navigation bar show/hide state

Open UffeJakobsen opened this issue 5 years ago • 11 comments

CodeLite does not remember navigation bar show/hide state between restarts

Navigation bar state is remembered between workspace switches within the same codelite "run" When codelite is quit and run again - it does not remember the navigation bar state

Previously reported in CL13 issue #2279

(CodeLite 14, AachLinux)

UffeJakobsen avatar Mar 02 '20 16:03 UffeJakobsen

This is a preventive action - this issue is still valid. I'm making this comment to prevent the "stale bot" from closing it It seems to be a bad idea to have en automatic bot close issues

UffeJakobsen avatar Apr 16 '20 09:04 UffeJakobsen

I am unable to reproduce this issue (at least on Windows)

eranif avatar Apr 17 '20 07:04 eranif

I just tested this on Ubuntu 18.04 - also seems to be working fine (i.e. it remembers the navigation bar state between restarts)

eranif avatar Apr 17 '20 08:04 eranif

hmm I'm facing this problem every time i start codelite 14.0

I did some more digging into the problewm and here is what I found:

It actually seems to have something to do with the way that I close codelite and its workspace

Here how to recreate the issue

  1. Open an existing workspace/project in codelite
  2. Make sure that the navigation bar is visible
  3. close the workspace/project (using the menu entry Workspace/Close workspace)
  • the sould bring you back to the startup screen with the quick access buttons opening existing workspaces and projects etc
  1. Quit codelite
  2. Start codelite (the goal here is not to let it load previous workspace/project)
  • That should bring you to the startup screen with the quick access buttons opening existing workspaces and projects etc
  1. select the workspace/project that you had opened in bullet 1)
  2. now the workspace/project is opened - but the navigation is not visible and have to be manually activated

Observation: If I just quit codelite without first closing the workspace/project then it will remember the navigation bar state - but that is not the way that I use codelite :-)

UffeJakobsen avatar Apr 17 '20 09:04 UffeJakobsen

This explains this. The "Close Workspace" action, hides the navigation bar. So when you close CodeLite - this is the state that get saved. A simple solution: when closing a workspace, the navigation bar should be "disabled" but not hidden

eranif avatar Apr 17 '20 09:04 eranif

That explains - I thought that the state was saved within the workspace/project :-)

UffeJakobsen avatar Apr 17 '20 10:04 UffeJakobsen

No, it's a global state

eranif avatar Apr 17 '20 10:04 eranif

ok, just hiding the nav bar (instead of disable) on the startup pane seems like a good solution to this issue :-)

UffeJakobsen avatar Apr 17 '20 10:04 UffeJakobsen

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (in 5 days). Thank you for your contributions.

stale[bot] avatar Dec 08 '20 10:12 stale[bot]

Manual "anti-stale-bot" comment to drag this issue out of stale state...

Could someone with the right level of access please put a "bug" label or something on this issue ? thanks

UffeJakobsen avatar Dec 08 '20 10:12 UffeJakobsen

Can confirm this with Enable localization enabled. The translated items on tabs, eg. 工作区(workspace in Chinese) on Workspace View, never show on the next startup. But it will remember the show state if Enable localization is disabled.

tuberry avatar Jan 01 '21 16:01 tuberry