[Desktop-packages] [Bug 877012] Re: [panel] on a multi monitor setup the panel length appears to be calculated with the screen in focus at the time of execution
** Changed in: unity-2d (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-2d in Ubuntu. Matching subscriptions: dp-unity2d https://bugs.launchpad.net/bugs/877012 Title: [panel] on a multi monitor setup the panel length appears to be calculated with the screen in focus at the time of execution Status in unity-2d package in Ubuntu: Invalid Bug description: Release: Description:Ubuntu 11.10 Release:11.10 Package: unity-2d-panel: Installed: 4.12.0-0ubuntu1 Candidate: 4.12.0-0ubuntu1 Version table: Expected behavior: The panel calculates it's width for each monitor on which it is displayed covering the span from left edge to right. Actual Behavior: When I log in with an external monitor connected the panel at the top might be in one of two possible configurations. Either the larger screen will have a shortened panel (http://i.imgur.com/vEC8K.png) or the smaller screen will have one that extends past it's viewport (http://i.imgur.com/vWBM1.png). Both are highlighted red in the images. More importantly when I kill and restart the panel it will size itself to whichever screen has focus. That's how I was able to take screens of both. Other relevant information: I use xmonad with the following desktop and xsessions #/usr/share/gnome-session/sessions/xmonad.session [GNOME Session] Name=Xmonad session RequiredComponents=gnome-settings-daemon; RequiredProviders=windowmanager;panel; DefaultProvider-windowmanager=xmonad DefaultProvider-panel=unity-2d-panel DefaultProvider-notification=notify-osd #/usr/share/xsessions/xmonad-gnome-session.desktop [Desktop Entry] Name=Xmonad GNOME Comment=Tiling window manager TryExec=/usr/bin/gnome-session Exec=gnome-session --session=xmonad Type=XSession xmonad: Installed: 0.9.2-2build1 Candidate: 0.9.2-2build1 Version table: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/877012/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 877012] Re: [panel] on a multi monitor setup the panel length appears to be calculated with the screen in focus at the time of execution
All, Sorry to reopen this bug but it still exists in precise. I've attached a simplified patch that has sorted out the issue for me. It's not for inclusion but it's probably good for a quick lead on what a good solution would be. Also this handles both the initial geometry calculation when the panel is instantiated and also the situation when either screen sees a resolution change. I had not mentioned the second part of the problem before. ** Patch added: add slot resize to update the geometry https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/877012/+attachment/3240484/+files/use_screen.patch ** Changed in: unity-2d (Ubuntu) Status: Expired = Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-2d in Ubuntu. Matching subscriptions: dp-unity2d https://bugs.launchpad.net/bugs/877012 Title: [panel] on a multi monitor setup the panel length appears to be calculated with the screen in focus at the time of execution Status in “unity-2d” package in Ubuntu: Confirmed Bug description: Release: Description:Ubuntu 11.10 Release:11.10 Package: unity-2d-panel: Installed: 4.12.0-0ubuntu1 Candidate: 4.12.0-0ubuntu1 Version table: Expected behavior: The panel calculates it's width for each monitor on which it is displayed covering the span from left edge to right. Actual Behavior: When I log in with an external monitor connected the panel at the top might be in one of two possible configurations. Either the larger screen will have a shortened panel (http://i.imgur.com/vEC8K.png) or the smaller screen will have one that extends past it's viewport (http://i.imgur.com/vWBM1.png). Both are highlighted red in the images. More importantly when I kill and restart the panel it will size itself to whichever screen has focus. That's how I was able to take screens of both. Other relevant information: I use xmonad with the following desktop and xsessions #/usr/share/gnome-session/sessions/xmonad.session [GNOME Session] Name=Xmonad session RequiredComponents=gnome-settings-daemon; RequiredProviders=windowmanager;panel; DefaultProvider-windowmanager=xmonad DefaultProvider-panel=unity-2d-panel DefaultProvider-notification=notify-osd #/usr/share/xsessions/xmonad-gnome-session.desktop [Desktop Entry] Name=Xmonad GNOME Comment=Tiling window manager TryExec=/usr/bin/gnome-session Exec=gnome-session --session=xmonad Type=XSession xmonad: Installed: 0.9.2-2build1 Candidate: 0.9.2-2build1 Version table: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/877012/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 877012] Re: [panel] on a multi monitor setup the panel length appears to be calculated with the screen in focus at the time of execution
[Expired for unity-2d (Ubuntu) because there has been no activity for 60 days.] ** Changed in: unity-2d (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-2d in Ubuntu. Matching subscriptions: dp-unity2d https://bugs.launchpad.net/bugs/877012 Title: [panel] on a multi monitor setup the panel length appears to be calculated with the screen in focus at the time of execution Status in “unity-2d” package in Ubuntu: Expired Bug description: Release: Description:Ubuntu 11.10 Release:11.10 Package: unity-2d-panel: Installed: 4.12.0-0ubuntu1 Candidate: 4.12.0-0ubuntu1 Version table: Expected behavior: The panel calculates it's width for each monitor on which it is displayed covering the span from left edge to right. Actual Behavior: When I log in with an external monitor connected the panel at the top might be in one of two possible configurations. Either the larger screen will have a shortened panel (http://i.imgur.com/vEC8K.png) or the smaller screen will have one that extends past it's viewport (http://i.imgur.com/vWBM1.png). Both are highlighted red in the images. More importantly when I kill and restart the panel it will size itself to whichever screen has focus. That's how I was able to take screens of both. Other relevant information: I use xmonad with the following desktop and xsessions #/usr/share/gnome-session/sessions/xmonad.session [GNOME Session] Name=Xmonad session RequiredComponents=gnome-settings-daemon; RequiredProviders=windowmanager;panel; DefaultProvider-windowmanager=xmonad DefaultProvider-panel=unity-2d-panel DefaultProvider-notification=notify-osd #/usr/share/xsessions/xmonad-gnome-session.desktop [Desktop Entry] Name=Xmonad GNOME Comment=Tiling window manager TryExec=/usr/bin/gnome-session Exec=gnome-session --session=xmonad Type=XSession xmonad: Installed: 0.9.2-2build1 Candidate: 0.9.2-2build1 Version table: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/877012/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp