hluk / hluk/CopyQ

CopyQ does not distinguish FR and FRPC keyboard layouts for shortcuts on Mac

Open
#3,436 5 comments 0 reactions 0 assignees View on GitHub
bug help wanted macOS Qt bug
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

**Describe the bug**

**To Reproduce**
1. Prerequisites :
- Have an Apple laptop with an internal Apple French keyboard ;
- Have an external non-Apple French AZERTY keyboard ;
- Have `FRPC` set as your current keyboard layout, for use with the external keyboard ;
2. Open CopyQ ;
3. Go to *File* -> *Preferences* -> *Shortcuts* -> *Global* ;
4. Click on `+` next to *Show/hide main window* ;
5. Press the top-left key of the external keyboard (`²`) ;
6. Submit, close settings and focus another app ;
7. Press `²` again and expect CopyQ to appear ;
8. See CopyQ appear ;
9. Set `FR` as your keyboard layout, for use with the internal keyboard ;
10. Press the top-left key of the internal keyboard (`#`) and expect CopyQ not to appear ;
11. See CopyQ appear.

The same issue occurs when doing the opposite : setting `#` as shortcut using the internal keyboard then pressing `²` using the external keyboard (CopyQ appears when it should not).

**Expected behavior**
CopyQ shouldn't appear in this situation.

**Screenshots**

| ![](https://github.com/user-attachments/assets/ae0a1609-d9de-43e7-8f92-b57818e98c5b) | ![](https://github.com/user-attachments/assets/0b9203f9-1c6a-4a32-b363-e30af2b1b730)
| --- | ---

**Version, OS and Environment**
CopyQ Clipboard Manager 13.0.0-gfa209998-v13.0.0
Qt: 6.9.3
KNotifications: 6.7.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: macOS Tahoe (26.1)

- Installation method (for example Windows installer, portable zip, Flatpak, Homebrew, manual build) : CopyQ-macos-13.dmg.zip

**Additional context**
I'm so sorry for bringing you an Apple issue.
I hate them and I wish I wasn't forced to use it because of work.
On the bright side, apps like CopyQ, and the ton of others I need to do stuff that is basic on Linux, make it more bearable.

Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.