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

Skip to content

After an auto start followed by reboot/turn on the window section is stretched #842

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
bahtioraliev opened this issue Mar 23, 2022 · 14 comments
Assignees
Labels

Comments

@bahtioraliev
Copy link

bahtioraliev commented Mar 23, 2022

Describe the bug
After an auto start followed by reboot/turn on, the window section is starched and inconsistent with window size

To Reproduce
Steps to reproduce the behavior:

  1. Restart the pc or turn on when the ksnip setup for auto start
  2. Try to take a screenshot
  3. See the issue

Expected behavior
The section window (gray) should match the window size as it usually happen when choosing a section for a screenshot

Desktop (please complete the following information):

  • OS: popOS
  • Distribution: Ubuntu like
  • ksnip version: 1.9.2
  • Flatpack installation
    1648018823562
  • After restarting the ksnip, the behvior dissappaer.
@DamirPorobic
Copy link
Member

Do you have multiple monitors or screen scaling?

@bahtioraliev
Copy link
Author

bahtioraliev commented Mar 27, 2022

@DamirPorobic no single monitor
2k Dell S3220DGF

@aha999
Copy link
Contributor

aha999 commented Apr 2, 2022

i have 2 monitors but usually only 1 enabled. same issue. it stretches the screen.

OP pleasefix the title grammar to "stretched"(

@DamirPorobic DamirPorobic changed the title After an auto start followed by reboot/turn on the window section is starched After an auto start followed by reboot/turn on the window section is stretched Apr 2, 2022
@DamirPorobic DamirPorobic self-assigned this Apr 2, 2022
@DamirPorobic
Copy link
Member

I was not able to reproduce this issue on my machine but I just pushed a fix for another issue #844 that affects the same component. Can you give it a try if it fixes your issue?

DamirPorobic added a commit that referenced this issue Apr 6, 2022
@DamirPorobic
Copy link
Member

Pushed another fix, please test.

@bahtioraliev
Copy link
Author

I will need to install the development version and compile?

@DamirPorobic
Copy link
Member

@bahtioraliev you can use the AppImage, no installation required. https://github.com/ksnip/ksnip/releases/tag/continuous

@aha999
Copy link
Contributor

aha999 commented Apr 7, 2022

This fix fixed the preview bug on my pc where pictures would get stretched if i switched to 1 display from 2, and 2 screens on one monitor, if i switched from 1 screen to 2 screens while ksnip was running.
This fix fixed it for me.

@bahtioraliev download AppImage from continuous build section, then go into that folder, open terminal, enter first: chmod a+x ksnip-1.10.0-continuous-x86_64.AppImage, and then a new command ./ksnip-1.10.0-continuous-x86_64.AppImage. This will open up a terminal with a temporary session with ksnip running, and the debug information will be visible on a terminal window.

@bahtioraliev
Copy link
Author

It's working fine, but my issue appear only once the app starts during startup.

@DamirPorobic
Copy link
Member

hmm, you can replace the binary used for the startup with the AppImage. Do you know how you configured the startup? Usually it needs a path to a binary, just change it but remember what it was before so you can revert it if required.

@bahtioraliev
Copy link
Author

Default startup application software in popOS, which run
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=ksnip org.ksnip.ksnip

@DamirPorobic
Copy link
Member

yeah, that line, try to replace it with /home/dporobic/downloads/ksnip-1.10.0-continuous-x86_64.AppImage or what ever the path to the AppImage is. Aftewards you can revert it and get the fix with the next minor release.

@bahtioraliev
Copy link
Author

It's working well from boot, thank you.
Waiting for GA version.

@DamirPorobic
Copy link
Member

Thanks for checking!

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

3 participants