Bug 874225 - keyboard applet doesn't show up and doesn't work - libgnomekbd changed
Summary: keyboard applet doesn't show up and doesn't work - libgnomekbd changed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cinnamon
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-07 17:53 UTC by Mads Kiilerich
Modified: 2012-11-27 05:18 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-27 05:17:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2012-11-07 17:53:41 UTC
cinnamon-1.6.4-1.fc18.x86_64
/usr/share/cinnamon/applets/keyboard/applet.js :

        let groups = this._config.get_group_names();
        if (groups.length > 1) {
            this.actor.show();
        } else {
            this.menu.close();
            this.actor.hide();
        }

The idea here is apparently that if only one keyboard layout is configured then the applet should remain invisible.

But something in Gnome / libgnomekbd-3.6.0-1.fc18.x86_64 has apparently changed. get_group_names no longer report the list of available layouts but ... 'something else'.

If the current layout is the default 'us' then groups will contain only that single element - 'English (US)'. The toggler will thus not be shown.

If several (more than two) layouts are configured and a non-us layout is selected then the list will only contain two elements, (for instance) 'Danish' and 'English (US)'.

This change also shows up in the output of 'setxkbmap -print'.

cinnamon needs to adapt to the new behaviour ... or convince libgnomekbd to change.

Comment 1 leigh scott 2012-11-07 19:16:09 UTC
Hi,

Can you forward this issue upstream please

https://github.com/linuxmint/Cinnamon/issues

Comment 2 Fedora Update System 2012-11-13 22:07:32 UTC
cinnamon-1.6.6-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/cinnamon-1.6.6-2.fc18

Comment 3 Fedora Update System 2012-11-14 01:30:44 UTC
Package cinnamon-1.6.6-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cinnamon-1.6.6-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18147/cinnamon-1.6.6-2.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-11-14 19:44:45 UTC
Package cinnamon-1.6.6-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cinnamon-1.6.6-3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18147/cinnamon-1.6.6-3.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-14 22:00:52 UTC
cinnamon-1.6.7-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/cinnamon-1.6.7-2.fc18

Comment 6 Fedora Update System 2012-11-27 05:18:00 UTC
cinnamon-1.6.7-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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