flameshot-org / flameshot

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

Nothing works after updating #2390

Closed MrIvanPlays closed 2 years ago

MrIvanPlays commented 2 years ago

Flameshot Version

Flameshot v11.0.0 ()

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Pop!_OS 21.10 x86_64

Description

I can't get the screenshot.

Steps to reproduce

  1. open flameshot
  2. select a region to screenshot
  3. try to do anything (Ctrl + C, Ctrl + O)
  4. observe that flameshot just closes

Screenshots or screen recordings

No response

System Information

System: Host: ivanpc Kernel: 5.15.15-76051515-generic x86_64 bits: 64 Desktop: GNOME 40.5 Distro: Pop!_OS 21.10 Graphics: Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 470.86 Device-2: Logitech Webcam C170 type: USB driver: snd-usb-audio,uvcvideo Display: x11 server: X.Org 1.20.13 driver: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa resolution: 1: 1440x900-60Hz 2: 1920x1080-60Hz OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 470.86

Monitors: 2 0: +*HDMI-0 1920/476x1080/268+0+0 HDMI-0 1: +DVI-D-0 1440/409x900/256+1920+79 DVI-D-0

01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)

mmahmoudian commented 2 years ago

I have a hunch that you haven't read the release notes and you are using flameshot gui --path. If that is true, you can read more about it here:

https://flameshot.org/docs/advanced/commandline-options/#final-actions

Does this address you question?

If not, please provide your config file (~/.config/flameshot/flameshot.ini) here

MrIvanPlays commented 2 years ago

I'm opening flameshot through the top bar of gnome. Also I just saw that it is still showing me to update flameshot, even though flameshot --version outputs 11. Stuff's really weird

mmahmoudian commented 2 years ago

So just to be clear, you have installed Flameshot from official repository (not Flatpak or Snap), and when you simply click on the tray icon the keyboard shortcuts doesn't work?

If that's the case, can you try running flameshot gui from terminal and see if that works or not?

MrIvanPlays commented 2 years ago

So just to be clear, you have installed Flameshot from official repository (not Flatpak or Snap), and when you simply click on the tray icon the keyboard shortcuts doesn't work?

Yes exactly.

MrIvanPlays commented 2 years ago

If that's the case, can you try running flameshot gui from terminal and see if that works or not?

That also doesn't work.

mmahmoudian commented 2 years ago

Then can you paste the content of your config file here (~/.config/flameshot/flameshot.ini)

mmahmoudian commented 2 years ago

also tell me if you are have enabled tiling in Pop!shell

MrIvanPlays commented 2 years ago
contrastOpacity=188
disabledTrayIcon=false
drawColor=#ff0000
drawThickness=3
savePath=/home/mrivanplays/Pictures
savePathFixed=false
showStartupLaunchMessage=true
startupLaunch=true
uploadHistoryMax=25

[Shortcuts]
TYPE_ARROW=A
TYPE_CIRCLE=C
TYPE_CIRCLECOUNT=
TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return
TYPE_COPY=Ctrl+C
TYPE_DELETE_CURRENT_TOOL=Del
TYPE_DRAWER=D
TYPE_EXIT=Ctrl+Q
TYPE_MARKER=M
TYPE_MOVESELECTION=Ctrl+M
TYPE_MOVE_DOWN=Down
TYPE_MOVE_LEFT=Left
TYPE_MOVE_RIGHT=Right
TYPE_MOVE_UP=Up
TYPE_OPEN_APP=Ctrl+O
TYPE_PENCIL=P
TYPE_PIN=
TYPE_PIXELATE=B
TYPE_RECTANGLE=R
TYPE_REDO=Ctrl+Shift+Z
TYPE_RESIZE_DOWN=Shift+Down
TYPE_RESIZE_LEFT=Shift+Left
TYPE_RESIZE_RIGHT=Shift+Right
TYPE_RESIZE_UP=Shift+Up
TYPE_SAVE=Ctrl+S
TYPE_SELECTION=S
TYPE_SELECTIONINDICATOR=
TYPE_SELECT_ALL=Ctrl+A
TYPE_TEXT=T
TYPE_TOGGLE_PANEL=Space
TYPE_UNDO=Ctrl+Z

also tell me if you are have enabled tiling in Pop!shell

the pop shell extension or something in the settings?

borgmanJeremy commented 2 years ago

So just to be clear, you have installed Flameshot from official repository (not Flatpak or Snap), and when you simply click on the tray icon the keyboard shortcuts doesn't work?

Yes exactly.

Hmm I thought pop used ubuntu repo's which will not get version 11 until 22.04

MrIvanPlays commented 2 years ago

So just to be clear, you have installed Flameshot from official repository (not Flatpak or Snap), and when you simply click on the tray icon the keyboard shortcuts doesn't work?

Yes exactly.

Hmm I thought pop used ubuntu repo's which will not get version 11 until 22.04

They changed to repositories of their own in version 21.10

mmahmoudian commented 2 years ago

the pop shell extension or something in the settings?

From your reply I assume that the answer is "no". I'm not a Pop!OS user, but a quick googling landed me on the following page. I suggest you see the YouTube link first and then check the article.

