Skip to content
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

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

Open
mikiTesf opened this issue Aug 26, 2022 · 36 comments · May be fixed by #3625
Open

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

mikiTesf opened this issue Aug 26, 2022 · 36 comments · May be fixed by #3625
Labels
Bug It's a bug MacOS MacOS related

Comments

@mikiTesf
Copy link

mikiTesf commented Aug 26, 2022

Flameshot Version

v12.1.0 (96c2c82)

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 mikiTesf added the Unconfirmed Bug The bug is not confirmed by anyone else. label Aug 26, 2022
@mmahmoudian mmahmoudian added the MacOS MacOS related label Aug 26, 2022
@DeveloperKev
Copy link

is this problem with apple silicon mac?

@mikiTesf
Copy link
Author

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
Copy link

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
Copy link
Author

Yes

@DeveloperKev
Copy link

Yes

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

@mikiTesf
Copy link
Author

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
Copy link

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
Copy link

rdmrtn commented Sep 12, 2022

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
Copy link

fakeskimo commented Oct 11, 2022

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

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

@bilak
Copy link

bilak commented Oct 14, 2022

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

@schoebelh
Copy link

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

@Saratxe
Copy link

Saratxe commented Oct 30, 2022

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
Copy link
Author

mikiTesf commented Oct 31, 2022

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

@Jonnyan404
Copy link

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

@RafikFarhad
Copy link

RafikFarhad commented Nov 23, 2022

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

@bsavant
Copy link

bsavant commented Dec 8, 2022

Same issue on intel MBP

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

@aliaksandrsen
Copy link

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

@getBoolean
Copy link

getBoolean commented Dec 12, 2022

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
Copy link

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
Copy link

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

@getBoolean
Copy link

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
Copy link

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

@adamyalei
Copy link

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

@erkebek
Copy link

erkebek commented Jun 7, 2023

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

@wotori
Copy link

wotori commented Jun 28, 2023

+1
m1 mac

@merthasan
Copy link

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

@mmahmoudian mmahmoudian removed the Unconfirmed Bug The bug is not confirmed by anyone else. label Jul 12, 2023
@mmahmoudian mmahmoudian added the Bug It's a bug label Jul 12, 2023
@tsiq-bradleyg
Copy link

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

@303sec
Copy link

303sec commented Oct 12, 2023

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

Flameshot v12.1.0 (96c2c82)
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
Copy link

cy2k commented Nov 9, 2023

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

@ElijahLynn
Copy link

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
Copy link
Author

mikiTesf commented Dec 4, 2023

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
Copy link

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
Copy link

gru3zi commented Apr 2, 2024

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

@vitorhonna
Copy link

Same issue here, MBP M1.

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

@paperdave paperdave linked a pull request Jun 5, 2024 that will close this issue
@mmotwicki
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It's a bug MacOS MacOS related
Projects
None yet
Development

Successfully merging a pull request may close this issue.