gmusicbrowser unity integration broken

Bug #765084 reported by Martydelaney3
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gmusicbrowser (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gmusicbrowser

1) Ubuntu 11.04 beta 2
2) gmusicbrowser 1.1.7-2
3) Expected gmusicbrowser to maximize correctly and be shown as open in the unity launcher (when the window is open).
4) gmusicbrowser does not have menu buttons when maximized and is slightly off correct positioning. It also does not show in the unity launcher as being active.

When using gmusicbrowser in the default shimmer desktop layout maximizing into unity operates incorrectly. It also does not display correctly in the unity launcher. When alt+tabbed into after maximizing the unity menu bar operates correctly. If then un-maximized and maximized again however, the bug returns. I'll provide screenshots of everything I've explained here.

Using an Asus eeePC 1005p (resolution: 1024x600)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gmusicbrowser 1.1.7-2 [modified: usr/share/gmusicbrowser/layouts/shimmer.layout]
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Mon Apr 18 14:13:11 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gmusicbrowser
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martydelaney3 (martydelaney3) wrote :
Revision history for this message
Martydelaney3 (martydelaney3) wrote :
Revision history for this message
Martydelaney3 (martydelaney3) wrote :
Revision history for this message
Martydelaney3 (martydelaney3) wrote :
Revision history for this message
Simon Steinbeiß (ochosi) wrote :

hey,
the shimmer layout doesn't sport a menubar (as you surely have already noticed), have you tried other layouts that do in fact have a menubar?
if not, would be great to see whether it's a layout-specific problem or a general gmusicbrowser-unity problem.
thanks in advance.

Revision history for this message
Manuel Fonseca (manuelfonseca) wrote :

Hi,

Changed from the default layout to the exaile layout, that uses a menu, and the player becomes usable and integrated with unity. With the default layout it shows the described problems.

So, I guess that it is a layout-specific problem.

Thanks for the suggestion.

Revision history for this message
Hornblende (hornblende) wrote :

It's weird: when i change from the default layout to the exaile one, it becomes usable with unity.
When i come back to the default layout it is still usable!
So it might not be linked entirely to the layout.

Revision history for this message
Quentin Sculo (squentin) wrote :

Sorry I didn't reply earlier, I never used unity before. I finally tested it with Virtualbox.

How did you maximized the window ?
fullscreen is a different from maximized, in fullscreen mode there is no window decoration at all, by default you can toggle the fullscreen mode with F11, but it seems there are some bugs with it and unity :
 - there is to be a bug with unity which makes it impossible to de-activate this mode if the window was created in this mode. And as gmb saves this mode on exit, that may be why you don't see it with another layout.
 - there is also a bug when using 2 monitors in unity and fullscreen windows, the top panel is not hidden as it should. (I found this when testing the emulation of 2 monitors in Virtualbox) This would correspond to your "slightly off correct positioning".

I couldn't reproduce the part about not being active in the launcher.

Revision history for this message
Hornblende (hornblende) wrote :

hi Quentin,
i'm using the shimmer version of gmb.
i have tested the fullscreen with gmb on unity (toggled with F11). If i close gmb while on full screen, it saves the configuration and when i start it again, it opens fullscreen.
But if i change the workspace(with ctrl alt +arrow), it still works : i can go back to the workspace with gmb on full screen by clicking on the launcher in the dock. But i can't go back to normal mode(not full screen)
To disable the full screen lock, i have to change the layout to exaile again, and then go back to the shimmer layout.

There is no window decoration for this layout (no close/minimize/maximize), this could be a problem.

When toggling to full screen mode again, it works this time and i can switch between full screen or not with F11...i don't understand this behavior...it seems erratic...

Revision history for this message
Hornblende (hornblende) wrote :

And sometimes the window decoration is here...maybe a bug from unity...

Revision history for this message
Hornblende (hornblende) wrote :

You are right, the fullscreen problem occurs when the windows opens at fullscreen.

But for the problem of this bug, it seems solved, when switching from the shimmer layout to exaile and then back to the shimmer layout.

Revision history for this message
Quentin Sculo (squentin) wrote :

to remove the fullscreen setting, you have to either
- run gmusicbrowser outside of unity, select the layout that is saved in fullscreen mode, un-fullscreen (F11), and save.
- or remove the line
  "fullscreen: 1"
 in ~/.config/gmusicbrowser/gmbrc there may be more than one line like this, removing all of them should be fine.

btw this bug seems to be due to compiz : https://bugs.launchpad.net/ubuntu/+source/unity/+bug/765422

Revision history for this message
Hornblende (hornblende) wrote :

Do you have an idea why the problem of being "active" in Unity launcher is solved by changing the layout and then going back to the first one?
When you change the layout, does gmb writes something?

I've also noticed that the shimmer layout is not well suited for netbook screens : 1024*600, and this problem is not related to unity but to Ubuntu on small resolutions in general. When gmb is maximized, it doesn't fit into the screen and goes beyond the workspace to the adjacent one. Whenever you click on it, the window moves upward or downward, and it is very difficult to select anything.
So this could be a problem linked to the resolution of the screen and seems rather old : http://ubuntuforums.org/showthread.php?t=1038767
And even evolution is affected : https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/488244

Does the "gmusicbrowser unity integration broken" bug affect people with higher resolutions?

Revision history for this message
Quentin Sculo (squentin) wrote :

Changing the layout, destroy the current window and creates a new one, so I guess that's why unity notices the window correctly after that. I've seen a few bug reports about unity loosing the active window, so I would say it's likely it's unity's fault.

About the resolution, yes that probably explains it. You should use a layout suited to your resolution anyway.
I guess I could add a message, when it is creating a window bigger than the screen, that propose using a smaller layout, I'll think about it.

Revision history for this message
Michael Villet (mvillet) wrote :

Another gmusicbrowser/Unity issue (gmusicbrowser 1.1.7, Ubuntu 11.04 with Unity desktop). If the dock is hidden (e.g. if gmusicbrowser window is maximized, or near the left hand side of the screen), clicking and dragging a song on the playlist causes the dock to become visible, possibly covering up useful information (this particularly interferes with use in layouts with the playlist on the left hand side of the window, such as the Lists, Library and Context layot).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gmusicbrowser (Ubuntu):
status: New → Confirmed
Revision history for this message
Manuel Tondeur (sinekonata) wrote :

I have found that With CCSM under the plugin "Window Rules" :
1. Adding class=Gmusicbrowser to the field "Non Minimizable Windows" breaks the "active yet invisible window" horrible bug.
2. Adding class=Gmusicbrowser to the field "Maximized" works around the "never starts maximized" bug but obviously you won't be able to un-maximize with that rule active.

Btw these described bugs happen to me in Unity 5.18 (12.04) independently of gMB layout. However, they disappear completely in Unity 2D. If it can help narrow the problem.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Closing this old report.

Changed in gmusicbrowser (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers