Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480124 - >=net-misc/tigervnc-1.2.80_p5065 - some Ctrl-key combinations not sent
Summary: >=net-misc/tigervnc-1.2.80_p5065 - some Ctrl-key combinations not sent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Michał Górny
URL: https://github.com/TigerVNC/tigervnc/...
Whiteboard:
Keywords:
: 519044 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-07 13:00 UTC by Robin Bankhead
Modified: 2016-05-21 14:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Bankhead 2013-08-07 13:00:50 UTC
Client and server both tigervnc-1.2.80_p5065 on Gentoo ~amd64. Previous version behaviour was that, when in fullscreen, Ctrl and Alt modifiers were sent to the server. (There is a preference governing this, but it was and still is enabled by default.)

Alt is still always sent correctly (as far as I've seen), but Ctrl is not consistent: None of the Ctrl+* shortcuts seem to work in firefox-bin, but Ctrl+C works in rxvt-unicode.  The problem appears to be on the client side, as a tigervnc-1.2.0 downgrade (server not downgraded) solves it.

emerge --info (from client, will post server's too if requested):
Portage 2.1.13.1 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.17, 3.10.0-gentoo x86_64)
=================================================================
System uname: Linux-3.10.0-gentoo-x86_64-AMD_E2-1800_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     3627048 total,   2452264 free
KiB Swap:    9047036 total,   9047036 free
Timestamp of tree: Fri, 02 Aug 2013 19:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache distcc distlocks ebuild-locks fail-clean fixlafiles merge-sync news preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20 -l2.6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/local/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://hazel/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus declarative dga djvu dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fortran ftp gd gdbm geoip gif gimp gmp gnutls gphoto2 gpm graphviz gtk handbook hddtemp iconv imagemagick imap inotify java javascript jit jpeg kde kipi lame latex lcms ldap libkms libnotify lm_sensors lzma lzo mad maildir matroska mbox mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer mtp mudflap multilib musicbrainz mysql ncurses nls nptl ocamlopt offensive ofx ogg opengl openmp pam pango pcre pda pdf perl phonon php plasma png policykit posix postscript ppds qt3support qt4 quicktime radius raw readline rss samba scanner sdl session sharedmem smp snmp sockets socks5 sound spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg syslog tcpd theora threads tidy tiff tk tokenizer truetype udev udisks unicode upnp upnp-av upower usb v4l vcd vhosts vnc vorbis wifi wmf wxwidgets x264 xa xcb xcomposite xft xine xinerama xml xpm xscreensaver xv xvid xvmc 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64 multiboot" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="hp net" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-05 09:49:13 UTC
*** Bug 519044 has been marked as a duplicate of this bug. ***
Comment 2 Jan Sever 2014-08-05 20:47:18 UTC
Can you please try patches from https://bugs.archlinux.org/task/36186?
Comment 3 Jan Sever 2015-01-25 15:15:10 UTC
Can you please add svn version of tigervnc (v1.4.80) into the Portage tree? I compiled it and it works fine, every keyboard shortcut I tried works perfectly. And more, it works with Portage's fltk (both 1.3.2 and 1.3.3-r2) without any patching.
Comment 4 Robin Bankhead 2015-01-27 12:19:37 UTC
Updated title (fullscreen makes no difference now) and added upstream bug URL (which has just been closed).

An svn build doesn't appear necessary: I just tried the x86_64 binary of the current stable tigervnc-1.4.2 release [1] and found no keyboard issues.

[1] https://bintray.com/tigervnc/stable/tigervnc/1.4.2#files
Comment 5 Jan Sever 2015-01-27 12:24:27 UTC
Yes, I agree v1.4.2 is enough but I'm still missing it in Portage tree.
Comment 6 Jan Sever 2015-02-22 18:07:02 UTC
Can you please add v1.4.2 into Portage? I don't mind it's not designed for xorg-1.17, I don't need it. What I need is to get keyboard shortcuts to work in tigervnc. This bug has already been here for 18 months. Is there nobody who minds this problem?
Comment 7 Sven 2015-02-22 18:37:17 UTC
I asked upstream why Crtl key combinations were not working. They said, that fltk needs to be built with the patches included with tigervnc 1.3.1.

Also, this is really a shame that tigervnc's viewer isn't working for 18 months now.
Comment 8 Jan Sever 2015-02-22 18:59:06 UTC
And there exists a simple solution: add ebuild for v1.4.2. I tried this version and it's OK.
Comment 9 Jan Sever 2015-02-24 12:14:14 UTC
1.4.2 is now in Portage tree, -r1 is for <xorg-1.17, -r2 needs to unmask xorg-1.17. I tried -r1 and if I don't look at the problem with refreshing the background when resizing (black areas), I can say it works perfectly: shortcuts sent without any problem. I haven't tried -r2 though.

So when 1.4.2-r1 is marked as stable, we can close this bug as SOLVED. Many thanks to Raúl - good job!
Comment 10 Pacho Ramos gentoo-dev 2016-05-21 14:58:21 UTC
The bug is fixed and the stabilization of newer versions is being tracked in other bug