-
Notifications
You must be signed in to change notification settings - Fork 394
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
lcm-logplayer-gui: No .jlp with only defaults #530
base: master
Are you sure you want to change the base?
Conversation
Once again I dared to use unicode. |
I like intent of this PR. It seems a lot more sane to skip writing out a One of the things I liked about the old behavior was this:
But in this PR, a |
My motivation for this change is that it is inconvenient for additional files to be created when just playing back a log and doing nothing fancy. My team shares datasets as folders of LCM logs and random jlp files are undesired clutter. To this end, I would like not creating a jlp file when simply playing a log to be the default. "But in this PR, a .jlp isn't saved unless I disable a channel. What do you think about preserving the above behavior?": That was my entire goal. I'd be interested in a opt in "Always make jlp" user preference. I'd also be interested in a button to create a more proper index file for a log. I can imagine recording each of the following per channel:
logplayer-gui could then populate the filterlist from an index. |
@judfs what are your thoughts about keeping the original behavior as the default, but adding a flag that enables the behavior you suggested above? My preference is to keep the original behavior as the default to provide UX stability for users who have come to expect that behavior, but I definitely agree that there are use cases where the default is inconvenient. We could also consider environment variables instead of command line flags. |
How about a dialogue on close?
|
In a side-channel, we discussed this a bit more. In all, the solutions we've considered are:
|
If you just open and close a log, without clicking on any knobs, don't create a
.jlp
file.google-java-format
was suggested at #420 (comment) . I made a commit using it on the file I was working with first. Looking at the diff of 36a670e should be sane.