[Gambas-bugtracker] Bug #1449: When using .ShowModal method the App use much CPU resources
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Wed Nov 7 02:16:06 CET 2018
http://gambaswiki.org/bugtracker/edit?object=BUG.1449&from=L21haW4-
Zainudin AHMAD reported a new bug.
Summary
-------
When using .ShowModal method the App use much CPU resources
Type : Bug
Priority : Medium
Gambas version : Unknown
Product : Unknown
Description
-----------
This happen only with QT4, it's seems related with 855 issue (http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4-)
Reproduce the bug:
1) Open the project (attach project)
2) Use QT4 Gui toolkit
3) Run
in my system(dual core) it's use 50% CPU resources.(attach pic)
System information
------------------
[System]
Gambas=3.11.90 615ff675d (master)
OperatingSystem=Linux
Kernel=4.15.0-33-generic
Architecture=x86_64
Distribution=Ubuntu 18.04.1 LTS
Desktop=XFCE
Theme=Gtk
Language=en_US.UTF-8
Memory=1739M
[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]
CLUTTER_BACKEND=x11
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=xubuntu
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=xubuntu
GDM_LANG=en_US
GLADE_CATALOG_PATH=:
GLADE_MODULE_PATH=:
GLADE_PIXMAP_PATH=:
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_OVERLAY_SCROLLING=0
HOME=<home>
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_ADDRESS=id_ID.UTF-8
LC_IDENTIFICATION=id_ID.UTF-8
LC_MEASUREMENT=id_ID.UTF-8
LC_MONETARY=id_ID.UTF-8
LC_NAME=id_ID.UTF-8
LC_NUMERIC=id_ID.UTF-8
LC_PAPER=id_ID.UTF-8
LC_TELEPHONE=id_ID.UTF-8
LC_TIME=id_ID.UTF-8
LOGNAME=<user>
PATH=<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_QPA_PLATFORMTHEME=gtk2
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1143,unix/<hostname>:/tmp/.ICE-unix/1143
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1125
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/share/xubuntu:/usr/share/xfce4:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=xubuntu
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
More information about the Bugtracker
mailing list