Corrections Required in Indicators

Bug #1279186 reported by ITPROJECTS on 2014-02-12
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Super Wingpanel
Low
Unassigned

Bug Description

At the moment there is a bug in the super-wingpanel, because it wrongly sorts in reverse the appmenu-indicator application's menus (Files,Edit,Help).

Wrong way - Help,Edit,Files;
Right way - Files,Edit,Help;
Fix is attached.

Image of the buggy behaviour:

http://s12.postimg.org/4i7jtb0m5/buggy_image.png

Image of the fixed behaviour:

http://s18.postimg.org/c6pa1lkih/fixed_image.png

A fix is posssible by slightly changing PrimaryWindow.vala:

        private void create_entry (IndicatorWidget entry)
        {
            if (entry.get_indicator ().get_name () == "libdatetime.so")
            {
                clock_menubar.prepend (entry);
            }

            else if (entry.get_indicator ().get_name () == "libappmenu.so")
            {
//FIXES APPMENU TO LOOK GREAT,BUT NOT IN REVERSE
                apps_menubar.append (entry);
            }

            else
            {
                indicator_menubar.insert_sorted (entry);
            }
        }

Related branches

ITPROJECTS (itprojects) wrote :
ITPROJECTS (itprojects) on 2014-02-12
description: updated
Heath Paddock (heathbar) wrote :

Global menu support was intentionally removed from the stable branch because it has a memory leak. If you want to use it anyway, remove the stable PPA and add the unstable PPA.

Changed in super-wingpanel:
importance: Undecided → Low
status: New → Confirmed
Heath Paddock (heathbar) wrote :

If you don't want to use the unstable PPA, you could simply blacklist 'libappmenu.so' with the following command:

gsettings set org.pantheon.desktop.super-wingpanel blacklist "['libappmenu.so']" && killall super-wingpanel

ITPROJECTS (itprojects) wrote :

Good advice, thanks!

HannaVid (hannav) wrote :

The buttons of sound, network, notifications, bluetooth and shutdown does not work when clicked. Right side of up bar does not work and freeze.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers