| Summary: | Mageia Update applet does not appear in GNOME legacy tray when running on Wayland | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Martin Whitaker <mageia> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lohmaier+mageia, marja11 |
| Version: | Cauldron | Keywords: | PATCH |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=21535 | ||
| Whiteboard: | |||
| Source RPM: | mgaonline | CVE: | |
| Status comment: | |||
|
Description
Martin Whitaker
2017-04-15 23:01:17 CEST
Marja Van Waes
2017-04-16 11:40:59 CEST
Assignee:
bugsquad =>
mageiatools This is another one that can be fixed with 'GDK_BACKEND=x11'. This works:
--- /usr/bin/mgaapplet 2017-03-13 17:24:33.000000000 +0000
+++ /usr/bin/mgaapplet 2017-05-13 19:51:53.012076594 +0100
@@ -30,6 +30,7 @@
use feature 'state';
BEGIN { unshift @::textdomains, 'mgaonline' }
+BEGIN { $ENV{GDK_BACKEND} = 'x11' if exists $ENV{WAYLAND_DISPLAY} }
use mygtk3 qw(gtknew); #- do not import gtkadd which conflicts with ugtk3 version
use ugtk3 qw(:all);Keywords:
(none) =>
PATCH Just wondering: is X11 mandatory in Mageia 6? If not, how is such a fix supposed to work if X11 is not installed? (In reply to Frédéric Buclin from comment #2) > Just wondering: is X11 mandatory in Mageia 6? If not, how is such a fix > supposed to work if X11 is not installed? Seems so: % urpmq --requires-recursive gdm | grep x11-server x11-server-common x11-server-xorg x11-server-xwayland % urpmq --requires-recursive sddm | grep x11-server x11-server-common x11-server-xorg % urpmq --requires-recursive lightdm | grep x11-server x11-server-common x11-server-xorg % urpmq --requires-recursive xdm | grep x11-server x11-server-common x11-server-xorg and I copied that line from drakconf ;-) But something to bear in mind for the future. Just wondering: do you see the same problem with net_applet? They should behave the same way. No, but only because it's not installed on the GNOME Live DVD. It conflicts with NetworkManager, and NetworkManager is integrated into GNOME Shell.
Christian Lohmaier
2017-08-14 17:41:15 CEST
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=21535 .oO("if exists $hash{KEY}" likely is not what you want, just "if $hash{KEY}" or "if defined $hash{KEY}" should be more like it)CC:
(none) =>
lohmaier+mageia (In reply to Christian Lohmaier from comment #6) > .oO("if exists $hash{KEY}" likely is not what you want, just "if $hash{KEY}" > or "if defined $hash{KEY}" should be more like it) Well, I just copied that from /usr/libexec/drakconf. It works... (not claiming that it wouldn't "work" in this case, it is just bad practice to check the level of your garden's pond if you want to know whether it rained the previous day - it definitely can work though if the circumstances are right) Should be fixed in mgaonline-3.26 Resolution:
(none) =>
FIXED |