gnatstudio #169022
Replies: 2 comments
-
|
This is a GTK theme/icon issue with GNAT Studio Hi @montgrimpulo! This error occurs when GNAT Studio can't find required icons in your system's GTK theme. Quick fixes to try:1. Install missing GTK theme packages: # Ubuntu/Debian:
sudo apt install adwaita-icon-theme gtk3-engines gtk3-engines-breeze
# Fedora/RHEL:
sudo dnf install adwaita-icon-theme gtk3-engines
# Arch Linux:
sudo pacman -S adwaita-icon-theme gtk-engines2. Reset GTK theme to default: # Set GTK theme environment variable
export GTK_THEME=Adwaita
./gnatstudio3. Install complete GNOME icon set: # Ubuntu/Debian:
sudo apt install gnome-icon-theme gnome-icon-theme-extras
# This provides fallback icons4. Alternative launch method: # Force GTK to use system theme
GTK_THEME=Adwaita:dark ./gnatstudio
# or
GTK_THEME=Adwaita:light ./gnatstudioIf the above doesn't work:Check your system:
Temporary workaround: # Create missing icon directory
mkdir -p ~/.icons/Adwaita
# Then reinstall icon themeLet me know your Linux distro and I can provide more specific instructions! |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I use Kubuntu 25.04 and GNAT Studio 20250417. All needed themes were installed, but the app could not find the icon. I don't know why, possibly due to a lack of permissions, though my account had all the required ones. To fix, I did the following:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
./gnatstudio
**
Gtk:ERROR:../src/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0)
Bail out! Gtk:ERROR:../src/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0)
Aborted
please help
Beta Was this translation helpful? Give feedback.
All reactions