Wrong position of the arrow in some indicators

Bug #1007630 reported by jmikelf
114
This bug affects 22 people
Affects Status Importance Assigned to Milestone
Wingpanel
Fix Released
Low
Tom Beckmann

Bug Description

I love the new pop-over for elementary indicators, however, I've found some inconsistency: while the arrow seems to be centered in some indicators, in others it is bad located. Here some examples:
http://ubuntuone.com/1rnlhQv74vcxxeavuSxYnj

Related branches

Revision history for this message
jmikelf (jmikelf) wrote :
Changed in wingpanel:
status: New → Confirmed
Revision history for this message
Tom Beckmann (tombeckmann) wrote :

Sorry, I can't really do anything against this. Gtk doesn't allow moving menus, they are always moved back to their old position, so the arrow is already at the best place possible.. :(

Changed in wingpanel:
status: Confirmed → Won't Fix
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

I take it hacking real popovers in there is not an option?

I'll leave it confirmed for now and assign to ~elementary-driveby, maybe someday somebody figures out how to do it.

Changed in wingpanel:
status: Won't Fix → Confirmed
assignee: nobody → elementary Drive-by Contributors (elementary-driveby)
importance: Undecided → Low
Revision history for this message
jmikelf (jmikelf) wrote : Re: [Bug 1007630] Re: Wrong position of the arrow in some indicators

Thanks, but what a pity... i hope you guys can do something for luna+1
On 06/02/12 12:57:14, Bug 1007630 wrote:
> Sorry, I can't really do anything against this. Gtk doesn't allow
> moving<br>menus, they are always moved back to their old position, so the arrow
> is<br>already at the best place possible.. :(<br><br>** Changed in: wingpanel<br>
> Status: Confirmed => Won't Fix<br><br>-- <br>You received this
> bug notification because you are subscribed to the
> bug<br>report.<br>https://bugs.launchpad.net/bugs/1007630<br><br>Title:<br> Wrong position of the arrow in some indicators<br><br>Status in
> WingPanel:<br> Won't Fix<br><br>Bug description:<br> I love the new pop-over for
> elementary indicators, however, I've found some inconsistency: while the arrow
> seems to be centered in some indicators, in others it is bad located. Here
> some examples:<br> http://ubuntuone.com/1rnlhQv74vcxxeavuSxYnj<br><br>To
> manage notifications about this bug go
> to:<br>https://bugs.launchpad.net/wingpanel/+bug/1007630/+subscriptions<br>

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Here's a screencast of similar issues I've had with the menu positions. It really feels broken when the WiFi indicator shows up half off the screen or the Dropbox indicator (I know, not default) flips out and jumps all over the place.

http://youtu.be/Fbx1_a7lvVE

Revision history for this message
Troy Sankey (sankeytm) wrote :

I don't think my menus are as glitchy as Cassidy's, but the menu for the rightmost item (power button) is always off-center because there is no more room for the arrow to "slide". The solution would be to mimic gnome-shell (i.e. use a half-arrow).

The attached image compares elementary with gnome-shell. I have added dotted lines to clearly demonstrate the alignment of the arrows.

Revision history for this message
Stego (stegomon) wrote :

same for me, though, the alignment is correct when i change to another indicator and back again..

Revision history for this message
bwat47 (bwat47) wrote :

@Troy. I see the same glitchiness that Cassidey shows on every single machine I've tried luna on. I'm pretty sure this happens to everyone... At random the ENTIRE indicator menu will open too far to the right (so part of it is off screen) and it is incredibly annoying, and ruins the near perfect polish that luna has achieved :( It might seem like a small thing but it actually caused me to switch away from luna because it annoyed me so much (I'm kind of OCD when it comes to things like this lol. any kind of ugly random visible behavior like that really gets under my skin every time I see it).

Cody Garver (codygarver)
Changed in wingpanel:
milestone: none → 0.3-beta1
status: Confirmed → In Progress
assignee: elementary Drive-by Contributors (elementary-driveby) → Tigran Gabrielyan (tigrangab)
Revision history for this message
Albert (optimisme) wrote :

Hi,

I think this problem was related with the "margins" one, now fixed thanks to:

https://code.launchpad.net/~tigrangab/wingpanel/bugfix_1091517/+merge/180035

I think the bugs are related because now wingpanel sets the indicator margin before connecting the "insert", so there are no more jumps, I can't reproduce it.

But if you download this branch:

https://code.launchpad.net/~tigrangab/wingpanel/arrow-placement/+merge/180246

That does not have the fixed "margins" source, the issues are back againt, but these issues are not related with the new "arrow positioning" source but the "margins" one.

To prove my theory I downloaded both branches and then I fixed both problems. I can't reproduce the displaced "wireless" indicator anymore. And the arrows look properly positioned:

I recorded a video:

https://www.dropbox.com/s/5yif5okdf3d79q5/fix-indicators.mp4

Revision history for this message
bwat47 (bwat47) wrote :

Will there be an update to luna with these fixes? Luna's interface is so amazingly polished, which makes this issue stand out all that much more. Its incredibly annoying and ruins the experience when the indicators are always jumping around and/or appearing slightly offscreen. Even a ppa with fixed packages would be amazing...

Cody Garver (codygarver)
Changed in wingpanel:
assignee: Tigran Gabrielyan (tigrangab) → Tom Beckmann (tombeckmann)
status: In Progress → Fix Committed
Revision history for this message
Viktor Basso (viktor-basso) wrote :

Hello again!
I think (and could be wrong) the problem is not the arrow, it is where the popup window opens.
The popup windows don't have "half-arrows", so when the popup window opens too far to the right, the arrow is at it's maximum left, and that is why the arrow looks off-aligned.

I did a copy pasta python indicators to test it out.

Included screenshot.

Revision history for this message
Tom Beckmann (tombeckmann) wrote :

The position of the menus is defined by the positioning function hard-coded in Gtk for menubars. It would most probably require quite some hacks to make it place its menus elsewhere, if it would work at all without making it jump around during the animation. The best solution to this problem would be using GtkPopovers, if that is possible or a custom architecture for the menus.

Revision history for this message
Viktor Basso (viktor-basso) wrote :

Yeah Gnome 3.12 is just around the corner on the ppa :)

Revision history for this message
Viktor Basso (viktor-basso) wrote :

Wouldn't it be possible just to fork the indicators applet and change it to use GtkPopovers?

Changed in wingpanel:
status: Fix Committed → Fix Released
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.