See #1150. All bugs have been fixed or deferred.
saveWindowState myLife.leo
1. Delete cache.2. Open single file in Leo.3. Change tab arrangement; specifically I moved "Tab" to the left of "Outline" and then dropped "Find", "Spell" and "Body" into "Tab". Then I moved the splitter to have "Body" at about 75% and "Outline" at 25%.4. Add some text to a node. Save the file.5. Close Leo.
Leo 6.0-devel, dock branch, build 99cc3c9b57
2019-05-29 07:12:16 -0500
Python 3.6.7, PyQt version 5.12.0linux
Leo 6.0-devel, dock branch, build 47865da36c
2019-05-29 08:33:31 -0500
Python 3.6.7, PyQt version 5.12.0
linux
Leo 6.0-devel, dock branch, build 99cc3c9b57
2019-05-29 07:12:16 -0500
Python 3.6.7, PyQt version 5.12.0linuxThanks. I'll have a look.
chris@technatica:~/leo-editor$ python3 ./launchLeo.py --trace=dock
setting leoID from os.getenv('USER'): 'chris'
Leo 6.0-devel, dock branch, build 47865da36c
2019-05-29 08:33:31 -0500
getImageFinder not found: /working/leo/leo-editor/leo/Icons/cleo/chkboxblk.png
qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 1153, resource id: 0, major code: 19 (DeleteProperty), minor code: 0
Autosave: Wed May 29 06:40:55 2019
wrote recent file: /home/chris/.leo/.leoRecentFiles.txt
setting leoID from os.getenv('USER'): 'chris'
Leo 6.0-devel, None branch, build 140aa9fef2
2019-05-28 11:48:22 -0500
restoreWindowState missing key: windowGeometry:/home/chris/Working/MegaSync/writing/Origins/Origins.db
qt.qpa.xcb:
QXcbConnection: XCB error: 5 (BadAtom), sequence: 1153, resource id: 0,
major code: 19 (DeleteProperty), minor code: 0
wrote /home/chris/.leo/leo.session
wrote recent file: /home/chris/.leo/.leoRecentFiles.txt
saveWindowState windowGeometry:/home/chris/Working/MegaSync/writing/Origins/Origins.db
saveWindowState windowState:/home/chris/Working/MegaSync/writing/Origins/Origins.db
chris@technatica:~/leo-editor$ python3 ./launchLeo.py --trace=cache,dock
setting leoID from os.getenv('USER'): 'chris'
===== Global Cache: Startup =====
File: /home/chris/Working/Websites/amazingsinging.ca/amazing.leo...
body_outline_ratio: 0.5
body_secondary_ratio: 0.5
current_position: 1,6,1
expanded: chris.20180715060504.1,chris.20180715060504.15,chris.20180715060504.16
marked:
window_position:
(
'0',
'0',
'1044',
'1920'
)
All others (Global Cache: Startup)...
__cache_pickle_protocol__: 2
open-leo-files:
[]
viewrendered_default_layouts:
(
None,
None
)
windowGeometry:/home/chris/Working/MegaSync/writing/Origins/Origins.db: AdnQywADAAAAAAAAAAAAAAAAB38AAAPwAAAAAAAAAAAAAAd/AAAD8AAAAAAAAAAAB4AAAAAAAAAA
AAAAB38AAAPw
windowState:
windowState:/home/chris/Working/MegaSync/writing/Origins/Origins.db
windowState:/home/chris/Working/Websites/amazingsinging.ca/amazing.leo
Leo 6.0-devel, dock branch, build 416b0f8cbe
2019-05-29 12:01:04 -0500
qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 1153, resource id: 0, major code: 19 (DeleteProperty), minor code: 0
wrote recent file: /home/chris/.leo/.leoRecentFiles.txt
wrote /home/chris/.leo/leo.session
saveWindowState Origins.db set key: windowState:
saveWindowState Origins.db set key: windowState:/home/chris/Working/MegaSync/writing/Origins/Origins.db
saveWindowState amazing.leo set key: windowState:
saveWindowState amazing.leo set key: windowState:/home/chris/Working/Websites/amazingsinging.ca/amazing.leo
===== Global Cache: Shutdown =====
File: /home/chris/Working/Websites/amazingsinging.ca/amazing.leo...
body_outline_ratio: 0.5
body_secondary_ratio: 0.5
current_position: 1,6,1
expanded: chris.20180715060504.1,chris.20180715060504.15,chris.20180715060504.16
marked:
window_position:
(
'0',
'0',
'1044',
'1920'
)
All others (Global Cache: Shutdown)...
__cache_pickle_protocol__: 2
open-leo-files:
[]
viewrendered_default_layouts:
(
None,
None
)
windowGeometry:/home/chris/Working/MegaSync/writing/Origins/Origins.db: AdnQywADAAAAAAAAAAAAAAAAB38AAAPwAAAAAAAAAAAAAAd/AAAD8AAAAAAAAAAAB4AAAAAAAAAA
AAAAB38AAAPw
windowState:
windowState:/home/chris/Working/MegaSync/writing/Origins/Origins.db
windowState:/home/chris/Working/Websites/amazingsinging.ca/amazing.leo
chris@technatica:~/leo-editor$ python3 ./launchLeo.py --trace=cache,dock
setting leoID from os.getenv('USER'): 'chris'
===== Global Cache: Startup =====
File: /home/chris/Working/Websites/amazingsinging.ca/amazing.leo...
body_outline_ratio: 0.5
body_secondary_ratio: 0.5
current_position: 1,6,1
expanded: chris.20180715060504.1,chris.20180715060504.15,chris.20180715060504.16
marked:
window_position:
(
'0',
'0',
'1044',
'1920'
)
All others (Global Cache: Startup)...
__cache_pickle_protocol__: 2
open-leo-files:
[]
viewrendered_default_layouts:
(
None,
None
)
windowGeometry:/home/chris/Working/MegaSync/writing/Origins/Origins.db: AdnQywADAAAAAAAAAAAAAAAAB38AAAPwAAAAAAAAAAAAAAd/AAAD8AAAAAAAAAAAB4AAAAAAAAAA
AAAAB38AAAPw
windowState:
windowState:/home/chris/Working/MegaSync/writing/Origins/Origins.db
windowState:/home/chris/Working/Websites/amazingsinging.ca/amazing.leo
Leo 6.0-devel, dock branch, build 416b0f8cbe
2019-05-29 12:01:04 -0500
qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 1153, resource id: 0, major code: 19 (DeleteProperty), minor code: 0
It still doesn't work. Here is the trace including the restart.
It now works correctly when only one file was open when I shut down. Opening another file or having two files open when shutting down doesn't. The second file loads the default tab layout.
Still with no files on the command-line, right? Again, this should be easy to fix.
Success. Tested with three files.
The persistence of the dock layout keeps getting better but I have this scenario where a file does not keep it's layout.3 files opened with saved layouts, close Leo.
Restart Leo - the 3 files A,B,C, load with their individual dock layout.
close 1 file C, close Leo.
Now restart Leo - the 2 files A,B open and retain their layout.Open file C - it has not retained it's individual dock layout, but opens with default.
The persistence of the dock layout keeps getting better but I have this scenario where a file does not keep it's layout.
3 files opened with saved layouts, close Leo.
Restart Leo - the 3 files A,B,C, load with their individual dock layout.
close 1 file C, close Leo.
Now restart Leo - the 2 files A,B open and retain their layout.Open file C - it has not retained it's individual dock layout, but opens with default.
--RegardsLewis
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/e89d11c3-cec9-4aeb-b063-a7d4ba489f01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.