Comments (21)
@declanqian I'm debugging.
This should be a work around until fixed:
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT STRING text/plain))
from emacs.
WIth clipboard, it does not reproduce.
WIth kill-ring, it reproduced.
not clipboard issue, but kill-ring issue?
from emacs.
Yes, is kill-ring issue...
from emacs.
I fixed it in feature/pgtk on savannah. Please try it.
from emacs.
It is indeed fixed in emacs,but there is still a problem.
When I copy unicode from emacs to chrom(e)ium
recording_2021-02-17-104952.mp4
I currently only find chrom(e)ium has problems
from emacs.
Don't think this is an issue from Emacs side. If you input some CJK
using Firefox(which runs naively under wayland), then copy/paste
it into Chromium. Same issue. @Makima0
You can using Chromium extensions like atomic-chrome
or Edit with Emacs to input CJK for now.
from emacs.
Don't think this is an issue from Emacs side. If you input some CJK
using Firefox(which runs naively under wayland), then copy/paste
it into Chromium. Same issue. @Makima0You can using Chromium extensions like atomic-chrome
or Edit with Emacs to input CJK for now.
I can copy normally from alacritty.
recording_2021-02-17-174216.mp4
(setq wl-copy-process nil)
(defun wl-copy (text)
(setq wl-copy-process (make-process :name "wl-copy"
:buffer nil
:command '("wl-copy" "-f" "-n")
:connection-type 'pipe))
(process-send-string wl-copy-process text)
(process-send-eof wl-copy-process))
(defun wl-paste ()
(if (and wl-copy-process (process-live-p wl-copy-process)) nil
(shell-command-to-string "wl-paste -t text -n 2>/dev/null")))
(setq interprogram-cut-function 'wl-copy)
(setq interprogram-paste-function 'wl-paste)
(setq confirm-kill-processes nil)
If you change the default interprogram-cut-function
and interprogram-paste-function
of emacs to wl-clip
, everything returns to normal.
So I think itβs an emacs issue.
from emacs.
Nice. Indeed it works. @Makima0
Side question. Which input method software are you using
when input CJK characters on alacritty?
I can't active fcitix 5 on alacritty nor chromium.
from emacs.
@Makima0
It does not reproduce with emacs -Q.
Please tell me:
- version of gtk
- version of chromium
- window manager and its version
from emacs.
@Makima0
It does not reproduce with emacs -Q.Please tell me:
- version of gtk
- version of chromium
- window manager and its version
gtk3
sway version 1.5.1
Google Chrome 88.0.4324.146
recording_2021-02-17-232100.mp4
from emacs.
I installed sway 1.5.1 and downgraded chromium to 88.0.4324.146, but the issue does not reproduce.
What OS do you use? And what is its version?
from emacs.
I installed sway 1.5.1 and downgraded chromium to 88.0.4324.146, but the issue does not reproduce.
What OS do you use? And what is its version?
I use the latest Arch Linux.
Use this flag to ensure that chrome runs on Wayland.
--enable-features=UseOzonePlatform --ozone-platform=wayland
I guess you are using xwayland
to run chrome?
If you use xwayland
, this problem will not occur.
from emacs.
Thanks for the OS and version.
chromium on wayland?? I didn't know such a thing...
ok, I'll try it tomorrow night.
from emacs.
confirmed.
from emacs.
Run gtk3-demo, double-click Entry Buffer
in Entry
, input a unicode string in the entry buffer, and copy and paste it to chromium.
The same issue reproduces.
Maybe it is gtk's issue or chromium's issue.
I'll look for a work around.
from emacs.
@Makima0
Fixed in feature/pgtk on savannah. Please try again.
from emacs.
@masm11 The issue has been fixed, thank you very much!
from emacs.
I have problem yanking text from Chromium
Select some text from Chromium(wayland and xwayland) and copy C-c. Open PGTK Emacs, hit C-y.
Copied text is not there.
Can you guys verify this?
@masm11 @Makima0
from emacs.
@declanqian reproduced.
from emacs.
@declanqian Fixed in feature/pgtk on savannah. Please try it.
from emacs.
Cool, it's working. @masm11
from emacs.
Related Issues (20)
- Sometimes segmentation fault when using selectrum-mode HOT 2
- Failed to compile when enable PGTK_DEBUG HOT 3
- Emacs daemon crash after several Sway reloads HOT 8
- Super key problem HOT 2
- org-roam-mode+marginalia-mode hangs `C-h v` HOT 3
- Empty new frame after disabled menu/scroll/tool bar HOT 5
- "top" and "left" frame parameters HOT 1
- Shift-space not registering HOT 7
- Cannot scroll with xterm-mouse-mode HOT 1
- Segfault in pgtk_mouse_position HOT 2
- child frame focus issue HOT 4
- C-= does not register HOT 2
- compilation error due to empty last case in switch HOT 1
- Support for copy image from clipboard HOT 4
- Is pgtk fork suppose to support macOS? HOT 23
- Scrollbars do not have hover/pressed colors HOT 3
- Touchscreen input support? HOT 7
- Clipboard not working with other apps when launched with systemd after reboot HOT 6
- Minibuffer feels frozen when using straight.el's `straight-rebuild-all` HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs.