flameshot-org / flameshot

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

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

Open mikiTesf opened 2 years ago

mikiTesf commented 2 years ago

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

DeveloperKev commented 2 years ago

is this problem with apple silicon mac?

mikiTesf commented 2 years ago

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.

DeveloperKev commented 2 years ago

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?

mikiTesf commented 2 years ago

Yes

DeveloperKev commented 2 years ago

Yes

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

mikiTesf commented 2 years ago

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.

DeveloperKev commented 2 years ago

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.

rdmrtn commented 2 years ago

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.

fakeskimo commented 2 years ago

+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

bilak commented 2 years ago

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

schoebelh commented 2 years ago

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

Saratxe commented 2 years ago

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

mikiTesf commented 2 years ago

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

Jonnyan404 commented 2 years ago

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

RafikFarhad commented 1 year ago

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

bsavant commented 1 year ago

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)

aliaksandrsen commented 1 year ago

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

getBoolean commented 1 year ago

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

Jonnyan404 commented 1 year ago

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 commented 1 year ago

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

getBoolean commented 1 year ago

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.

Torrichel commented 1 year ago

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

adamyalei commented 1 year ago

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

erkebek commented 1 year ago

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

wotori commented 1 year ago

+1 m1 mac

merthasan commented 1 year ago

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

tsiq-bradleyg commented 1 year ago

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

303sec commented 1 year ago

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

cy2k commented 1 year ago

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

ElijahLynn commented 11 months ago

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, ...)

mikiTesf commented 11 months ago

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, ...)

image

Its one of the options you get for Installation Type in the issue creation widget.

ElijahLynn commented 11 months ago

Its one of the options you get for Installation Type in the issue creation widget.

Ahh, okay, thanks for clarifying that. And thanks for opening this issue!

gru3zi commented 7 months ago

Same issue for me on a Mac M3. The window switches after copying...

vitorhonna commented 5 months ago

Same issue here, MBP M1.

Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.5 darwin: 23.4.0 osx: 14.4

mmotwicki commented 4 months ago

Pull request that @paperdave proposed breaks the functionality of screen capture. It minimizes all of the full-screen applications and I'm unable to make any screenshot of the working app.

paperdave commented 4 months ago

It minimizes all of the full-screen applications

Ah. yeah that would not be viable. I personally have never full-screened an application so I have not noticed that.

Lexa013 commented 1 month ago

Same issue with Monterey 12.7.6 on Intel Core i5 1,8 GHz double core

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

zet694 commented 1 month ago

Same issue with MacBook Air M2

Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.5 darwin: 24.0.0 osx: 15.0