Bug 21229 - Mageia Welcome reports Gnome DE (on Xorg & Wayland) as "Unknown"
Summary: Mageia Welcome reports Gnome DE (on Xorg & Wayland) as "Unknown"
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: papoteur
URL:
Whiteboard: MGA6-64-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2017-07-12 11:28 CEST by Ben McMonagle
Modified: 2017-07-26 00:07 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Ben McMonagle 2017-07-12 11:28:03 CEST
Description of problem: Mageia Welcome reports Gnome DE on Xorg, Classical & Wayland as "Unknown" when logged in.

Mageia-6-x86_64-DVD
DATE.txt: Tue Jul 11 18:19:31 CEST 2017


Version-Release number of selected component (if applicable):


How reproducible: at least when logged in from SDDM


Steps to Reproduce:
1.install all DE from above .iso
2.log in to any of the Gnome DE presented in the greeter menu
3.note desktop: "Unknown" reported by Mageia Welcome
Rémi Verschelde 2017-07-12 11:40:12 CEST

Assignee: bugsquad => mageiatools

Comment 1 papoteur 2017-07-12 12:31:11 CEST
Thanks for reporting.
Can you give the results in a terminal of:
echo $DESKTOP_SESSION
echo $XDG_CURRENT_DESKTOP

Do you know what is the report from Plasma?

CC: (none) => yves.brungard_mageia

Comment 2 papoteur 2017-07-12 12:36:52 CEST
What is known by Mageiawelcome is for now:
DESKTOP_SESSION
    '01KDE4':'KDE',
    '02GNOME':'Gnome',
    'gnome': 'Gnome',
    'LXDE':'LXDE',
    'MATE':'Mate',
    'Cinnamon':'Cinnamon',
    '23E17':'Enlightenment',
    '07IceWM':'IceWM',
    '26Openbox':'Openbox',
    '03WindowMaker':'WindowMaker',
    '09Fvwm2':'Fvwm2'
If something else is reported, XDG_CURRENT_DESKTOP will be used, and the results will be:
      'KDE':'KDE',
      'XFCE':'Xfce',
      'LXQt':'LXQt',
      'MATE':'Mate',
      'X-Cinnamon':'Cinnamon',
This is coded in helpers.py
Comment 3 Mageia Robot 2017-07-12 21:30:46 CEST
commit abe6db5f40edf166966b652e50d6e5d05edbe9d6
Author: Papoteur <papoteur@...>
Date:   Wed Jul 12 21:27:49 2017 +0200

    Update identification of Gnome desktop (mga#21229)
---
 Commit Link:
   http://gitweb.mageia.org/software/mageiawelcome/commit/?id=abe6db5f40edf166966b652e50d6e5d05edbe9d6
Comment 4 Mageia Robot 2017-07-19 22:57:01 CEST
commit a2266adf355b5a58ff5c6646e4d3ba1587e775ac
Author: Papoteur <papoteur@...>
Date:   Wed Jul 19 22:54:22 2017 +0200

    Update identification of desktops, suppressing path in DESKTOP_SESSION (mga#21229)
---
 Commit Link:
   http://gitweb.mageia.org/software/mageiawelcome/commit/?id=a2266adf355b5a58ff5c6646e4d3ba1587e775ac
Comment 5 papoteur 2017-07-23 13:01:40 CEST
I ask for publication as update of 1.12 release in mag6 and cauldron

Advisory
=============================
Update identification of desktops, suppressing path in DESKTOP_SESSION (mga#21229)
Add internationalization of some URL
Add translation thereof
Replace remaining http:// with https://
Rémi Verschelde 2017-07-24 14:46:42 CEST

Assignee: mageiatools => rverschelde

Comment 6 Rémi Verschelde 2017-07-24 17:54:53 CEST
mageiawelcome-1.12-1.mga7 submitted to Cauldron, and mageiawelcome-1.12-1.mga6 went to Mageia 6 core/updates_testing.

Advisory:
=========

Updated mageiawelcome package fixes and enhances functionalities

  This release updates the identification logic for desktop environments, fixing
  a misdetection of GNOME (mga#21229).
  It also adds internationalization of some URLs with a first set of translations,
  as well as replaces all http:// links with https://.

RPMs in core/updates_testing:
=============================

mageiawelcome-1.12-1.mga6.noarch

SRPM in core/updates_testing:
=============================

mageiawelcome-1.12-1.mga6

QA Contact: (none) => yves.brungard_mageia
Assignee: rverschelde => qa-bugs

Comment 7 Rémi Verschelde 2017-07-24 18:33:53 CEST
Wait a bit, it didn't build.

Assignee: qa-bugs => rverschelde

Comment 8 papoteur 2017-07-24 18:34:46 CEST
To test:
start Gnome, Gnome xorg or Gnome Classic or another DE from GDM, SDDM or another display manager.
In the session, start Magiea Welcome. Check that the DE reported is GNOME, KDE or the used DE.
You can check also that links to documentation work (Urpmi, software management, documentation, ...). At the moment, only French, German and Hungarian are updated, the other work as before or as the English ones.

Assignee: rverschelde => qa-bugs

Comment 9 Rémi Verschelde 2017-07-24 19:16:47 CEST
New package uploaded.

Advisory:
=========

Updated mageiawelcome package fixes and enhances functionalities

  This release updates the identification logic for desktop environments, fixing
  a misdetection of GNOME (mga#21229).
  It also adds internationalization of some URLs with a first set of translations,
  as well as replaces all http:// links with https://.

RPMs in core/updates_testing:
=============================

mageiawelcome-1.13-1.mga6.noarch

SRPM in core/updates_testing:
=============================

mageiawelcome-1.13-1.mga6
Comment 10 Lewis Smith 2017-07-25 21:38:47 CEST
Testing M6 x86

BEFORE the update: mageiawelcome-1.11-1.mga6
From GDM
 Gnome [Wayland] MageiaWelcome shows desktop "Gnome"
 Gnome X.org shows "Unknown"
From SDDM
 Gnome [Wayland] MageiaWelcome shows desktop "Unknown"
 Gnome X.org shows "Unknown"

AFTER update to: mageiawelcome-1.13-1.mga6
From SDDM
 Gnome [Wayland] MageiaWelcome shows desktop "Gnome Wayland"
 Gnome X.org shows "Gnome X.org"

Update good. Validating as it is for 64-bit, and there are many to do.
Advisory to follow (from Comment 9).

Whiteboard: (none) => MGA6-64-OK
Keywords: (none) => validated_update
CC: (none) => lewyssmith, sysadmin-bugs

Lewis Smith 2017-07-25 22:07:14 CEST

Whiteboard: MGA6-64-OK => MGA6-64-OK advisory

Comment 11 Mageia Robot 2017-07-26 00:07:57 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2017-0032.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.