Comments (20)
from mate-panel.
from mate-panel.
from mate-panel.
from mate-panel.
from mate-panel.
from mate-panel.
Here is a copy of the entire build log. The GTK3 version is 3.24.41.
mate-panel_1.28.0-1_amd64.txt. Apologies for being a pain on this. My understanding of debuild is that it's just automating the autogen/configure/make/packaging stages. From viewing the logs no errors have been thrown, just some warnings about deprecations.
from mate-panel.
That tells me the build itself went fine. Can you unpack the .deb and tell me where it installed the mate-panel binary to? The only thing I can imagine here is that it's looking for the icons somewhere other than where they are installed.
I won't be able to debug the automated Debian build itself if this is the problem because I have no experience working with it. Never have I been able to build that way from modified source. The build log didn't tell me much, but any clues could be buried in that much text
from mate-panel.
from mate-panel.
That's the same places my mate-panel files install to, and I am out of ideas as I cannot duplicate this. Only thing I can suggest is (as I said before), removing your build packages and testing an install directly from make install
using these build options which match my own exactly:
./autogen.sh --with-in-process-applets=wncklet,clock,fish,notification-area --prefix=/usr libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --enable-shared=yes --enable-static=no --disable-maintainer-mode
make
sudo make install
If that works, it's something in your Debian build, if not I am out of ideas. What Debian version are you using? I am on unstable with no way to test anything else
from mate-panel.
from mate-panel.
The window list icons are set in applets/wncklet/wayland-backend.c under wayland, in x11 libwnck sets them so this is completely different code, which BTW predates my own work with MATE on wayland, has been out a while, and I've never seen it fail except in your case.
In the function below we set the real icon name in line 308:
static void
foreign_toplevel_handle_app_id (void *data,
struct zwlr_foreign_toplevel_handle_v1 *toplevel,
const char *app_id)
{
ToplevelTask *task = data;
gchar *app_id_lower = g_utf8_strdown (app_id, -1);
gchar *desktop_app_id = g_strdup_printf ("%s.desktop", app_id_lower);
GDesktopAppInfo *app_info = g_desktop_app_info_new (desktop_app_id);
if (app_info) {
GIcon *icon = g_app_info_get_icon (G_APP_INFO (app_info));
if (icon) {
gtk_image_set_from_gicon (GTK_IMAGE (task->icon), icon, GTK_ICON_SIZE_MENU);
goto cleanup;
}
}
gtk_image_set_from_icon_name (GTK_IMAGE (task->icon), app_id_lower, GTK_ICON_SIZE_MENU);
cleanup:
if (app_info) {
g_object_unref (G_OBJECT (app_info));
}
g_free (app_id_lower);
g_free (desktop_app_id);
}
If this fails the default icon was set in the code below in line 555, as we set the window button up before filling it with the real icon and window name
static ToplevelTask *
toplevel_task_new (TasklistManager *tasklist, struct zwlr_foreign_toplevel_handle_v1 *toplevel)
{
ToplevelTask *task = g_new0 (ToplevelTask, 1);
GtkWidget *button;
GtkOrientation orient;
buttons = buttons + 1;
orient = gtk_orientable_get_orientation (GTK_ORIENTABLE (tasklist->outer_box));
task->button = gtk_button_new ();
g_signal_connect (task->button, "clicked", G_CALLBACK (toplevel_task_handle_clicked), task);
task->icon = gtk_image_new_from_icon_name ("unknown", icon_size);
from mate-panel.
I am on debian 13 Trixie. The next release after Bookworm.
from mate-panel.
Interesting, whatever it is, manually rebuilding/reinstalling mate-panel didn't fix it. I tried both rebuilding the package and building from the tarball source.
from mate-panel.
No idea what is different but the icons ALWAYS show up for me. Someone else who can reproduce this may have to work on it.
from mate-panel.
Related Issues (20)
- Cannot add multiple "Notification Area"s HOT 6
- [Feature request] mate-panel --run-dialog: Load aliases
- Fail to load panel plugins HOT 27
- Solid panel color makes the handles invisible HOT 1
- Panel Properties -> Background [tab]: gsettings does not update the "Style" (transparent-opaque) knob HOT 2
- netspeed unusable on vertical panels HOT 5
- Attention icon doesn't shown for StatusNotifier HOT 2
- Mouse pointer at left edge sometimes cannot click on menu HOT 1
- 1.27.2: build fails HOT 8
- autohide: /org/mate/panel/toplevels/toplevel/ : unhide delay -- setting ignored HOT 1
- Wayland - Menu scrolling broken HOT 9
- Applet icons sometimes appearing in double HOT 1
- Weather does not work anymore HOT 4
- Clock applet fails to load on Wayland HOT 1
- Regression: panel launcher position are not stored after moving the launcher HOT 5
- lock screen / logout menu items on Wayland do nothing. HOT 4
- `mate-panel --replace` command crashes the panel HOT 45
- Mate panel does not autohide and even hide on hide button press in wayland, wayfife 0.8 HOT 1
- clock applet: localized date display format is strange
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mate-panel.