After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760317 - When running from jhbuild side bar area is always un-accessible even when side bar is closed.
When running from jhbuild side bar area is always un-accessible even when sid...
Status: RESOLVED DUPLICATE of bug 761760
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-08 11:21 UTC by Alaf
Modified: 2016-02-22 15:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screen cast showing the bug. (944.98 KB, video/webm)
2016-01-08 11:21 UTC, Alaf
Details

Description Alaf 2016-01-08 11:21:33 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.
Comment 1 Alaf 2016-01-08 11:23:31 UTC
Also screenshot link: http://imgur.com/1Zd4PQZ
Comment 2 Jonas Danielsson 2016-01-08 11:24:39 UTC
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?
Comment 3 Alaf 2016-01-08 11:29:35 UTC
how do I check clutter version? jhbuild/checkout/clutter/NEWS says 1.24.2

no, my system version is normal.
Comment 4 Jonas Danielsson 2016-01-08 11:39:21 UTC
$ pkg-config --modversion clutter-1.0
1.22.2

$ jhbuild shell

$ pkg-config --modversion clutter-1.0
1.25.1
Comment 5 Alaf 2016-01-08 11:42:09 UTC
$ pkg-config --modversion clutter-1.0
1.22.4

$ jhbuild shell
$ pkg-config --modversion clutter-1.0
1.24.1
Comment 6 Alaf 2016-01-08 11:43:01 UTC
should I update/(build with master?) clutter in jhbuild and try again ?
Comment 7 Jonas Danielsson 2016-01-08 12:03:49 UTC
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?
Comment 8 Alaf 2016-01-08 14:00:58 UTC
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.
Comment 9 Alaf 2016-01-08 14:03:40 UTC
(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.
Comment 10 Jonas Danielsson 2016-01-08 14:17:37 UTC
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.
Comment 11 Alaf 2016-01-08 17:39:11 UTC
yes, this patch makes map to cover full area. but then upon toggling sidebar goes back and again leave the same blank area.
Comment 12 Jonas Danielsson 2016-02-22 15:51:44 UTC

*** This bug has been marked as a duplicate of bug 761760 ***