Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ksnip starts minimized #593

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

Closed
DamirPorobic opened this issue Feb 23, 2021 · 3 comments
Closed

Ksnip starts minimized #593

DamirPorobic opened this issue Feb 23, 2021 · 3 comments
Assignees
Labels

Comments

@DamirPorobic
Copy link
Member

While building my test environment, I discovered more about my issue. It looks like it's a different issue than zybna is having. It turns out that there is a bug in spectrwm that doesn't display minimized windows. Spectrwm also doesn't have a system tray, so there's no visual indication that Ksnip is running, and no way to interact with it. Ksnip is starting, and it is starting on the correct display server, but it's starting minimized (and the spectrwm bug prevents me from seeing and correcting this.)

I wrote a bash script to unminimize Ksnip after launch. I now launch it with script.
ksnip-unminimize-wrapper.tar.gz

Starting minimized appears to be a Ksnip issue because this also happens in other window managers. Is this intended?

The script I wrote fixes the issue for me, so it might not need your attention unless this issue affects other users as well.

If you'd like to pursue the underlying "starting minimized" issue, I've uploaded the test vm I used to troubleshoot this here. It's using JWM (another window manager with this issue) instead of spectrwm because JWM is a lot simpler to work with and gives a visual indicator of minimized windows and a system tray. The username is arch and the password is arch. Ksnip is already installed from source using the latest version. You can click the start menu, then terminal, and then run Ksnip from the terminal to see what happens.

Thanks for the great software! I use Ksnip for it's excellent annotation features, and this workaround means I can continue using it.

Originally posted by @connorhodes in #575 (comment)

@DamirPorobic
Copy link
Member Author

@connorhodes I have added a fix for this, the CI runs now for 30min or so, after that you can check out if the issue is fixed. It was explicitly starting minimize and I can't remember why I put it there. If someone complains we I'll add a feature toggle for the new old behavior.

@0xConnorRhodes
Copy link

It works for me! It no longer starts minimized unless I check Start Minimized to Tray in which case starts minimized to the tray (not the window bar) as intended. With all other configurations, it starts open like any other program.

@DamirPorobic
Copy link
Member Author

Glad t hear that it's working now :)

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

No branches or pull requests

2 participants