dbeaver: TextEditor Copy/Paste is not working under wayland/swaywm

System information:

  • Operating system (distribution) and version

Archlinux, swaywm 1.4, wlroots 0.10.0 wayland 1.18.0

exec environ

ALACRITTY_LOG=/tmp/Alacritty-1205.log
BEMENU_BACKEND=wayland
COLORTERM=yes
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=sway
DISPLAY=:0
EDITOR=vim
GDMSESSION=sway
GDM_LANG=en_US.UTF-8
GPG_TTY=/dev/pts/6
HOME=/home/user
I3SOCK=/run/user/1000/sway-ipc.1000.1147.sock
LANG=en_US.UTF-8
LESS_TERMCAP_mb=
LESS_TERMCAP_md=
LESS_TERMCAP_me=
LESS_TERMCAP_se=
LESS_TERMCAP_so=
LESS_TERMCAP_ue=
LESS_TERMCAP_us=
LOGNAME=user
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MAGICK_OCL_DEVICE=OFF
MAIL=/var/spool/mail/user
PAGER=less
PATH=/opt/google-cloud-sdk/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PS1=%B%F{red}%(?..%? )%f%b%B%F{blue}%n%f%b@%m %B%40<..<%~%<< %b%# 
PWD=/home/user
PYTHONTRACEMALLOC=1
QT_QPA_PLATFORM=wayland
SHELL=/bin/zsh
SHLVL=2
SWAYSOCK=/run/user/1000/sway-ipc.1000.1147.sock
TERM=screen-256color
TMUX=/tmp//tmux-1000/default,1234,0
TMUX_PANE=%9
TMUX_PLUGIN_MANAGER_PATH=/home/user/.tmux/plugins/
USER=user
USERNAME=user
WAYLAND_DISPLAY=wayland-0
XCURSOR_SIZE=24
XDG_CURRENT_DESKTOP=Unity
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=sway
XDG_SESSION_ID=2
XDG_SESSION_TYPE=wayland
XDG_VTNR=2
_=/usr/bin/env
_JAVA_AWT_WM_NONREPARENTING=1
CLOUDSDK_ROOT_DIR=/opt/google-cloud-sdk
CLOUDSDK_PYTHON=python2
CLOUDSDK_PYTHON_ARGS=-S
GOOGLE_CLOUD_SDK_HOME=/opt/google-cloud-sdk
VDPAU_DRIVER=va_gl
HG=/usr/bin/hg
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
LC_MESSAGES=
  • DBeaver version

dbeaver 6.3.5

  • Additional extensions

Connection specification:

  • Database name and version

mysql 5.7

  • Driver name

Driver for MySQL 4.x-5.7

  • Do you use tunnels or proxies (SSH, SOCKS, etc)?

no

Describe the problem you’re observing:

Copy text from chrome-browser by Ctrl+C, cannot paste to TextEditor in Dbeaver.

Steps to reproduce, if exist:

  1. open chrome-browser and copy something
  2. check clipboard status
% wl-paste --list-types
text/plain;charset=utf-8
text/plain
  1. paste in dbeaver text-editor box, paste nothing!

BUT, following Step works 1.

% echo -en "aaaaaa" | wl-copy -t STRING
% wl-paste --list-types
STRING
text/plain
text/plain;charset=utf-8
TEXT
UTF8_STRING
  1. paste into dbeaver is working~!

Include any warning/errors/backtraces from the logs

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 19
  • Comments: 28 (2 by maintainers)

Most upvoted comments

copy/paste from firefox

$ wl-paste --list-types
text/html
text/_moz_htmlcontext
text/_moz_htmlinfo
text/plain;charset=utf-8
text/plain
text/plain;charset=utf-8
text/plain
text/x-moz-url-priv

or from my clipboard manager copyq

$ wl-paste --list-types
text/html
text/plain
application/x-copyq-owner
text/plain;charset=utf-8

do not work for me in version 22

Regression in 22.1 at least this is when I switched to wayland and noticed this bug

@atmouse- is it still actual?

The issue is gone under dbeaver 21 🤝 with wayland 1.19 and swaywm 1.6

Same issue, Dbeaver 22.3.4.202302111842, paste doesn’t work.

With dbeaver 22.3.0 I have copy working on kde wayland, but I can’t paste anything back. Found workaround as to paste first in “Database Navigator” filter, copy from filter and then paste in TextEditor.

UPD: It’s only a problem with paste from Kate . Paste from VS Code or Firefox works fine.

23.2.4 bug still occurs

Dbeaver version 23.0.2 I can’t paste.

Issue persists on KDE Plasma with Wayland. I can´t paste from any other application. KDE Plasma 5.27.3 KDE Frameworks 5.104.0 DBeaver 23.0.1

Please fix. I’m using version 23.

Temporary workaround is to paste text to VS Code, and then copy from VS Code and paste to dbeaver