GNOME Bugzilla – Bug 760317
When running from jhbuild side bar area is always un-accessible even when side bar is closed.
Last modified: 2016-02-22 15:51:44 UTC
Created attachment 318477 [details] screen cast showing the bug. When Running maps from jhbuild shell, side bar area is always inactive/unaccessible when side bar is closed. Also map view does not move when opening or closing side bar.
Also screenshot link: http://imgur.com/1Zd4PQZ
Thanks for filing this! I see this when running in VirtualBox, but not jhbuild on my own thinkpad. And you do not see it in your system version? What versions of clutter are you running? On system vs jhbuild?
how do I check clutter version? jhbuild/checkout/clutter/NEWS says 1.24.2 no, my system version is normal.
$ pkg-config --modversion clutter-1.0 1.22.2 $ jhbuild shell $ pkg-config --modversion clutter-1.0 1.25.1
$ pkg-config --modversion clutter-1.0 1.22.4 $ jhbuild shell $ pkg-config --modversion clutter-1.0 1.24.1
should I update/(build with master?) clutter in jhbuild and try again ?
Not sure at all! :) Clutter was just a guess. Might be a GTK issue or a graphics issue or something totally different. Maybe try checking with GTK inspector? GTK_DEBUG=interactive when starting maps to see what that gray area is and what it is allocated to, when it is working and not? Do you have any ideas?
I think, looking into how sidebar opens and closes, and how it adjusts maps back to full when closing might help. As it appears, that is not happening.
(org.gnome.Maps:25127): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 152 This error comes in my regular maps. when closing sidebar.
The problem seem to be that the sidebar has a width even when it is not revealed. The sidebar is GtkRevealer. What does th einspector say about the sidebars allocation in the working case and the non-working? the following patch: diff --git a/src/mainWindow.js b/src/mainWindow.js index dc4e623..57e984f 100644 --- a/src/mainWindow.js +++ b/src/mainWindow.js @@ -104,7 +104,9 @@ const MainWindow = new Lang.Class({ this._busySignalId = 0; - this._grid.attach(this._sidebar, 1, 0, 1, 1); + Utils.once(this._sidebar, 'notify::child-revealed', (function() { + this._grid.attach(this._sidebar, 1, 0, 1, 1); + }).bind(this)); this._grid.show_all(); }, Made the map whole until I toggled and de-toggled the sidebar.
yes, this patch makes map to cover full area. but then upon toggling sidebar goes back and again leave the same blank area.
*** This bug has been marked as a duplicate of bug 761760 ***