Skip to content

Fix translateSelection on Wayland

Hennadii Chernyshchyk requested to merge github/fork/glaumar/master into master

Created by: glaumar

Reference issue: #324 (closed)

English is not my native language, the following content uses Google Translate:

Both Qt and mainstream wayland desktop environments have supported primary-selection-unstable-v1.xml.

In wayland, only the active window can read the latest clipboard/selection content, so just show the window first.

Test Environment:

  • OS: Arch Linux x86_64
  • Kernel: 6.4.5-arch1-1
  • cmake version 3.27.0
  • gcc version 13.1.1 20230714 (GCC)
  • DE: Plasma Wayland (5.27.6) And Gnome Wayland (44.3)

Merge request reports

Loading