| Summary: | mgapplet on KDE Plasma 5 on startx does not do anything on mouse double-click / right-click. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Shlomi Fish <shlomif> |
| Component: | RPM Packages | Assignee: | Frédéric "LpSolit" Buclin <LpSolit> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | LpSolit, jani.valimaa, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | Mageia 6 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | mgaonline | CVE: | |
| Status comment: | |||
|
Description
Shlomi Fish
2017-03-20 17:38:20 CET
I've now tried it in Plasma 5 started from prefdm (the default display manager) and this problem does not happen there. So it seems to be startx-specific. The detection of whether the DE is Plasma is done here: http://gitweb.mageia.org/software/mgaonline/tree/mgaapplet#n176 with `$ENV{DESKTOP_SESSION} =~ /plasma$/i` So if startx does not define DESKTOP_SESSION, it would indeed fail and fallback to the GtkStatusIcon system that does not work on Plasma. We might need to find a better way to find if we're running Plasma.
Marja Van Waes
2017-03-20 21:48:23 CET
CC:
(none) =>
marja11
Rémi Verschelde
2017-03-20 22:32:38 CET
Assignee:
kde =>
mageiatools Someone should check 'env | sort' output from both start methods (dm and startx) to figure out common env variable to use. CC:
(none) =>
jani.valimaa
Frédéric "LpSolit" Buclin
2017-03-21 21:12:03 CET
CC:
(none) =>
LpSolit Does it only affect mgaapplet? net_applet is not affected? I think I know what's going on. Target Milestone:
--- =>
Mageia 6 commit 891f99fe81b5c4584dbf01f7fa9605aac28e5aaf
Author: Frédéric Buclin <LpSolit@...>
Date: Fri May 12 17:25:50 2017 +0200
Correctly detect right-clicks before the first check for updates (mga#20540)
It uses exactly the same code as net_applet, see 20410
---
Commit Link:
http://gitweb.mageia.org/software/mgaonline/commit/?id=891f99fe81b5c4584dbf01f7fa9605aac28e5aaf
Fixed! I also fixed another problem hidden by this bug. If the user wanted mgaapplet to look for updates in the first 5 minutes (i.e. before the first automatic check), then notifications stopped working despite updates were found. You had to kill and restart mgaapplet to get notifications back. Now it works fine. http://gitweb.mageia.org/software/mgaonline/commit/?id=dff4b9f555ac102fa9280a3362865eb33fd9ae5e Status:
ASSIGNED =>
RESOLVED |