2fast-team / 2fast

Two-Factor Authenticator Supporting TOTP (Windows 10 & Android, iOS, Linux and macOS App)
https://2fast-app.de
GNU General Public License v3.0
393 stars 42 forks source link

Scan QR code function opens up Windows Snipping tool #133

Closed Manwel72 closed 1 month ago

Manwel72 commented 4 months ago

Describe the bug

When trying to use the "scan QR code" button to scan a QR code on my brower, after 3 sec it opens up the Windows snipping tool instead, and thus cannot scan that QR code within the 2fast application. It used to work ok two months ago when I added some QR codes in the app, unsure of what has changed since.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Using Windows 11
  2. Go to Scan key-QR code
  3. Click on on the button
  4. The Windows snipping tool with open

Expected behavior

Screenshots

Environment

App Version(s):

Windows 10/11 Build Number:

Additional context

jp-weber commented 4 months ago

The issue is related to a change by Microsoft. As workaround you can reset this configuration: Go to "Settings → Apps → Default apps → Choose default apps by link type", and make sure that MS-SCREENCLIP is set to "Screen Snipping". In the next app version I will change the QR code scanning for Windows 11 without dependence on the snipping tool.

Manwel72 commented 4 months ago

Thank you, that worked for me!

mahengrui1 commented 4 months ago

worked for me, but the snipping tool gets the screenshot at the same time

jp-weber commented 1 month ago

Fixed with v1.3.0: https://github.com/2fast-team/2fast/releases/tag/v1.3.0 🎉