[Gambas-user] [Gambas Bug Tracker] Bug #1029: BUG: SpinBar does not block mousewheel scroll when inside a scrollview

bugtracker at ...3416... bugtracker at ...3416...
Wed Nov 9 15:26:24 CET 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.1029&from=L21haW4-

Antonio OREFICE reported a new bug.

Summary
-------

BUG: SpinBar does not block mousewheel scroll when inside a scrollview

Type             : Bug
Priority         : Medium
Gambas version   : 3.9
Product          : GUI components


Description
-----------

The subject pretty tells you all.
When one tries to use the mousewheel on a spinbar inside a scrollview, the scrollview does scroll and the spinbar looses focus.
It happens with textboxes too, but not on spinboxes.

The following example trigs the bug:


Public Sub Form_Open()

  Dim aScrollView As Scrollview
  Dim aSpinbar As Spinbar
  Dim atextbox As Textbox
  Dim aspinbox As Spinbox
  Dim i As Integer
  
  Me.Arrangement = arrange.fill
  
  aScrollView = New ScrollView(Me)
  aScrollView.expand = True
  ascrollview.arrangement = Arrange.vertical
  
  For i = 1 To 20
    aSpinBar = New SpinBar(aScrollView)
    aSpinbar.h = 30
    atextbox = New TextBox(ascrollview)
    atextbox.h = 30
    aspinbox = New Spinbox(ascrollview)
    aspinbox.h = 30
  Next
  
End


System information
------------------

[System]
Gambas=3.9.1
OperatingSystem=Linux
Kernel=4.8.6-1-ARCH
Architecture=x86_64
Distribution=Arch Linux
Desktop=KDE5
Theme=Breeze
Language=it_IT.utf8
Memory=7933M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.8
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1000.0
GTK+2=libgtk-x11-2.0.so.0.2400.31
GTK+3=libgtk-3.so.0.2200.2
OpenGL=libGL.so.1.0.0
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.63.0.0
QT4=libQtCore.so.4.7.4
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.3.2
QT5=libQt5Core.so.5.7.0
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
ANT_HOME=/usr/share/apache-ant
Automoc4_DIR=/usr/lib/automoc4
CCACHEPATH=/usr/lib/ccache/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
DESKTOP_SESSION=/usr/share/xsessions/plasma
DISPLAY=:0
EDITOR=nano
GB_GUI=gb.qt5
GS_LIB=<home>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
HG=/usr/bin/hg
HISTCONTROL=ignoredups
HISTSIZE=50000
HOME=<home>
INFINALITY_FT=
INFINALITY_FT_AUTOFIT_FORCE_SLIGHT_HINTING=true
INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH=0
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS=false
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT=0
INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH=25
INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE=0
INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE=0
INFINALITY_FT_BRIGHTNESS=0
INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH=0
INFINALITY_FT_CONTRAST=-20
INFINALITY_FT_FILTER_PARAMS=7 25 44 25 7
INFINALITY_FT_FRINGE_FILTER_STRENGTH=0
INFINALITY_FT_GAMMA_CORRECTION=0 100
INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE=0
INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE=0
INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH=0
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH=0
INFINALITY_FT_STEM_FITTING_STRENGTH=0
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE=0
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS=true
INFINALITY_FT_USE_VARIOUS_TWEAKS=true
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH=0
INTEL_BATCH=1
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=0
KDE_SESSION_VERSION=5
KMIX_PULSEAUDIO_DISABLE=1
KWIN_NVIDIA_HACK=1
LANG=it_IT.utf8
LANGUAGE=en_US
LC_COLLATE=C
LD_LIBRARY_PATH=/usr/local/lib/icu-55/
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:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=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:*.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:*.aac=00;36:*.au=00;36:*.flac=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:
MAIL=/var/spool/mail<home>
MOZ_DISABLE_PANGO=1
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
NXDIR=/usr/lib/nx
OOO_FORCE_DESKTOP=gnome
PATH=/usr/lib/ccache/bin:/usr/lib/nx/bin:/usr/lib/hardening-wrapper/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cuda/bin:/opt/depot_tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:<home>/scripts:/home<home>/scripts/DominioNT/:/usr/local/bin
PS4=+ 
PWD=<home>
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_GRAPHICSSYSTEM=raster
QT_NO_GLIB=1
QT_QPA_PLATFORMTHEME=kde
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2002,unix/<hostname>:/tmp/.ICE-unix/2002
SHELL=/bin/bash
SHLVL=1
TZ=:/etc/localtime
USER=<user>
WINEARCH=win32
WINEDLLOVERRIDES=winemenubuilder.exe=d
XAUTHORITY=/tmp/xauth-0-_0
XCURSOR_SIZE=0
XCURSOR_THEME=Jimmac
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
XDG_DESKTOP_DIR=$HOME/Desktop" 
XDG_RUNTIME_DIR=/run/user/0
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=c3
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_=/usr/lib/kf5/start_kdeinit_wrapper
__GLVND_DISALLOW_PATCHING=1
__GL_SHADER_DISK_CACHE=1
__GL_YIELD=USLEEP






More information about the User mailing list