[Gambas-user] SelectedText
Charlie Ogier
charlie at cogier.com
Tue Nov 20 17:49:19 CET 2018
Hi Guys,
Thanks for the input. I tried the program on my laptop which has the
same OS and it performed fine even though the GTK 'owner-changed'
message still appeared.
Looks like my main box needs a 'Nuke and pave'!
Charlie
On 20/11/2018 11:59, Gianluigi wrote:
> Hi Charlie,
> me too works well with Ubuntu Bionic.
> If the problem persists you could try installing the canberra library:
> $ sudo apt install libcanberra-gtk-module
>
> Regards
> Gianluigi
>
> Il giorno lun 19 nov 2018 alle ore 18:55 Charlie Ogier
> <charlie at cogier.com <mailto:charlie at cogier.com>> ha scritto:
>
> Thanks for the reply Lee. I have created a video to show the
> problem which you can see here.
> <http://www.cogier.com/video/SelectedText.webm>
>
>
> On 19/11/2018 14:14, T Lee Davidson wrote:
>> On 11/18/18 11:49 AM, Charlie Ogier wrote:
>>> Hi,
>>>
>>> Can you tell me if there is a bug here. Run the attached program, select some text, right click and select "Display".
>>>
>>> The "Display" text is not what is selected. If 'qt4' of 'qt5' is used it works as expected but not with 'gtk2' or 'gtk3'
>>>
>>> Thanks,
>>>
>>> Charlie
>>>
>>> [System]
>>> Gambas=3.11.4
>>> OperatingSystem=Linux
>>> Kernel=4.15.0-39-generic
>>> Architecture=x86_64
>>> Distribution=Linux Mint 19 Tara
>>> Desktop=CINNAMON
>>> Theme=Gtk
>>> Language=en_GB.UTF-8
>>> Memory=7848M
>>>
>>> [Libraries]
>>> Cairo=libcairo.so.2.11510.0
>>> Curl=libcurl.so.4.5.0
>>> DBus=libdbus-1.so.3.19.4
>>> GStreamer=libgstreamer-1.0.so.0.1401.0
>>> GTK+2=libgtk-x11-2.0.so.0.2400.32
>>> GTK+3=libgtk-3.so.0.2200.30
>>> OpenGL=libGL.so.1.0.0
>>> Poppler=libpoppler.so.73.0.0
>>> QT4=libQtCore.so.4.8.7
>>> QT5=libQt5Core.so.5.9.5
>>> SDL=libSDL-1.2.so.0.11.4
>>> SQLite=libsqlite3.so.0.8.6
>>>
>>> [Environment]
>>> CINNAMON_VERSION=3.8.9
>>> CLUTTER_PAINT=continuous-redraw
>>> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>>> DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
>>> DESKTOP_SESSION=cinnamon
>>> DISPLAY=:0
>>> GB_GUI=gb.qt4
>>> GDMSESSION=cinnamon
>>> GDM_LANG=en_GB
>>> GJS_DEBUG_OUTPUT=stderr
>>> GJS_DEBUG_TOPICS=JS ERROR;JS LOG
>>> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
>>> GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
>>> GTK_MODULES=gail:atk-bridge
>>> GTK_OVERLAY_SCROLLING=1
>>> HOME=<home>
>>> LANG=en_GB.UTF-8
>>> LANGUAGE=en_GB
>>> LC_ADDRESS=en_GB.UTF-8
>>> LC_IDENTIFICATION=en_GB.UTF-8
>>> LC_MEASUREMENT=en_GB.UTF-8
>>> LC_MONETARY=en_GB.UTF-8
>>> LC_NAME=en_GB.UTF-8
>>> LC_NUMERIC=en_GB.UTF-8
>>> LC_PAPER=en_GB.UTF-8
>>> LC_TELEPHONE=en_GB.UTF-8
>>> LC_TIME=en_GB.UTF-8
>>> LOGNAME=<user>
>>> MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
>>> PAPERSIZE=a4
>>> PATH=<home>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
>>> PWD=<home>
>>> QT_ACCESSIBILITY=1
>>> QT_QPA_PLATFORMTHEME=qt5ct
>>> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1195,unix/<hostname>:/tmp/.ICE-unix/1195
>>> SHELL=/bin/bash
>>> SHLVL=0
>>> SSH_AGENT_PID=1260
>>> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
>>> TZ=:/etc/localtime
>>> USER=<user>
>>> XAUTHORITY=<home>/.Xauthority
>>> XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
>>> XDG_CURRENT_DESKTOP=X-Cinnamon
>>> XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
>>>
>>> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
>>> XDG_RUNTIME_DIR=/run/user/1000
>>> XDG_SEAT=seat0
>>> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
>>> XDG_SESSION_DESKTOP=cinnamon
>>> XDG_SESSION_ID=c1
>>> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
>>> XDG_SESSION_TYPE=x11
>>> XDG_VTNR=7
>>>
>>>
>>> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]----
>>>
>> It works as expected here with both GTK2 and GTK3.
>>
>>
>> ___
>> Lee
>>
>>
>> [System]
>> Gambas=3.11.90 6303762ff (master)
>> OperatingSystem=Linux
>> Kernel=4.4.159-73-default
>> Architecture=x86_64
>> Distribution=openSUSE Leap 42.3
>> Desktop=KDE5
>> Theme=QtCurve
>> Language=en_US.UTF-8
>> Memory=3951M
>>
>> [Libraries]
>> Cairo=/usr/lib64/libcairo.so.2.11502.0
>> Curl=/usr/lib64/libcurl.so.4.3.0
>> DBus=/lib64/libdbus-1.so.3.8.14
>> GStreamer=/usr/lib64/libgstreamer-0.10.so.0.30.0
>> GStreamer=/usr/lib64/libgstreamer-1.0.so.0.803.0
>> GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.31
>> GTK+3=/usr/lib64/libgtk-3.so.0.2000.10
>> OpenGL=/usr/lib64/libGL.so.1.2.0
>> Poppler=/usr/lib64/libpoppler.so.60.0.0
>> QT4=/usr/lib64/libQtCore.so.4.8.7
>> QT5=/usr/lib64/libQt5Core.so.5.6.2
>> SDL=/usr/lib64/libSDL-1.2.so.0.11.4
>> SQLite=/usr/lib64/libsqlite3.so.0.8.6
>>
>> [Environment]
>> ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
>> AUDIODRIVER=pulseaudio
>> COLORTERM=1
>> CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu
>> CPU=x86_64
>> CSHEDIT=emacs
>> CVS_RSH=ssh
>> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-txC0OFCdZ3,guid=3f6002637ea2a0c7794764635bf2b8ca
>> DESKTOP_SESSION=/usr/share/xsessions/plasma5
>> DISPLAY=:0
>> FROM_HEADER=
>> GB_GUI=gb.qt5
>> GOARCH=amd64
>> GOOS=linux
>> GOPATH=<home>/go:/usr/share/go/1.9/contrib
>> GOROOT=/usr/lib64/go/1.9
>> GPG_AGENT_INFO=/tmp/gpg-zpTCy0/S.gpg-agent:2396:1
>> GPG_TTY=not a tty
>> GS_LIB=<home>/.fonts
>> GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0
>> GTK_IM_MODULE=cedilla
>> GTK_MODULES=canberra-gtk-module
>> G_BROKEN_FILENAMES=1
>> G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
>> HISTSIZE=1000
>> HOME=<home>
>> HOST=<hostname>
>> HOSTNAME=<hostname>
>> HOSTTYPE=x86_64
>> INPUTRC=<home>/.inputrc
>> JAVA_BINDIR=/usr/lib64/jvm/java/bin
>> JAVA_HOME=/usr/lib64/jvm/java
>> JAVA_ROOT=/usr/lib64/jvm/java
>> JDK_HOME=/usr/lib64/jvm/java
>> JRE_HOME=/usr/lib64/jvm/java/jre
>> KDE_FULL_SESSION=true
>> KDE_SESSION_UID=1000
>> KDE_SESSION_VERSION=5
>> KOTLIN_HOME=<home>/.sdkman/candidates/kotlin/current
>> LANG=en_US.UTF-8
>> LESS=-M -I -R
>> LESSCLOSE=lessclose.sh %s %s
>> LESSKEY=/etc/lesskey.bin
>> LESSOPEN=lessopen.sh %s
>> LESS_ADVANCED_PREPROCESSOR=no
>> LOGNAME=<user>
>> MACHTYPE=x86_64-suse-linux
>> MAIL=/var/spool/mail/<user>
>> MANPATH=/usr/local/man:/usr/share/man
>> MINICOM=-c on
>> MORE=-sl
>> NNTPSERVER=news
>> OSTYPE=linux
>> PAGER=less
>> PATH=<home>/.sdkman/candidates/kotlin/current/bin:<home>/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
>> PROFILEREAD=true
>> PWD=<home>
>> PYTHONSTARTUP=/etc/pythonstart
>> QEMU_AUDIO_DRV=pa
>> QMLSCENE_DEVICE=
>> QSG_RENDER_LOOP=
>> QT_AUTO_SCREEN_SCALE_FACTOR=0
>> QT_IM_MODULE=xim
>> QT_IM_SWITCHER=imsw-multi
>> QT_SYSTEM_DIR=/usr/share/desktop-data
>> SDKMAN_CANDIDATES_DIR=<home>/.sdkman/candidates
>> SDKMAN_CURRENT_API=https://api.sdkman.io/2
>> SDKMAN_DIR=<home>/.sdkman
>> SDKMAN_LEGACY_API=https://api.sdkman.io/1
>> SDKMAN_PLATFORM=Linux64
>> SDKMAN_VERSION=5.5.13+272
>> SDK_HOME=/usr/lib64/jvm/java
>> SDL_AUDIODRIVER=pulse
>> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2458,unix/<hostname>:/tmp/.ICE-unix/2458
>> SHELL=/bin/bash
>> SHLVL=1
>> SSH_AGENT_PID=2395
>> SSH_ASKPASS=/usr/lib/ssh/ksshaskpass
>> SSH_AUTH_SOCK=/tmp/ssh-P4cXC1EF4hrJ/agent.2288
>> TERM=xterm
>> TZ=:/etc/localtime
>> USER=<user>
>> VDPAU_DRIVER=va_gl
>> WINDOWMANAGER=/usr/bin/startkde
>> XAUTHLOCALHOSTNAME=<hostname>
>> XAUTHORITY=<home>/.Xauthority
>> XCURSOR_SIZE=0
>> XCURSOR_THEME=breeze_cursors
>> XDG_CONFIG_DIRS=/etc/xdg
>> XDG_CURRENT_DESKTOP=KDE
>> XDG_DATA_DIRS=/usr/share
>> XDG_RUNTIME_DIR=/run/user/1000
>> XDG_SEAT=seat0
>> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
>> XDG_SESSION_CLASS=user
>> XDG_SESSION_DESKTOP=KDE
>> XDG_SESSION_ID=2
>> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
>> XDG_SESSION_TYPE=x11
>> XDG_VTNR=7
>> XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
>> XMODIFIERS=@im=local
>> XNLSPATH=/usr/share/X11/nls
>> XSESSION_IS_UP=yes
>> _=/usr/bin/kwrapper5
>>
>> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]----
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
> ]----
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181120/3bb58b8c/attachment.html>
More information about the User
mailing list