Qtdragon occasionally overwriting preferences

More
4 years 1 week ago #254973 by Eyecon
Thanks @tommylight, I’ll see if having the Mesa board off will cause this issue.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #254981 by cmorley
You say it ignores the file. How do you know this?
Can you confirm that at shutdown the settings are written properly?

Ignoring vrs corrupted vrs not found is all clues to the problem, so it matters.

My guess is a closing problem that erases but doesn't write the file properly or the OS caching the file and it not getting written properly.

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #254983 by Eyecon
I guess I should have said it "appears to ignore the file". I'm going to try and pay better attention and check the timestamp/content of the pref file next time this happens while Linuxcnc is still running...unfortunately that's the problem with running in openbox, I always forget I can switch to a console and end up quitting linuxcnc to launch an xterm. I wish I knew how to trigger it, for a while I thought the problem disappeared through one of the fixes you have pushed out recently.

Please Log in or Create an account to join the conversation.

More
4 years 2 days ago #255430 by Eyecon
@cmorley I had the issue occur today and I remembered to switch over to a terminal to check the pref file. Basically Qtdragon started and reverted to default preferences while the old preferences file was present. The file had the time signature of the last time I shutdown Linuxcnc and the machine but Qtdragon just seemed to ignore it and loaded the defaults. Of couse after quitting, these defaults ended up overriding the appropriately configured preferences file.

Please Log in or Create an account to join the conversation.

More
4 years 8 hours ago #255665 by Eyecon
@cmorely do you know the starting point in the qtvcp library for initializing preferences? I've tried a brute force technique to figure this out(as in where do the preferences get initialized and loaded) but I couldn't figure it out.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.135 seconds
Powered by Kunena Forum