Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost info about the last opened file? #124

Open
RadekCap opened this issue Mar 16, 2023 · 5 comments
Open

Lost info about the last opened file? #124

RadekCap opened this issue Mar 16, 2023 · 5 comments

Comments

@RadekCap
Copy link
Collaborator

@ursjoss this is more a question than an issue now.

I have found, that my TR "is forgetting" the last opened file. The truth is, that practically daily there is a new build so I have fresh binaries. But information about the last opened file was persistent throughout this.

Now, I mention, that TR lost this info - some config? And, in the last opened files there were "foo" and "bar".

I'm going to watch it, it looks like the result of recent changes to me.

@ursjoss
Copy link
Collaborator

ursjoss commented Mar 16, 2023

Is that "lost after installation" or "lost after closing TR and re-opening"?

@RadekCap
Copy link
Collaborator Author

"Lost after installation" and it means unpacking the zip file from the dist folder.

@ursjoss
Copy link
Collaborator

ursjoss commented Mar 16, 2023

I don't see this issue. Could it be related to cache clearing tests?

@RadekCap
Copy link
Collaborator Author

It could be.

The issue appeared on both of my systems and I do not have installed just on Linux yet.

I'll watch and I'll test it.

@ursjoss
Copy link
Collaborator

ursjoss commented Mar 16, 2023

On my system, the path of the last opened file is stored in the following path:

~/.java/.userPrefs/ThinkingRock/_!$:!.g!1!#4!:@==/xstream/pref.xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
<map MAP_XML_VERSION="1.0">
  <entry key="data.file" value="/home/urs/tr/gtd.trx"/>
</map>

When I re-install the application, my TR instance does not lose the path to the last opened file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants