After update to =net-im/psi-1.2::gentoo I've find clipboard feature broken. The simple check: 1. Start a text editor; 2. Type some text. For example «test»; 3. Copy it into clipboard (Ctrl-C); 4. Paste it back to enshure it works (Ctrl-V); 5. Select some text in psi chat; 6. Copy it into clipboard (Ctrl-C or via righ-button menu); 7. Try to paste it into text editor; 8. Wonder seing previously copied test string. Url-copy feature also is broken. Url-open feature works. $ einfo Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.12.5-gentoo x86_64) ================================================================= System uname: Linux-4.12.5-gentoo-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-2.3 KiB Mem: 1792796 total, 77568 free KiB Swap: 8000364 total, 7696236 free Timestamp of repository gentoo: Tue, 15 Aug 2017 00:45:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28 p1.2) 2.28 app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.28::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.28-r2::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage/gentoo sync-type: webrsync priority: -1000 local location: /usr/portage/local masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--ask --verbose --autounmask=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://ftp.corbina.net/pub/Linux/gentoo/ ftp://ftp.corbina.net/pub/Linux/gentoo/" LANG="ru_RU.utf8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 ac3 acl alsa amd64 avi berkdb bold bzip2 cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dvd flac fortran gdbm gif gtk iconv inotify jpeg jpeg2k lock modules mp3 multilib ncurses nls nptl ogg openmp pam pcre pdf png policykit qt3support readline seccomp session ssl tcpd thunar tiff udev udisks unicode utf8 vorbis xattr xcb xulrunner zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Please show Psi USE flags as well. And what is your desktop environment? I guess it's xfce.
[I] net-im/psi (9999[1]@26.08.2017): Qt XMPP client [1] "rion" /usr/portage/layman/rion Is OK.
(In reply to Rion from comment #1) > Please show Psi USE flags as well. And what is your desktop environment? I > guess it's xfce. You are rigt. I use XFce4. $ equery u net-im/psi [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for net-im/psi-1.2: U I - - aspell : Enable spellchecking using app-text/aspell + + crypt : Add support for encryption -- using mcrypt or gpg where applicable + + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - enchant : Enable spellchecking using app-text/enchant - - hunspell : Enable spellchecking using app-text/hunspell - - linguas_be : Belarusian locale - - linguas_bg : Bulgarian locale - - linguas_ca : Catalan locale - - linguas_cs : Czech locale - - linguas_de : German locale - - linguas_en : English locale - - linguas_eo : Esperanto locale - - linguas_es : Spanish locale - - linguas_et : Estonian locale - - linguas_fa : Persian locale - - linguas_fi : Finnish locale - - linguas_fr : French locale - - linguas_he : Hebrew locale - - linguas_hu : Hungarian locale - - linguas_it : Italian locale - - linguas_ja : Japanese locale - - linguas_kk : Kazakh locale - - linguas_mk : Macedonian locale - - linguas_nl : Dutch locale - - linguas_pl : Polish locale - - linguas_pt : Portuguese locale - - linguas_pt_BR : Portuguese locale for Brasil + + linguas_ru : Russian locale - - linguas_sk : Slovak locale - - linguas_sl : Slovenian locale - - linguas_sr@latin : Serbian (latin) locale - - linguas_sv : Swedish locale - - linguas_sw : Swahili locale - - linguas_uk : Ukrainian locale - - linguas_ur_PK : Urdu language locale for Pakistan - - linguas_vi : Vietnamese locale - - linguas_zh_CN : Chinese locale for Peoples Republic of China - - linguas_zh_TW : Chinese locale for Taiwan + + ssl : Add support for Secure Socket Layer connections - - webengine : Use dev-qt/qtwebengine instead of dev-qt/qtwebkit - - webkit : Enable themed, html-based chatlogs - - whiteboarding : Enable experimental interactive SVG drawing - - xscreensaver : Add support for XScreenSaver extension
so we are talking about regular version (not webkit) in environment which always worked good. And relevant code in Psi wasn't changed for years. That's strange. I have to test it.
unfortunately I can't reproduce this. I'm testing with Qt-5.9.1 and copy&paste just works.
Do you have such a problem with other Qt applications compiled against the same Qt version? Can you reproduce this with webkit/webengine version of Psi?
(In reply to Rion from comment #5) > unfortunately I can't reproduce this. > I'm testing with Qt-5.9.1 and copy&paste just works. I use stable branch with Qt-5.7.1, Qt-5.9.1 is not stable yet. It is a kind of strange issue. For now clipboard (both from chat and history windows) work fine. But some time ago I've temporarily seen this issue on my another system with psi-9999. After update (or something else) it also gone away. Have you any ideas about debugging it?
Well.. yes. with qcreator/gdb Set breakpoint in ChatView::handleCopyEvent follow step by step.
For now with [I] net-im/psi (1.3@10/10/17) clipboard works correctly. I don't guess the reason of this issue.
Reproduced again with -9999 build. Possibly, some dependency miss?
It looks like some floating and possibly Gentoo-build specific issue with Qt. Just now I've got the same issue in app-admin/keepassxc-2.2.4 with Qt 5.9.4. Just previous week everything worked fine. The only change was kernel update from 4.9.49-gentoo-r1 to 4.9.95-gentoo. First boot with new kernel.
I'm resetting assignee to default since it affects other apps and nobody else has the same problem.
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis. We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3]. I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4]. Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/