[Gambas-user] About the origin of Stock Icons
Jussi Lahtinen
jussi.lahtinen at gmail.com
Sun Feb 19 23:11:50 CET 2023
I cannot reproduce the bug.
Jussi
[System]
Gambas=3.18.90 dd6b829e4 (master)
OperatingSystem=Linux
Distribution=Linux Mint 20 Ulyana
Kernel=5.4.0-139-generic
Architecture=x86_64
Cores=4
Memory=7957M
Language=en_US.UTF-8
Desktop=CINNAMON
DesktopResolution=96
DesktopScale=7
WidgetTheme=proxy
Font=Noto Sans,9
[Programs]
gcc=gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
git=git version 2.25.1
[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2404.16
GStreamer=libgstreamer-1.0.so.0.1603.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.16
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.97.0.0
QT5=libQt5Core.so.5.12.8
RSvg=librsvg-2.so.2.47.0
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6
[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GB_GUI=gb.qt5
GB_PROFILE_MAX=1000
GDMSESSION=cinnamon
GDM_LANG=en_US
GIO_LAUNCHED_DESKTOP_FILE=<home>/Desktop/Gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=14306
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=0
HOME=<home>
INSIDE_NEMO_PYTHON=
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ADDRESS=fi_FI.UTF-8
LC_ALL=en_US.UTF-8
LC_IDENTIFICATION=fi_FI.UTF-8
LC_MEASUREMENT=fi_FI.UTF-8
LC_MONETARY=fi_FI.UTF-8
LC_NAME=fi_FI.UTF-8
LC_NUMERIC=fi_FI.UTF-8
LC_PAPER=fi_FI.UTF-8
LC_TELEPHONE=fi_FI.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_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2214,unix/<hostname>:/tmp/.ICE-unix/2214
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=2285
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:/var/lib/snapd/desktop
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_CLASS=user
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
force_s3tc_enable=true
On Sun, Feb 19, 2023 at 12:10 PM Jorge Carrión <shordi at gmail.com> wrote:
> I use the stable version of the Repository. I am attaching a project that
> reproduces the error... on my computer. I'm starting to think it's a
> problem with some kind of desktop cache or something like that, because if
> you run the project (which doesn't have the gb.image.effect component
> binded) and directly click "View Stock", it appears correctly. If you
> then press "Load the component" and press "View Stock" again, it is
> displayed correctly as well. However if you first load the component and
> then click View, not all the icons are visible.
> Hope this helps.
>
> Best Regards
>
> El dom, 19 feb 2023 a las 4:28, Jussi Lahtinen (<jussi.lahtinen at gmail.com>)
> escribió:
>
>> I cannot reproduce the bug with the latest development version. Can you
>> send a project that will produce the bug?
>>
>>
>> Jussi
>>
>> On Sat, Feb 18, 2023 at 8:29 PM Jorge Carrión <shordi at gmail.com> wrote:
>>
>>> Nope. Same behaviour: If gb.image.effect is present, Stock pictures
>>> aren't fully visible.
>>>
>>>
>>>
>>> El sáb, 18 feb 2023 a las 18:16, Bruce Steers (<bsteers4 at gmail.com>)
>>> escribió:
>>>
>>>> That is odd. maybe it's the bytecode?
>>>> does selecting the "Compile all" option (or deleting the .gambas
>>>> folder) fix the problem?
>>>>
>>>> either that or something in the .project file
>>>>
>>>> BruceS
>>>>
>>>> On Sat, 18 Feb 2023 at 17:05, Jorge Carrión <shordi at gmail.com> wrote:
>>>>
>>>>> I forgot again. This are my configurations:
>>>>>
>>>>> [System]
>>>>> Gambas=3.18
>>>>> OperatingSystem=Linux
>>>>> Kernel=5.15.0-60-generic
>>>>> Architecture=x86_64
>>>>> Distribution=Linux Mint 21.1 Vera
>>>>> Desktop=CINNAMON
>>>>> Font=Ubuntu,10
>>>>> Scale=7
>>>>> Theme=proxy
>>>>> Language=es_ES.UTF-8
>>>>> Memory=15827M
>>>>>
>>>>> [Programs]
>>>>> gcc=gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
>>>>> git=git version 2.34.1
>>>>>
>>>>> [Libraries]
>>>>> Cairo=libcairo.so.2.11600.0
>>>>> Curl=libcurl.so.4.7.0
>>>>> DBus=libdbus-1.so.3.19.13
>>>>> GDK2=libgdk-x11-2.0.so.0.2400.33
>>>>> GDK3=libgdk-3.so.0.2404.29
>>>>> GStreamer=libgstreamer-1.0.so.0.2003.0
>>>>> GTK+2=libgtk-x11-2.0.so.0.2400.33
>>>>> GTK+3=libgtk-3.so.0.2404.29
>>>>> OpenGL=libGL.so.1.7.0
>>>>> Poppler=libpoppler.so.118.0.0
>>>>> QT5=libQt5Core.so.5.15.3
>>>>> RSvg=librsvg-2.so.2.48.0
>>>>> SDL=libSDL-1.2.so.0.11.4
>>>>> SQLite=libsqlite3.so.0.8.6
>>>>>
>>>>> [Environment]
>>>>> CINNAMON_VERSION=5.6.7
>>>>> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>>>>> DESKTOP_SESSION=cinnamon
>>>>> DISPLAY=:0
>>>>> EDITOR=nano
>>>>> GB_GUI=gb.qt5
>>>>> GDMSESSION=cinnamon
>>>>> GDM_LANG=es_ES
>>>>>
>>>>> GIO_LAUNCHED_DESKTOP_FILE=<home>/.local/share/applications/Gambas.desktop
>>>>> GIO_LAUNCHED_DESKTOP_FILE_PID=4221
>>>>> 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
>>>>> GTK3_MODULES=xapp-gtk3-module
>>>>> GTK_MODULES=gail:atk-bridge
>>>>> GTK_OVERLAY_SCROLLING=1
>>>>> HOME=<home>
>>>>> LANG=es_ES.UTF-8
>>>>> LANGUAGE=es_ES.UTF-8
>>>>> LC_ALL=es_ES.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_LOGGING_RULES=*.debug=false
>>>>> QT_QPA_PLATFORMTHEME=qt5ct
>>>>>
>>>>> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1121,unix/<hostname>:/tmp/.ICE-unix/1121
>>>>> SHELL=/bin/bash
>>>>> SHLVL=0
>>>>> 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_CLASS=user
>>>>> XDG_SESSION_DESKTOP=cinnamon
>>>>> XDG_SESSION_ID=c1
>>>>> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
>>>>> XDG_SESSION_TYPE=x11
>>>>> XDG_VTNR=7
>>>>> force_s3tc_enable=true
>>>>>
>>>>> Best Regards
>>>>>
>>>>> El sáb, 18 feb 2023 a las 18:00, Jorge Carrión (<shordi at gmail.com>)
>>>>> escribió:
>>>>>
>>>>>> Well... now I really don't understand. This morning I forgot to
>>>>>> attach the project and the code to the message. The image I provided was of
>>>>>> a form within a larger project. This afternoon to remedy the forgetfulness
>>>>>> I have created a new project I have imported the form and... it works fine.
>>>>>> Amazed I run it in the original project and it doesn't work.
>>>>>>
>>>>>> With the same code:
>>>>>> [image: Captura de pantalla de 2023-02-18 17-48-47.png]
>>>>>>
>>>>>>
>>>>>> What's going on here?
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> El sáb, 18 feb 2023 a las 13:00, Jorge Carrión (<shordi at gmail.com>)
>>>>>> escribió:
>>>>>>
>>>>>>> I can't understand the origin of the stock icons. If the example of
>>>>>>> Gambas wiki is followed, only a few come out, returning null in most of
>>>>>>> them. This is the output of the attached project which only contains the
>>>>>>> prawn wiki code.
>>>>>>>
>>>>>>> [image: Captura de pantalla de 2023-02-18 12-47-37.png]
>>>>>>>
>>>>>>>
>>>>>>> However, by clicking on the properties window to add an icon in the
>>>>>>> IDE, they all appear... but they are different from the Stock ones.
>>>>>>> [image: Captura de pantalla de 2023-02-18 12-49-51.png]
>>>>>>>
>>>>>>> Could someone clarify where the icons that are finally shown in our
>>>>>>> projects come from? I imagine that the desktop theme is in the way but I
>>>>>>> can't figure out how all this works.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>
>>>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>>>
>>>>
>>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>>
>>>
>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230220/49cfe13a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2023-02-18 12-47-37.png
Type: image/png
Size: 44394 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230220/49cfe13a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2023-02-18 12-49-51.png
Type: image/png
Size: 145478 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230220/49cfe13a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2023-02-18 17-48-47.png
Type: image/png
Size: 65143 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230220/49cfe13a/attachment-0005.png>
More information about the User
mailing list