flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.96k stars 1.6k forks source link

working only first time in sway. #1672

Open washbin opened 3 years ago

washbin commented 3 years ago

Flameshot version

Flameshot v0.9.0 Compiled with Qt 5.15.2

Output of

inxi --width 80 --system --graphics

System: Host: fedora Kernel: 5.12.10-300.fc34.x86_64 x86_64 bits: 64 Console: tty pts/0 (vt 1) Distro: Fedora release 34 (Thirty Four) Graphics: Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel Device-2: NVIDIA GP108M [GeForce MX230] driver: nouveau v: kernel Device-3: Quanta VGA WebCam type: USB driver: uvcvideo Display: wayland server: X.org 1.20.11 compositor: sway driver: loaded: modesetting unloaded: fbdev,vesa tty: 210x56 Message: Advanced graphics data unavailable in console. Try -G --display

Describe the bug

When i launch flameshot, either from terminal or application launcher, the system tray appears and it works as expected for the first shot as forissue , but from second one it logs out some error messages as forissue2

To Reproduce

Expected behavior

The first time it works fine and nothing seems to be out of order, it doesn't work from the second time, so you have to kill and relaunch it.

System Information

Fedora release 34

websitevirtuoso commented 3 years ago

Have the same behaviour, when using KDE plasma on wayland. Anyway works great on X11. I have razer blade and driver for Nvidia. If it is useful

veracioux commented 3 years ago

Can you try flameshot from this pull request: #2003? Though I can't put my finger on it, I have a feeling it may solve your problem.

You can compile from that branch, or you can download a package from here. (find your package of choice and click the "Artifacts" button in the top right corner to download).

washbin commented 2 years ago

Woah, sorry for the really late response. I swtiched to bspwm due to some work related issues on sway. Recently remembered this and today installed sway to try again. This looks a little weird to me, but there is no response on the terminal. It is blank and nothing really happens when i click on the tray icon. Tried right clicking the tray and clicking on take screenshot as well, still no response. scrn_2022_01_12_09_52_PM

mmahmoudian commented 2 years ago

@washbin which Flameshot version have you used in this last round?

washbin commented 2 years ago

I tried with the flameshot version from pull request #2003, as suggested by veracioux.

mmahmoudian commented 2 years ago

@washbin considering that #2003 was merged and 78 commits after that, I would be thankful if you try the most recent commit. You can do that either by the same method as @veracioux said by going to the run for the latest commit or you can try to download all the artifacts for each platform from:

https://flameshot.org/docs/installation/development-build/

washbin commented 2 years ago

@mmahmoudian i tried from the latest development-build as suggested, Unfortunately there were no changes to the output from last round. However, one new thing that i noticed was, whenever i try with my network connection down, i get a failed to get information about latest version message. Is this just related with checking for autoupdates ? or could it point to somewhere ? scrn_2022_01_14_07_56_PM

mmahmoudian commented 2 years ago

@washbin

whenever i try with my network connection down, i get a failed to get information about latest version message. Is this just related with checking for autoupdates ?

You got it right, it is trying to check for updates.