Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 7.0.0-beta1
-
None
Description
If I set the session manager up to restore the last session up on startup, and that session is the "default" session:
...the session "looses" the breakpoints entries
The .qws file is rewritten on startup with empty values for breakpoints. Only after that, they are restored from the (now rewritten) .qws file and are of course empty.
Note: This does does also happen with ActiveMode, ProjectTree.ExpandData, etc. Basically with all values that are listed under valueKeys in the .qws file. For some reason, Bookmarks escape that fate, as they get restored prior to the .qws rewriting.
Note 2: After reporting this, I realized that this issue occurs depending on which plugins are loaded. I reproduce the issue when launching Q Creator with -noload all -load CMakeProjectManager -load Android -load QmakeProjectManager. When launching the default set of plugins, the order of the initial empty-default.qws rewriting and restoring from default.qws is different, and the Breakpoints, ActiveMode, etc. are successfully restored :/
Should we prevent the default.qws from being rewritten during startup?
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-25268 Creator looses all bookmarks
-
- Reported
-