globalmenu moves

Bug #1282743 reported by marco murakami
100
This bug affects 23 people
Affects Status Importance Assigned to Milestone
Super Wingpanel
Confirmed
Undecided
Unassigned

Bug Description

Hi, I am using super-wingpanel 0.2.3-0~184~ubuntu12.04.1

I have the following issue:

The globalmenu moves to the right when, for example, i have the terminal window and then open pantheon-files. If I close pantheon-files and reopen then the global menu moves even further. I guess is appending the menus to the left but i don't know why.

I attach a screenshot.

Thanks!!!

Related branches

Revision history for this message
marco murakami (murakami-marco) wrote :
Revision history for this message
kapitanluffy pirata (kapitanluffy) wrote :

I am also experiencing this too. The global menu moves when I change windows using alt+tab

Revision history for this message
sajithd (sajithdilshan) wrote :

This bug seems be happening when switching windows. Global menu appends space which is same as the window's title to the left side of the wingpanel and it seems like when appending space Global menu adds space relative to the previous starting position of the menu (not from the absolute starting position of the menu)

Revision history for this message
sajithd (sajithdilshan) wrote :

By going through the code, I just noticed that you've limited the window's title to 30 characters. BTW wouldn't it be better when the tittle is longer than 30 characters, it is ended with '...'. As an example "THIS IS A REALLY LONG TITLE...". I suppose you were going to do something similar since you've extracted only 27 characters. :)

Since title is fixed length there is no need to add padding/margin to the global menu and I couldn't find where the padding/margin is added (cause for this bug)

Changed in super-wingpanel:
status: New → Confirmed
Revision history for this message
Juneseok Kim (zunonia) wrote :

I love this package super-wingpanel.
I use super-wingpanel version 0.2.3-0~187~ubuntu12.04.1
Also, I find this bug. In my case, Application menu double-click happened this bug. It goes right-side to 5-pixel(?).

Revision history for this message
Juneseok Kim (zunonia) wrote :

this bug effected to indicator.

Revision history for this message
angelique (ange) wrote :

Ugly hack to hide empty menuitems:

add to /usr/share/themes/elementary/gtk-3.0/apps.css:

.composited-indicator.menuitem{
padding:0;
-GtkMenuItem-horizontal-padding:0;
}

Revision history for this message
marco murakami (murakami-marco) wrote :

Please try this and let me know if this works. At least for me, it does.

In IndicatorMenubar.vala search for this method:

public void push_back (IndicatorWidget item) {
            if (sorted_items.index (item) >= 0)
                return; // item already added

            //sorted_items.append (item);
            sorted_items.insert (item, item.get_indicator().get_entries().size);

            apply_new_order.begin ();
        }

Change the append for insert.

I can't figure it out why remains the memory leak issue.

Anyone has any idea??

Revision history for this message
Korbinian W. (0-k-h) wrote :

It works for me, too.

Revision history for this message
cgian (cgiannakidis) wrote :

Hi
I come back with this bug and i would like to ask where can i find the IndicatorMenubar.vala file in my system so i can make the change .I have installed super-wingpanel and the global menu in elementary os luna .
Thank you.

Revision history for this message
Ben Larsson (bentagtag) wrote :

I Would Like To Know Where I Can Find The IndicatiorMenubar.vala File.

Revision history for this message
MikZyth (mikzyth) wrote : Re: [Bug 1282743] globalmenu moves

Hi.
It is in the source code.
You can look through the source here:
http://bazaar.launchpad.net/~heathbar/super-wingpanel/stable/files

The path in the source is: /src/Widgets/IndicatorMenubar.vala
So, to fix the bug you should download the source code, make the changes and recompile the program.

Good luck.

20.01.2015, в 2:37, Ben Larsson написал(а):

> I Would Like To Know Where I Can Find The IndicatiorMenubar.vala File.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1282743
>
> Title:
> globalmenu moves
>
> Status in super-wingpanel:
> Confirmed
>
> Bug description:
> Hi, I am using super-wingpanel 0.2.3-0~184~ubuntu12.04.1
>
> I have the following issue:
>
> The globalmenu moves to the right when, for example, i have the
> terminal window and then open pantheon-files. If I close pantheon-
> files and reopen then the global menu moves even further. I guess is
> appending the menus to the left but i don't know why.
>
> I attach a screenshot.
>
> Thanks!!!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/super-wingpanel/+bug/1282743/+subscriptions

Revision history for this message
Ben Larsson (bentagtag) wrote :

Thanks I WIll Work On That .... And Where Can I Download The 'elementary-white.svg' ..

Revision history for this message
Ben Larsson (bentagtag) wrote :

It Would Be Kind If You Upload The Patched IndicatiorMenubar.vala File ...

Revision history for this message
MikZyth (mikzyth) wrote :

Sorry, but only the project maintainer can do this. You should ask Heath Paddock, he's the developer and maintainer.

P.S. I don't know about elementary-white.svg. Maybe it's just the elemantary OS logo. You can try searching the Internet for it.

20.01.2015, в 4:18, Ben Larsson написал(а):

> It Would Be Kind If You Upload The Patched IndicatiorMenubar.vala File
> ...
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1282743
>
> Title:
> globalmenu moves
>
> Status in super-wingpanel:
> Confirmed
>
> Bug description:
> Hi, I am using super-wingpanel 0.2.3-0~184~ubuntu12.04.1
>
> I have the following issue:
>
> The globalmenu moves to the right when, for example, i have the
> terminal window and then open pantheon-files. If I close pantheon-
> files and reopen then the global menu moves even further. I guess is
> appending the menus to the left but i don't know why.
>
> I attach a screenshot.
>
> Thanks!!!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/super-wingpanel/+bug/1282743/+subscriptions

Revision history for this message
Ben Larsson (bentagtag) wrote :

Thanks Anyway ....

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.