Title bar of applications which start before Unity does, gets hidden under panel

Bug #759898 reported by Richard Merren
102
This bug affects 27 people
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Low
Unassigned
Unity
Invalid
Low
Unassigned
compiz (Ubuntu)
Invalid
Low
Unassigned
unity (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: unity

For dealing with an earlier bug I added a gnome terminal to my startup applications--Unity was not loading properly and this allowed me to do a clean shutdown. Now Unity is working properly, but I still have the Gnome Terminal in my startup applications (select system settings and it is "Startup Applications" under the "Personal" category.

When I log in, the terminal starts as expected, but it has its own menu bar (i.e. not integrated with the unity panel) and it is placed flush with the top of the screen (i.e. with the window's title bar behind the top panel). Everything is fully functional, and I can use the ALT-click-drag combo to move it out of the way. If I close the terminal and start a new one, the menu is integrated into the unity panel and it opens in the right place (just below, not behind, the top panel).

Again, everything is fully functional, it just appears that the app from the startup applications is not properly integrated into unity. I assume all this info was transmitted, but I am on Natty 11.04 beta, and all packages are up to date as of the time of this filing.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.6-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,regex,animation,grid,imgpng,vpswitch,unitymtgrabhandles,move,compiztoolbox,gnomecompat,mousepoll,place,resize,workarounds,session,wall,wobbly,expo,ezoom,staticswitcher,fade,scale,unityshell]
CompositorRunning: compiz
Date: Wed Apr 13 09:55:46 2011
DistUpgraded: Log time: 2011-03-31 22:23:06.607321
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 psmouse, 2.6.35-22-generic, 2.6.35-24-generic, x86_64: built
 fglrx, 8.840, 2.6.38-8-generic, x86_64: installed
 fglrx, 8.840, 2.6.38-7-generic, x86_64: installed
 virtualbox-ose, 4.0.4, 2.6.38-8-generic, x86_64: installed
 virtualbox-ose, 4.0.4, 2.6.38-7-generic, x86_64: installed
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/compiz-decorator
GraphicsCard:
 ATI Technologies Inc Redwood [Radeon HD 5600 Series] [1002:68c1] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:1449]
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InstallationMedia_: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InstallationMedia__: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InstallationMedia___: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InterpreterPath: /bin/dash
JockeyStatus: xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Enabled, In use)
MachineType: Hewlett-Packard HP Pavilion dv7 Notebook PC
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=59ba328b-3b67-4815-81de-8488735fba83 ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2
ProcVersionSignature__: Ubuntu 2.6.38-8.42-generic 2.6.38.2
ProcVersionSignature___: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Renderer: Unknown
SourcePackage: unity
UpgradeStatus: Upgraded to natty on 2011-04-11 (2 days ago)
dmi.bios.date: 05/17/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.07
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1449
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 65.19
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.07:bd05/17/2010:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr048D100000242B20000020000:rvnHewlett-Packard:rn1449:rvr65.19:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv7 Notebook PC
dmi.product.version: 048D100000242B20000020000
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.4+bzr20110411-0ubuntu1
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs 20090808ubuntu12
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu1
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Richard Merren (richard-merren) wrote :
Revision history for this message
Richard Merren (richard-merren) wrote :

Not sure what has been updated to affect this, but now the terminal menu is integrated into unity. But the window location is still incorrect...title bar is hidden under the top panel and flush with the top edge of the screen.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Looks like the terminal starts up before unity does, and hence the window comes a bit higher than normal. And when Unity starts up, the window titlebar gets hidden under the menu.

You'll somehow need to delay the startup so that the terminal starts up *after* unity.

summary: - Startup Application shows up with menu and bad location
+ Title bar of applications which start before Unity does, gets hidden
+ under panel
Revision history for this message
Martin Pool (mbp) wrote :

Other desktop environments handle this by shuffling the windows into the proper area when they start up.

Revision history for this message
Omer Akram (om26er) wrote :

A very simple test case is to start terminal and type 'unity' to restart unity and see the terminal is under the panel.

Changed in unity (Ubuntu):
importance: Undecided → Low
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Wilson (notgary-deactivatedaccount) wrote :

Is this still an issue in 12.04?

Changed in unity:
status: Confirmed → Incomplete
Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Omer Akram (om26er) wrote :

Thanks for the bug report. This particular bug has already been reported and is a duplicate of bug 861879, so is being marked as such. Any further discussion regarding the bug should occur in the other report. Feel free to report any other bugs you may find.

Changed in unity:
status: Incomplete → Triaged
importance: Undecided → Low
Changed in unity (Ubuntu):
status: Incomplete → Triaged
Changed in compiz:
status: New → Triaged
importance: Undecided → Low
Changed in compiz (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Omer Akram (om26er) wrote :

Sometimes its not really that important to always keep the oldest bug as the master, since reduplicating result in a lot of bug mail :-)

Revision history for this message
Aleksandr Panzin (jalexoid) wrote :

This happens not only before Unity starts, it happens a lot in cases where switching between multi monitors.

1) Connect second(external) monitor
2) Position the outputs vertically
3) Start an application
4) Move it to area of Monitor B(below Monitor A)
5) Close the application while in Monotor B
6) Disconnect Monitor B
7) Start the application

The application moves to a lower worspace and has the title bar under the top panel. Can't move it without closing the application.
Window manager needs to take the title bar(decorations) into account when positioning the newly opened windows.

Monitor A ir dimentioanlly smaller than Monotor B (as an example A = 1600x900 vs B = 1920x1080)

Happens constantly when I connect my TV to laptop, close any applications while they are on my TV and disconnect my TV from laptop.

Revision history for this message
Aleksandr Panzin (jalexoid) wrote :

PS: This is an issue in Precice(12.04)

Revision history for this message
TomasHnyk (sup) wrote :

I just experienced it on 12.10. See attached screenshot - pidgin shows up under launcher. Menu bar is fine though.

When I place a window under launcher and restart unity by typint unity into a terminl, the window does not get moved. Maybe this would be a solution.

Revision history for this message
Guillaume F (marsguo) wrote :

It is still an issue in 13.04. I use autostart with Empathy and Thunderbird, but only Thunderbird gets hidden behind the panel. This is very frustrating, and "normal" users won't know how to move the window with Alt.

Revision history for this message
Stephen M. Webb (bregma) wrote :

I notice that Thunderbird does not integrate properly with the Unity menus, in that it always shows its own menubar within its application window.

It sounds like what is going on is because Thunderbird is starting before the window manager, it uses the full screen geometry from X. Because it's not interacting properly with the window manager (as evidenced the lack of menu integration) it does not adjust itself properly to the new geometry available once the window manager has started.

Just a theory.

Revision history for this message
TomasHnyk (sup) wrote :

Adding a one second delay t ostartup application (in my case pidgin) solved my issue, as per instructions here: http://askubuntu.com/questions/28685/how-can-i-delay-a-specific-program-on-startup

Revision history for this message
Will Cooke (willcooke) wrote :

Sorry folks, but as part of the bug clean up ahead of 16.04 I'm marking this as invalid because it affects an Ubuntu release which is now unsupported. If you can still recreate this bug in a supported release please do open a new bug and we can triage it for consideration in the 16.04 development cycle.

Changed in compiz:
status: Triaged → Invalid
Changed in unity:
status: Triaged → Invalid
Changed in compiz (Ubuntu):
status: Triaged → Invalid
Changed in unity (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Mateusz Stachowski (stachowski-mateusz) wrote :

I don't know why you want us to open a new bug report.

This one describes the issue. And this is still a problem in 16.04.1 LTS fully updated.

Also it happens with global menu and LIM (locally integrated menus). The program can be covered by both panel and launcher or only by launcher.

Today with menus set to global part of terminal ended up under launcher. Most of its menus displayed in the window.

When I'm using LIM then Terminal is covered by both panel and launcher.

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.