flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Active desktop switches to Desktop 1 after saving/copying a screenshot on MacOS

Open mikiTesf opened this issue 2 years ago • 38 comments

Flameshot Version

v12.1.0 (96c2c82e)

Installation Type

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

Operating System type and version

macOS Monterey (Version 12.5.1)

Description

The screenshot function works perfectly fine. All the modifications (edits) I make to the screenshot are all there but immediately when I save/copy it I find myself on Desktop1 instead of the fullscreen window I took the screenshot from. I have to swipe my way back to the desktop I was on first.

Steps to reproduce

[ only tested this on macOS Monterey 12.5.1 ]

  1. Open some app and make it fullscreen
  2. Invoke flameshot through the keyboard shortcut or from the icon on the menubar
  3. Select the area for a screenshot by dragging the box or resizing it (make sure you're on the desktop that has the fullscreen app)
  4. Click on the save or copy icon

At this point, you should have the screenshot saved to disk or stored in the clipboard but the active desktop switched to Desktop1.

Screenshots or screen recordings

bug

System Information

Operating system and version macOS Monterey 12.5.1

Monitor Configuration image

image

mikiTesf avatar Aug 26 '22 06:08 mikiTesf

is this problem with apple silicon mac?

DeveloperKev avatar Aug 27 '22 15:08 DeveloperKev

Well, I don't have enough information to conclude that the issue has to do with my machine being an M1 because I haven't ran flameshot on an Intel based Mac before. My first ever experience with [Mac + flameshot] is on an M1 🤷‍♂️. But I'm sure it doesn't hurt if someone can check on an Intel based Mac and let us know.

mikiTesf avatar Aug 27 '22 18:08 mikiTesf

Well, I don't have enough information to conclude that the issue has to do with my machine being an M1 because I haven't ran flameshot on an Intel based Mac before. My first ever experience with [Mac + flameshot] is on an M1 🤷‍♂️. But I'm sure it doesn't hurt if someone can check on an Intel based Mac and let us know.

are u talking about using flameshot using rosetta?

DeveloperKev avatar Aug 28 '22 06:08 DeveloperKev

Yes

mikiTesf avatar Aug 28 '22 06:08 mikiTesf

Yes

using Rosetta vs running natively makes a lot of differences, u should know.

DeveloperKev avatar Aug 28 '22 07:08 DeveloperKev

I do know that @DeveloperKev. Because not all apps have been natively compiled for M1, every release of MacOS comes with rosetta2 since Big Sur. And that is also why I said it would be helpful if someone can check and let us know.

mikiTesf avatar Aug 28 '22 08:08 mikiTesf

I do know that @DeveloperKev. Because not all apps have been natively compiled for M1, every release of MacOS comes with rosetta2 since Big Sur. And that is also why I said it would be helpful if someone can check and let us know.

all i said is: u could've mentioned rosetta in the first place. even the devs were thinking of native builds.

DeveloperKev avatar Aug 28 '22 08:08 DeveloperKev

I've also same problem with MacOS 12.4, Intel CPU

UPDATE: v11.0.0 does not have problem but v12.0.0 and v12.1.0 have. When v12.x is installed, it always asks for permission to record desktop even if it has.

rdmrtn avatar Sep 12 '22 06:09 rdmrtn

+1 here. MacBook Pro with M1 Pro / Monterey 12.6

Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.5 darwin: 21.6.0 osx: 12.6

fakeskimo avatar Oct 11 '22 01:10 fakeskimo

Same issue here Macbook pro m1 / Monterey 12.6 Flameshot 12.1.0 (installed with brew)

bilak avatar Oct 14 '22 09:10 bilak

I can confirm this bug too. Macbook Pro M1, OSX Monterey 12.6 Flameshot 12.1.0 - also installed via brew

schoebelh avatar Oct 21 '22 05:10 schoebelh

Just installed Flameshot 12.1.0 and tried to make a screenshot. My Desktop switch immediately from desktop 1 to desktop 3 (my last one, I've configured 3 desktops). So I can only make screenshots from desktop 3, after taken, it switched back to desktop 1. So, at the moment Flameshot is useless for me.

macOS Monterey Version 12.6 iMac (Retina 5K, 27-inch, 2017) Prozessor 3,8 GHz Quad-Core Intel Core i5 Speicher 40 GB 2400 MHz DDR4 Grafikkarte Radeon Pro 580 8 GB

Saratxe avatar Oct 30 '22 22:10 Saratxe

Hasn't this issue got enough reports already? Please help 😁?

mikiTesf avatar Oct 31 '22 08:10 mikiTesf

Same issue here Mac mini m1 / Ventura 13.0.1 Flameshot 12.1.0 (installed with brew)

Jonnyan404 avatar Nov 17 '22 03:11 Jonnyan404

Same issue. Version: Flameshot v12.1.0 (f19277d My device: M1 - Monterey I compiled the binary from the source. No rosetta, no brew.

RafikFarhad avatar Nov 23 '22 17:11 RafikFarhad

Same issue on intel MBP

Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.5 darwin: 22.1.0 osx: Ventura 13.0.1 (intel)

bsavant avatar Dec 08 '22 17:12 bsavant

Same issue. Version: Flameshot v12.1.0 My device: Macbook Air M1 - Ventura 13.0.1 installed with brew

aliaksandrsen avatar Dec 10 '22 08:12 aliaksandrsen

~~I am not reproducing this on M1, built from latest master from source.~~

~~Qt 5.15.2~~ ~~Device: M1 Mac Mini, Ventura 13.0.1~~

getBoolean avatar Dec 12 '22 04:12 getBoolean

I am not reproducing this on M1, built from latest master from source.

Qt 5.15.2 Device: M1 Mac Mini, Ventura 13.0.1

I built it from source and had the same problem, but I don't understand if it was because of the impact of installing the pre-built version first.

Jonnyan404 avatar Dec 12 '22 13:12 Jonnyan404

@mmahmoudian I tried the github release and brew and the installer built from the source, both of which have this issue in m1.

Jonnyan404 avatar Dec 12 '22 13:12 Jonnyan404

I am not reproducing this on M1, built from latest master from source. Qt 5.15.2 Device: M1 Mac Mini, Ventura 13.0.1

I built it from source and had the same problem, but I don't understand if it was because of the impact of installing the pre-built version first.

I thought I tested in full screen when pressing copy, but now I am seeing the issue too.

getBoolean avatar Dec 13 '22 03:12 getBoolean

MacOS Ventura. M1 MacBook Pro Max. When I'm copying screenshots to the clipboard, the active window automatically switches to another one.

Torrichel avatar Feb 13 '23 13:02 Torrichel

Same issue. Version: v12.1.0 Device: MacBook Pro 2020 Intel, Ventura 13.3

adamyalei avatar Apr 04 '23 12:04 adamyalei

Same issue. Version: v12.1.0 Device: MacBook Pro 2019 Intel, Ventura 13.4

erkebek avatar Jun 07 '23 11:06 erkebek

+1 m1 mac

wotori avatar Jun 28 '23 08:06 wotori

Same here with M1, MacOS Ventura 13.2.1. Flameshot v12.0.0.

merthasan avatar Jul 12 '23 13:07 merthasan

Same here M2 Pro, installed via homebrew Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.5 darwin: 22.5.0 osx: 13.4

tsiq-bradleyg avatar Aug 11 '23 15:08 tsiq-bradleyg

I'm getting this bug on M2 Pro, when saving or copying screenshots.

Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.5 darwin: 22.6.0 osx: 13.5

Just tested with version 11 and the same problem occurs. Flameshot v11.0.0 (ad1bf28) Compiled with Qt 5.15.2 darwin: 22.6.0 osx: 13.5

303sec avatar Oct 12 '23 09:10 303sec

same on M2 Air, on external monitor, running Ventura (latest)

cy2k avatar Nov 09 '23 16:11 cy2k

I think the "Installation Type" in the OP should be changed to be just MacOS:

Currently it says:

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

ElijahLynn avatar Dec 04 '23 19:12 ElijahLynn