https://www.linuxuprising.com/2020/05/how-to-install-pop-shell-tiling.html

https://youtu.be/-fltwBKsMY0

About your config file, you didn't paste the whole config. the top part is missing.

icheered commented 2 years ago

I'm on Manjaro with i3 and using AUR, having the same issue. Flameshot version: v11.0.0, Compiled with Qt 5.15.2

Config:

[General]
buttons=@Variant(\0\0\0\x7f\0\0\0\vQList<int>\0\0\0\0\xf\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\x12\0\0\0\xf\0\0\0\x13\0\0\0\b\0\0\0\t\0\0\0\x10\0\0\0\n\0\0\0\v)
contrastOpacity=76
disabledTrayIcon=false
drawColor=#0000ff
drawFontSize=1
drawThickness=5
ignoreUpdateToVersion=11.0.0
savePath=/home/tjbakker/Pictures
savePathFixed=false
showStartupLaunchMessage=true
uiColor=#ff0021

[Shortcuts]
TYPE_ARROW=A
TYPE_CIRCLE=C
TYPE_CIRCLECOUNT=
TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return
TYPE_COPY=Ctrl+C
TYPE_DELETE_CURRENT_TOOL=Del
TYPE_DRAWER=D
TYPE_MARKER=M
TYPE_MOVESELECTION=Ctrl+M
TYPE_MOVE_DOWN=Down
TYPE_MOVE_LEFT=Left
TYPE_MOVE_RIGHT=Right
TYPE_MOVE_UP=Up
TYPE_PENCIL=P
TYPE_PIXELATE=B
TYPE_RECTANGLE=R
TYPE_REDO=Ctrl+Shift+Z
TYPE_RESIZE_DOWN=Shift+Down
TYPE_RESIZE_LEFT=Shift+Left
TYPE_RESIZE_RIGHT=Shift+Right
TYPE_RESIZE_UP=Shift+Up
TYPE_SAVE=Ctrl+S
TYPE_SELECTION=S
TYPE_SELECT_ALL=Ctrl+A
TYPE_TEXT=T
TYPE_TOGGLE_PANEL=Space
TYPE_UNDO=Ctrl+Z

Running flameshot gui in terminal exits without errors but doesn't copy to clipboard. Saving to file seems to work, but copying to clipboard does not.

MrIvanPlays commented 2 years ago

the pop shell extension or something in the settings?

From your reply I assume that the answer is "no".

found it, it is not enabled.

Here, pasting the config again:

[General]
contrastOpacity=188
disabledTrayIcon=false
drawColor=#ff0000
drawThickness=3
savePath=/home/mrivanplays/Pictures
savePathFixed=false
showStartupLaunchMessage=true
startupLaunch=true
uploadHistoryMax=25

[Shortcuts]
TYPE_ARROW=A
TYPE_CIRCLE=C
TYPE_CIRCLECOUNT=
TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return
TYPE_COPY=Ctrl+C
TYPE_DELETE_CURRENT_TOOL=Del
TYPE_DRAWER=D
TYPE_EXIT=Ctrl+Q
TYPE_MARKER=M
TYPE_MOVESELECTION=Ctrl+M
TYPE_MOVE_DOWN=Down
TYPE_MOVE_LEFT=Left
TYPE_MOVE_RIGHT=Right
TYPE_MOVE_UP=Up
TYPE_OPEN_APP=Ctrl+O
TYPE_PENCIL=P
TYPE_PIN=
TYPE_PIXELATE=B
TYPE_RECTANGLE=R
TYPE_REDO=Ctrl+Shift+Z
TYPE_RESIZE_DOWN=Shift+Down
TYPE_RESIZE_LEFT=Shift+Left
TYPE_RESIZE_RIGHT=Shift+Right
TYPE_RESIZE_UP=Shift+Up
TYPE_SAVE=Ctrl+S
TYPE_SELECTION=S
TYPE_SELECTIONINDICATOR=
TYPE_SELECT_ALL=Ctrl+A
TYPE_TEXT=T
TYPE_TOGGLE_PANEL=Space
TYPE_UNDO=Ctrl+Z

in terminal exits without errors but doesn't copy to clipboard.

doesn't open it with external program too. haven't tried saving to file.

mmahmoudian commented 2 years ago

@icheered if you are using AUR, the version should also have the commit id with it. like Flameshot v11.0.0 (4197109b)

can you confirm that you are on the latest commit and still have this issue. Also please let us know your DE. On Manjaro Plasma I don't have that issue

mmahmoudian commented 2 years ago

@MrIvanPlays

haven't tried saving to file.

Please try that too. It might be an issue with clipboard

icheered commented 2 years ago

@mmahmoudian The version simply shows empty brackets: Flameshot v11.0.0 (). I'm using i3 as DE. I also just saw that the package is in the 'community' repositories (not sure if that means its trusted AND latest version, or just trusted). I just built the flameshot-git from source and the issue persists, but now a commit id IS showing: Flameshot v11.0.0 (bcb4041e).

MrIvanPlays commented 2 years ago

Yup saving the screenshot to a file works. Copying to clipboard, opening the screenshot with another program do not work. Built in uploading runs indefinitely. Tools to modify the screenshot work, haven't tried pinning to desktop

shrewman commented 2 years ago

I have the same issue on manjaro sway edition, can't copy screenshot to clipboard or open it in external app. Saving to file and pinning to desktop works fine

shrewman commented 2 years ago

Here is my config file

[General]                                                                                                                                                                 contrastOpacity=188
disabledTrayIcon=true
historyConfirmationToDelete=true
showDesktopNotification=true
showHelp=false
showSidePanelButton=false
showStartupLaunchMessage=false
startupLaunch=true
uiColor=#0079c6

[Shortcuts]
TYPE_PIN=Ctrl+P
TYPE_REDO=Ctrl+Y
MrIvanPlays commented 2 years ago

@mmahmoudian are you still here?

borgmanJeremy commented 2 years ago

@MrIvanPlays FYI dont expect this to be a "live chat" with development team, we are all in different time zones and have personal conflicts so it may take a couple of days to respond.

mmahmoudian commented 2 years ago

@feelswhiteman please check our documentation for Sway and let us know if the issue still persists after following those steps: https://github.com/flameshot-org/flameshot/blob/master/docs/Sway%20and%20wlroots%20support.md


@MrIvanPlays

@mmahmoudian are you still here?

Yes, I am alive, but in order to stay alive I have to perform other tasks that are away from keyboard 🙂

Yup saving the screenshot to a file works.

Thanks for trying. This shows that you have clipboard issue and also issue in finding the applications. Would you please give me the output of ls -alh ~/.local/share/applications/ and ls -alh /usr/share/applications/

MrIvanPlays commented 2 years ago
ls -alh ~/.local/share/applications/                           ✔ 
total 88K
drwx------  3 mrivanplays mrivanplays 4.0K Jan 20 19:40  .
drwxr-xr-x 55 mrivanplays mrivanplays 4.0K Feb  7 17:22  ..
-rwxrwxr-x  1 mrivanplays mrivanplays  188 Oct  7 16:25 'Counter-Strike Global Offensive.desktop'
-rw-r--r--  1 root        root         212 Oct 11 17:45  image-uploader.desktop
-rw-rw-r--  1 mrivanplays mrivanplays    0 Oct  7 14:35  mimeapps.list
-rw-rw-r--  1 mrivanplays mrivanplays  733 Jan 20 19:40  mimeinfo.cache
drwxrwxr-x  3 mrivanplays mrivanplays 4.0K Oct 31 16:33  wine
-rw-rw-r--  1 mrivanplays mrivanplays  209 Jan 20 19:40  wine-extension-chm.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  216 Jan 20 19:40  wine-extension-gif.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  211 Jan 20 19:40  wine-extension-hlp.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  209 Jan 20 19:40  wine-extension-htm.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  223 Jan 20 19:40  wine-extension-ini.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  219 Jan 20 19:40  wine-extension-jfif.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  218 Jan 20 19:40  wine-extension-jpe.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  232 Jan 20 19:40  wine-extension-msp.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  214 Jan 20 19:40  wine-extension-pdf.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  216 Jan 20 19:40  wine-extension-png.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  206 Jan 20 19:40  wine-extension-rtf.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  201 Jan 20 19:40  wine-extension-txt.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  224 Jan 20 19:40  wine-extension-url.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  195 Jan 20 19:40  wine-extension-vbs.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  212 Jan 20 19:40  wine-extension-wri.desktop
-rw-rw-r--  1 mrivanplays mrivanplays  214 Jan 20 19:40  wine-extension-xml.desktop
 ls -alh /usr/share/applications                                ✔ 
total 1.1M
drwxr-xr-x   2 root root  20K Feb  7 13:30 .
drwxr-xr-x 336 root root  12K Feb  7 11:35 ..
-rw-r--r--   1 root root 5.5K Apr 21  2021 blender.desktop
-rw-r--r--   1 root root  484 Aug 21 04:18 bluetooth-sendto.desktop
-rw-r--r--   1 root root  819 May 17  2021 ca.desrt.dconf-editor.desktop
-rw-r--r--   1 root root  734 Oct  4 18:41 com.github.donadigo.eddy.desktop
-rw-r--r--   1 root root  588 Jan 24 21:27 com.system76.Popsicle.desktop
-rw-r--r--   1 root root 6.4K Feb 20  2020 com.uploadedlobster.peek.desktop
lrwxrwxrwx   1 root root   24 Oct  7 13:10 defaults.list -> /etc/gnome/defaults.list
lrwxrwxrwx   1 root root   26 Sep 22 04:20 discord.desktop -> ../discord/discord.desktop
-rw-r--r--   1 root root 1001 Apr 11  2021 display-im6.q16.desktop
-rw-r--r--   1 root root  257 Feb  1 18:02 evolution-calendar.desktop
-rw-r--r--   1 root root 9.1K Jan  9 21:14 firefox.desktop
-rw-r--r--   1 root root  303 Sep  9 03:08 gcr-prompter.desktop
-rw-r--r--   1 root root  611 Sep  9 03:08 gcr-viewer.desktop
-rw-r--r--   1 root root  496 Mar  1  2021 geary-autostart.desktop
-rw-r--r--   1 root root  227 Oct  7 13:11 geoclue-demo-agent.desktop
-rw-r--r--   1 root root  509 Oct  7 13:15 gkbd-keyboard-display.desktop
-rw-r--r--   1 root root  721 Nov 22 22:36 gnome-applications-panel.desktop
-rw-r--r--   1 root root  613 Jan  3 18:29 gnome-background-panel-appearance.desktop
-rw-r--r--   1 root root  594 Jan  3 18:29 gnome-background-panel-cosmic.desktop
-rw-r--r--   1 root root  788 Nov 22 22:36 gnome-background-panel.desktop
-rw-r--r--   1 root root  595 Jan  3 18:29 gnome-background-panel-dock.desktop
-rw-r--r--   1 root root  619 Jan  3 18:29 gnome-background-panel-workspaces.desktop
-rw-r--r--   1 root root  815 Nov 22 22:36 gnome-bluetooth-panel.desktop
-rw-r--r--   1 root root  819 Nov 22 22:36 gnome-camera-panel.desktop
-rw-r--r--   1 root root  905 Nov 22 22:36 gnome-color-panel.desktop
-rw-r--r--   1 root root  772 Nov 22 22:36 gnome-connectivity-panel.desktop
-rw-r--r--   1 root root  758 Nov 22 22:36 gnome-control-center.desktop
-rw-r--r--   1 root root  715 Nov 22 22:36 gnome-datetime-panel.desktop
-rw-r--r--   1 root root  778 Nov 22 22:36 gnome-default-apps-panel.desktop
-rw-r--r--   1 root root  426 Oct  7 21:26 gnome-disk-image-mounter.desktop
-rw-r--r--   1 root root  487 Oct  7 21:26 gnome-disk-image-writer.desktop
-rw-r--r--   1 root root  888 Nov 22 22:36 gnome-display-panel.desktop
-rw-r--r--   1 root root  713 Nov 22 22:36 gnome-firmware-panel.desktop
-rw-r--r--   1 root root  999 Nov 22 22:36 gnome-info-overview-panel.desktop
lrwxrwxrwx   1 root root   55 Jan 26 17:32 gnome-initial-setup.desktop -> ../gdm/greeter/applications/gnome-initial-setup.desktop
-rw-r--r--   1 root root  850 Nov 22 22:36 gnome-keyboard-panel.desktop
-rw-r--r--   1 root root  494 Oct  6 17:21 gnome-language-selector.desktop
-rw-r--r--   1 root root  864 Nov 22 22:36 gnome-location-panel.desktop
-rw-r--r--   1 root root  840 Nov 22 22:36 gnome-lock-panel.desktop
-rw-r--r--   1 root root  842 Nov 22 22:36 gnome-microphone-panel.desktop
-rw-r--r--   1 root root  852 Nov 22 22:36 gnome-mouse-panel.desktop
-rw-r--r--   1 root root  814 Nov 22 22:36 gnome-network-panel.desktop
-rw-r--r--   1 root root  894 Nov 22 22:36 gnome-notifications-panel.desktop
-rw-r--r--   1 root root 1000 Nov 22 22:36 gnome-online-accounts-panel.desktop
-rw-r--r--   1 root root  929 Nov 22 22:36 gnome-power-panel.desktop
-rw-r--r--   1 root root  816 Nov 22 22:36 gnome-printers-panel.desktop
-rw-r--r--   1 root root  843 Nov 22 22:36 gnome-region-panel.desktop
-rw-r--r--   1 root root  843 Nov 22 22:36 gnome-removable-media-panel.desktop
-rw-r--r--   1 root root  476 Sep 20 21:34 gnome-session-properties.desktop
-rw-r--r--   1 root root  749 Nov 22 22:36 gnome-sharing-panel.desktop
-rw-r--r--   1 root root  850 Nov 22 22:36 gnome-sound-panel.desktop
-rw-r--r--   1 root root  789 Sep 22 03:19 gnome-system-monitor.desktop
-rw-r--r--   1 root root  762 Sep 22 03:19 gnome-system-monitor-kde.desktop
-rw-r--r--   1 root root  784 Nov 22 22:36 gnome-thunderbolt-panel.desktop
-rw-r--r--   1 root root 1023 Nov 22 22:36 gnome-universal-access-panel.desktop
-rw-r--r--   1 root root  496 Nov 22 22:36 gnome-upgrade-panel.desktop
-rw-r--r--   1 root root  844 Nov 22 22:36 gnome-usage-panel.desktop
-rw-r--r--   1 root root  827 Nov 22 22:36 gnome-user-accounts-panel.desktop
-rw-r--r--   1 root root  815 Nov 22 22:36 gnome-wacom-panel.desktop
-rw-r--r--   1 root root  806 Nov 22 22:36 gnome-wifi-panel.desktop
-rw-r--r--   1 root root 8.4K Dec 12 10:05 google-chrome.desktop
-rw-r--r--   1 root root  13K Oct  7 13:12 gparted.desktop
-rw-r--r--   1 root root  285 Jun  8  2021 gucharmap.desktop
-rw-r--r--   1 root root  423 Sep  6 21:30 hplj1020.desktop
-rw-r--r--   1 root root 2.5K Oct  7 13:12 htop.desktop
-rw-r--r--   1 root root  308 Oct  7 13:12 ibus-setup-chewing.desktop
-rw-r--r--   1 root root  811 Oct  7 13:12 ibus-setup-libbopomofo.desktop
-rw-r--r--   1 root root  823 Oct  7 13:12 ibus-setup-libpinyin.desktop
-rw-r--r--   1 root root  204 Mar  2  2021 ibus-setup-table.desktop
-rw-r--r--   1 root root  212 Oct 11 17:46 image-uploader.desktop
-rw-r--r--   1 root root 1.1K Jun  7  2021 im-config.desktop
-rw-r--r--   1 root root  217 Jan  8  2021 info.desktop
-rw-------   1 root root  182 Oct 10 21:21 intellij.desktop.save
-rw-------   1 root root  182 Oct 10 21:21 intellij.desktop.save.1
-rw-r--r--   1 root root  266 Feb  1 18:02 io.elementary.appcenter-daemon.desktop
-rw-r--r--   1 root root 7.7K Feb  1 18:02 io.elementary.appcenter.desktop
-rw-r--r--   1 root root  146 Oct  8 10:29 io.snapcraft.SessionAgent.desktop
-rwxr-xr-x   1 root root  251 Dec  6 14:44 jd-gui.desktop
-rw-r--r--   1 root root  347 Jan  4 16:40 jetbrains-idea.desktop
-rw-r--r--   1 root root 1.7K Sep  5 22:40 ktelnetservice5.desktop
-rw-r--r--   1 root root 3.6K Aug 28 00:01 kwalletmanager5-kwalletd.desktop
-rw-r--r--   1 root root 2.4K Jan 29  2021 librecad.desktop
-rw-r--r--   1 root root  22K Jan 10 11:01 libreoffice-startcenter.desktop
-rw-r--r--   1 root root 4.7K Jan 10 11:01 libreoffice-xsltfilter.desktop
-rw-r--r--   1 root root   84 Nov 24 12:05 mimeapps.list
-rw-r--r--   1 root root  28K Feb  7 13:30 mimeinfo.cache
-rwxr-xr-x   1 root root  291 Sep  9 01:33 multimc.desktop
-rw-r--r--   1 root root  353 Jun 24  2021 nautilus-autorun-software.desktop
-rw-r--r--   1 root root  555 Nov 15 09:15 net.lutris.Lutris.desktop
-rw-r--r--   1 root root  350 Aug 25 19:07 nm-applet.desktop
-rw-r--r--   1 root root  447 Aug 25 19:07 nm-connection-editor.desktop
-rw-r--r--   1 root root  200 Jun 15  2019 nvidia-settings.desktop
-rw-r--r--   1 root root 7.3K Aug 30 00:54 okularApplication_chm.desktop
-rw-r--r--   1 root root 8.1K Aug 30 00:54 okularApplication_comicbook.desktop
-rw-r--r--   1 root root 7.4K Aug 30 00:54 okularApplication_djvu.desktop
-rw-r--r--   1 root root 7.4K Aug 30 00:54 okularApplication_dvi.desktop
-rw-r--r--   1 root root 8.1K Aug 30 00:54 okularApplication_epub.desktop
-rw-r--r--   1 root root 6.1K Aug 30 00:54 okularApplication_fax.desktop
-rw-r--r--   1 root root 8.7K Aug 30 00:54 okularApplication_fb.desktop
-rw-r--r--   1 root root 8.0K Aug 30 00:54 okularApplication_ghostview.desktop
-rw-r--r--   1 root root 6.4K Aug 30 00:54 okularApplication_kimgio.desktop
-rw-r--r--   1 root root 7.3K Aug 30 00:54 okularApplication_md.desktop
-rw-r--r--   1 root root 7.6K Aug 30 00:54 okularApplication_mobi.desktop
-rw-r--r--   1 root root 9.0K Aug 30 00:54 okularApplication_pdf.desktop
-rw-r--r--   1 root root 7.6K Aug 30 00:54 okularApplication_plucker.desktop
-rw-r--r--   1 root root 6.1K Aug 30 00:54 okularApplication_tiff.desktop
-rw-r--r--   1 root root 7.4K Aug 30 00:54 okularApplication_txt.desktop
-rw-r--r--   1 root root 7.4K Aug 30 00:54 okularApplication_xps.desktop
-rw-r--r--   1 root root 3.3K Oct  9 04:50 onlyoffice-desktopeditors.desktop
-rw-r--r--   1 root root  394 Oct 29 12:50 openjdk-17-java.desktop
-rw-r--r--   1 root root  389 Nov  3 15:54 openjdk-8-java.desktop
-rw-r--r--   1 root root  396 Nov  3 15:54 openjdk-8-policytool.desktop
-rw-r--r--   1 root root 3.7K Jan 15 01:27 org.flameshot.Flameshot.desktop
-rw-r--r--   1 root root  159 Sep 24 17:10 org.freedesktop.IBus.Panel.Emojier.desktop
-rw-r--r--   1 root root  181 Sep 24 17:10 org.freedesktop.IBus.Panel.Extension.Gtk3.desktop
-rw-r--r--   1 root root  363 Sep 24 17:10 org.freedesktop.IBus.Setup.desktop
-rw-r--r--   1 root root  758 Sep  9 01:52 org.freedesktop.impl.portal.desktop.kde.desktop
-rw-r--r--   1 root root  623 Sep 22 01:49 org.gnome.baobab.desktop
-rw-r--r--   1 root root  669 Oct  7 13:12 org.gnome.Calculator.desktop
-rw-r--r--   1 root root  558 Sep 20 23:19 org.gnome.Calendar.desktop
-rw-r--r--   1 root root  265 Mar 21  2018 org.gnome.ChromeGnomeShell.desktop
-rw-r--r--   1 root root  651 Aug 22 15:00 org.gnome.Contacts.desktop
-rw-r--r--   1 root root  699 Oct  7 21:26 org.gnome.DiskUtility.desktop
-rw-r--r--   1 root root 1.2K Sep 19 01:05 org.gnome.eog.desktop
-rw-r--r--   1 root root 1.3K Aug 20 01:43 org.gnome.Evince.desktop
-rw-r--r--   1 root root  401 Aug 20 01:43 org.gnome.Evince-previewer.desktop
-rw-r--r--   1 root root  439 Nov 26 19:23 org.gnome.Evolution-alarm-notify.desktop
-rw-r--r--   1 root root  344 Feb  1 18:02 org.gnome.Extensions.desktop
-rw-r--r--   1 root root 2.2K Aug 20 02:07 org.gnome.FileRoller.desktop
-rw-r--r--   1 root root 4.0K Aug 16 17:21 org.gnome.FontManager.desktop
-rw-r--r--   1 root root  843 Sep 22 02:17 org.gnome.font-viewer.desktop
-rw-r--r--   1 root root 3.8K Aug 16 17:21 org.gnome.FontViewer.desktop
-rw-r--r--   1 root root  736 Mar  1  2021 org.gnome.Geary.desktop
-rw-r--r--   1 root root  749 Jun 23  2021 org.gnome.gedit.desktop
-rw-r--r--   1 root root 1.3K Jun 24  2021 org.gnome.Nautilus.desktop
-rw-r--r--   1 root root  741 Oct  7 13:12 org.gnome.PowerStats.desktop
-rw-r--r--   1 root root 1.1K Jun 24  2021 org.gnome.Screenshot.desktop
-rw-r--r--   1 root root  597 Aug 20 03:28 org.gnome.seahorse.Application.desktop
-rw-r--r--   1 root root  388 Feb  1 18:02 org.gnome.Shell.desktop
-rw-r--r--   1 root root  357 Feb  1 18:02 org.gnome.Shell.Extensions.desktop
-rw-r--r--   1 root root  326 Feb  1 18:02 org.gnome.Shell.PortalHelper.desktop
-rw-r--r--   1 root root  549 Oct  7 21:28 org.gnome.Terminal.desktop
-rw-r--r--   1 root root 2.6K Jun 21  2021 org.gnome.Totem.desktop
-rw-r--r--   1 root root  599 Aug 24 02:08 org.gnome.tweaks.desktop
-rw-r--r--   1 root root 6.7K Sep 12 19:30 org.gnome.Weather.desktop
-rw-r--r--   1 root root  19K Sep 28 22:44 org.inkscape.Inkscape.desktop
-rw-r--r--   1 root root 5.3K Aug 28 00:17 org.kde.kdeconnect.app.desktop
-rw-r--r--   1 root root 1.4K Sep 10 00:32 org.kde.kdeconnect.daemon.desktop
-rw-r--r--   1 root root 1.6K Aug 28 00:17 org.kde.kdeconnect.handler.desktop
-rw-r--r--   1 root root 4.0K Aug 28 00:17 org.kde.kdeconnect.nonplasma.desktop
-rw-r--r--   1 root root 7.4K Aug 28 00:17 org.kde.kdeconnect_open.desktop
-rw-r--r--   1 root root 4.5K Aug 28 00:17 org.kde.kdeconnect.settings.desktop
-rw-r--r--   1 root root 3.2K Aug 28 00:17 org.kde.kdeconnect.sms.desktop
-rw-r--r--   1 root root  726 Sep  4 19:58 org.kde.kded5.desktop
-rw-r--r--   1 root root 6.7K Aug 27 23:39 org.kde.keditbookmarks.desktop
-rw-r--r--   1 root root 2.9K Aug 27 23:53 org.kde.kfind.desktop
-rw-r--r--   1 root root 9.8K Aug 27 23:54 org.kde.konsole.desktop
-rw-r--r--   1 root root 5.5K Aug 28 00:01 org.kde.kwalletmanager5.desktop
-rw-r--r--   1 root root 7.9K Aug 30 00:54 org.kde.mobile.okular_chm.desktop
-rw-r--r--   1 root root 8.0K Aug 30 00:54 org.kde.mobile.okular_djvu.desktop
-rw-r--r--   1 root root 8.6K Aug 30 00:54 org.kde.mobile.okular_epub.desktop
-rw-r--r--   1 root root 7.9K Aug 30 00:54 org.kde.mobile.okular_md.desktop
-rw-r--r--   1 root root 6.6K Aug 30 00:54 org.kde.mobile.okular_tiff.desktop
-rw-r--r--   1 root root 6.2K Aug 30 00:54 org.kde.okular.desktop
-rw-r--r--   1 root root 4.4K Sep  9 01:51 org.kde.polkit-kde-authentication-agent-1.desktop
-rw-r--r--   1 root root 5.1K Jan 15 22:26 org.kicad.bitmap2component.desktop
-rw-r--r--   1 root root 4.4K Jan 15 22:26 org.kicad.eeschema.desktop
-rw-r--r--   1 root root 3.5K Jan 15 22:26 org.kicad.gerbview.desktop
-rw-r--r--   1 root root 3.2K Jan 15 22:26 org.kicad.kicad.desktop
-rw-r--r--   1 root root 3.7K Jan 15 22:26 org.kicad.pcbcalculator.desktop
-rw-r--r--   1 root root 4.1K Jan 15 22:26 org.kicad.pcbnew.desktop
-rw-r--r--   1 root root  452 Jun 24  2020 org.openshot.OpenShot.desktop
-rw-r--r--   1 root root  312 Jan 22 03:19 org.pop_os.transition.desktop
-rw-r--r--   1 root root 6.3K Apr 25  2020 pavucontrol.desktop
-rw-r--r--   1 root root  463 Jan 15 00:05 pop-cosmic-applications.desktop
-rw-r--r--   1 root root  449 Jan 15 00:05 pop-cosmic-launcher.desktop
-rw-r--r--   1 root root  464 Jan 15 00:05 pop-cosmic-workspaces.desktop
-rw-r--r--   1 root root  238 Dec 22 22:28 pop-mimeapps.list
-rw-r--r--   1 root root  220 Sep 10 17:59 python3.9.desktop
-rw-r--r--   1 root root  239 Jan 21  2021 repoman.desktop
-rw-r--r--   1 root root  529 Sep 19 14:25 rygel.desktop
-rw-r--r--   1 root root  528 Sep 25 09:03 simple-scan.desktop
-rw-r--r--   1 root root  218 Oct  8 10:29 snap-handle-link.desktop
-rw-r--r--   1 root root 7.3K Dec  1 18:41 steam.desktop
-rw-r--r--   1 root root  518 Oct  7 13:25 system-config-printer.desktop
-rw-rw-r--   1 root root  225 Sep 28 17:25 viber.desktop
-rw-r--r--   1 root root 5.0K Dec 17 18:55 vim.desktop
-rw-r--r--   1 root root 1.2K Oct 18 22:05 virtualbox.desktop
-rw-r--r--   1 root root  15K Jun 21  2021 vlc.desktop
lrwxrwxrwx   1 root root   48 Jan 19 19:33 wine.desktop -> /opt/wine-stable/share/applications/wine.desktop
-rw-r--r--   1 root root  360 Apr 13  2021 winetricks.desktop
-rw-r--r--   1 root root  546 Oct  7 13:26 xdg-desktop-portal-gtk.desktop
-rw-r--r--   1 root root  614 Oct  7 13:27 yelp.desktop
borgmanJeremy commented 2 years ago

So just to be clear, you have installed Flameshot from official repository (not Flatpak or Snap), and when you simply click on the tray icon the keyboard shortcuts doesn't work?

Yes exactly.

Hmm I thought pop used ubuntu repo's which will not get version 11 until 22.04

They changed to repositories of their own in version 21.10

This turns out not to be true. I looked into it and pop-os 21.10 is still using flameshot from the ubuntu archives. So you certainly did not install version 11 natively. It is either the snap or flatpak, or you did something custom to get a different repository enabled.

MrIvanPlays commented 2 years ago

This turns out not to be true. I looked into it and pop-os 21.10 is still using flameshot from the ubuntu archives. So you certainly did not install version 11 natively. It is either the snap or flatpak, or you did something custom to get a different repository enabled.

I used the .deb file from the release.

borgmanJeremy commented 2 years ago

Thanks for clarifying. The reason I am being so particular is I usually stand up a new VM and follow the exact setup described by the person posting the issue.

I have installed a clean 21.10 PopOS VM. Then I download the 20.04 deb from our release page and installed it. I am not having any issues so It must be something particular to your setup.

The best next step you can take is to try to reproduce it in a VM and start narrowing in on the difference in your setup vs a stock install.

mmahmoudian commented 2 years ago

@MrIvanPlays I know it is ironic, but can you send a screenshot from the window when click on "open in other applications"?

Also would you please give me the output of the following: ls -alh $(which flameshot)

MrIvanPlays commented 2 years ago

@MrIvanPlays I know it is ironic, but can you send a screenshot from the window when click on "open in other applications"?

You are kidding with me. No you are. Literally.

Also would you please give me the output of the following: ls -alh $(which flameshot)

-rwxr-xr-x 1 root root 1.8M Jan 15 01:27 /usr/bin/flameshot

mmahmoudian commented 2 years ago

You are kidding with me. No you are. Literally.

I know at first it sounds silly, but you said you can save the screenshot to file, right? So technically you can easily save the picture and upload it here. You can also try to upload it and put the imgur link here. Either would do.

MrIvanPlays commented 2 years ago

I will see tomorrow

MrIvanPlays commented 2 years ago

OK new stuff boys & girls. Selecting something and then pressing Ctrl + O gives the "open with other application" window for less than a second, then it disappears. Before it didn't want to open at all. @mmahmoudian aand whatever I do can't send you a picture of this.

loxley commented 2 years ago

When using:

flameshot gui -d 1000 -p ~/Pictures/screenshots/

The copy to clipboard icon is not showing. This is a bad change also, I thought final actions would just remove icons if it was specified (-c, --clipboard) which I have not...

If I remove the -p/--path it will show the copy to clipboard. IMO, it worked better and was more flexible before. Its not everytime I want to save a screenshot, sometimes I just want to copy to clipboard.

mmahmoudian commented 2 years ago

@loxley when you specify your final action, it means you have already decided what you want to do with your screenshot. That simple. If you want to have your options open, you should not specify them in the CLI in the first place. Why don't you put the ~/Pictures/screenshots/ in your config file and then only use flameshot gui -d 1000 ?

mmahmoudian commented 2 years ago

@MrIvanPlays

Before it didn't want to open at all.

Okay, I didn't know about this, I might have missed it in our comments that the window closes immediately. I was under the impression that it shows the window but it is empty. Thanks for clarification.

loxley commented 2 years ago

@loxley when you specify your final action, it means you have already decided what you want to do with your screenshot. That simple. If you want to have your options open, you should not specify them in the CLI in the first place. Why don't you put the ~/Pictures/screenshots/ in your config file and then only use flameshot gui -d 1000 ?

Ahhh! My bad, now I get it. Thanks, that will work! 👍

shrewman commented 2 years ago

@feelswhiteman please check our documentation for Sway and let us know if the issue still persists after following those steps: https://github.com/flameshot-org/flameshot/blob/master/docs/Sway%20and%20wlroots%20support.md

I've missed some variables, followed arch wiki page to set them using /etc/environment file, but my sddm login manager won't start after that. I started sway with tty, made sure that variables are set running printenv, tried to copy screenshot but issue persists. Maybe i chose bad way to set variables, i had no experience with that.

/etc/environment

#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
XDG_SESSION_TYPE=wayland
XDG_CURRENT_DESKTOP=sway
# avoid iterating over all libseat backends
LIBSEAT_BACKEND=logind

# allow software renderers in sway
WLR_RENDERER_ALLOW_SOFTWARE=1
# for nouveau compatibility
WLR_DRM_NO_MODIFIERS=1

# variables i added
SDL_VIDEODRIVER=wayland
_JAVA_AWT_WM_NONREPARENTING=1
QT_QPA_PLATFORM=wayland
XDG_SESSION_DESKTOP=sway
MrIvanPlays commented 2 years ago

I have no idea what dark magic happened, but copy to clipboard started working somehow.

image

MrIvanPlays commented 2 years ago

Ctrl + O still doesn't work though

icheered commented 2 years ago

PC Reboot fixed it for me!

jamesmbull commented 2 years ago

Came here to post the same issue. Arch Linux with i3wm. Updated to flameshot-11.0.0-4 from AUR and the problem is resolved.

$ flameshot -v
Flameshot v11.0.0 (-)
Compiled with Qt 5.15.2
AmazingTurtle commented 2 years ago

They removed the flameshot DBUS shortcuts and now its simple exec.

It used to be:

org.flameshot.Flameshot
graphicCapture

and now is

flameshot gui
MrIvanPlays commented 2 years ago

how shall I solve when I run Ctrl + O it doesn't open the window.

mmahmoudian commented 2 years ago

@MrIvanPlays Please try adding keepOpenAppLauncher=true to the [General] section of your config file, close the flameshot and open it again and see if the "open with other application" stays open

MrIvanPlays commented 2 years ago

now it works but now we have another problem. I have a keybind set to open flameshot. how shall i modify the command so it works there too?

MrIvanPlays commented 2 years ago

current command is flameshot gui and if i do it either from the console or from the keyboard shortcut it doesn't work there.

mmahmoudian commented 2 years ago

@MrIvanPlays you need to be much much more specific. I cannot understand how your keybinding is connected to the "open with other application" window issue!

MrIvanPlays commented 2 years ago

image

mmahmoudian commented 2 years ago

the config file is used by all instances of Flameshot. If you set something in config file, all commands will use it. So your shortcut should use it. If it doesn't, then that's another issue.

But for now, would you please send me a picture of the "open with other application" window since it now stays open for you.

MrIvanPlays commented 2 years ago

image

MrIvanPlays commented 2 years ago

If it doesn't, then that's another issue.

looks like someone did black magic on me. it doesn't work.