You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
windowBounds should be stored in separate file and preferably in correct system dir (~/.local/state/lossless-cut on linux for example)
Also I don't know what would happen if x and y is bigger then device's monitor, if I were to pull this config from my laptop with a smaller resolution screen.
The text was updated successfully, but these errors were encountered:
Hmm, I think you could then argue that many other things (that change frequently) should also not be stored in the config file, like volume, output directory etc. But I don't think the added complexity of having two separate storage files outweighs the need for a less-frequently changing config file. And some people might want to customise all these things from a custom config file (see cli). I could be open for having a config setting for completely disabling storing of window bounds though.
Also LosslessCut uses the appPath in Electron which uses de facto "standard" config storage locations on different OSes. On Linux this happens to be $XDG_CONFIG_HOME or ~/.config. I'm hesitant to implement a custom logic for each platform to store an additional config file in a completely different location.
Also I don't know what would happen if x and y is bigger then device's monitor, if I were to pull this config from my laptop with a smaller resolution screen.
I think window managers will usually force-resize the window to fit the screen (at least MacOS does this in my experience).
The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first
Description
I manage my dotfiles with git and lossless-cut's config changing after every use because I will definitely resize it at least once while using:
windowBounds
should be stored in separate file and preferably in correct system dir (~/.local/state/lossless-cut
on linux for example)Also I don't know what would happen if
x
andy
is bigger then device's monitor, if I were to pull this config from my laptop with a smaller resolution screen.The text was updated successfully, but these errors were encountered: