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 724686 - Can't push windows beetween workspaces (create new workspace with window)
Can't push windows beetween workspaces (create new workspace with window)
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: overview
3.11.x
Other Linux
: Normal blocker
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-02-18 20:00 UTC by Igor Gnatenko
Modified: 2014-02-23 08:59 UTC
See Also:
GNOME target: ---
GNOME version: 3.11/3.12


Attachments
workspaceThumbnails: Fix creating new workspace via DND (1.23 KB, patch)
2014-02-21 09:42 UTC, Florian Müllner
committed Details | Review
workspaceThumbnails: Really fix DND creating new workspaces (1.22 KB, patch)
2014-02-22 23:15 UTC, Florian Müllner
committed Details | Review

Description Igor Gnatenko 2014-02-18 20:00:24 UTC
I can't be more descriptive. I will attach screencast.

gnome-shell-3.11.5-3.fc21.x86_64
Comment 1 Igor Gnatenko 2014-02-18 20:04:01 UTC
Screencast: http://ignatenkobrain.fedorapeople.org/bgo724686.ogv
Comment 2 Igor Gnatenko 2014-02-21 06:21:22 UTC
can reproduce on 3.9.90.

I think that's blocker bug.
Comment 3 Florian Müllner 2014-02-21 09:42:03 UTC
Created attachment 269880 [details] [review]
workspaceThumbnails: Fix creating new workspace via DND

Commit 61a58ff3c981d4 replaced the (removed in commit 254afc50223a7)
MetaWindowActor.get_workspace() method by MetaWindow.get_workspace(),
but did not take into account that the return values differ - the
former returns the workspace index, the latter the workspace object.
Comment 4 drago01 2014-02-21 10:36:08 UTC
Review of attachment 269880 [details] [review]:

LG.
Comment 5 Florian Müllner 2014-02-21 10:49:38 UTC
Attachment 269880 [details] pushed as 89a2dc7 - workspaceThumbnails: Fix creating new workspace via DND
Comment 6 Igor Gnatenko 2014-02-22 22:20:07 UTC
colleagues, this patch improved new regression (thumbnails on other workspaces doesn't shows in some cases) and patch hasn't fixed main problem. after patch windows moving to existing workspace, but not create new workspace.
Comment 7 Florian Müllner 2014-02-22 23:14:47 UTC
(In reply to comment #6)
> colleagues, this patch improved new regression (thumbnails on other workspaces
> doesn't shows in some cases)

No. I've seen this problem occasionally before the patch was written - please file a separate bug for that.


> and patch hasn't fixed main problem

Whoops, the same problem fixed by the patch is present in more places. Patch coming.
Comment 8 Florian Müllner 2014-02-22 23:15:28 UTC
Created attachment 270020 [details] [review]
workspaceThumbnails: Really fix DND creating new workspaces

The same problem spotted in commit 89a2dc71fc1ed is present in
some more places, fix those as well.
Comment 9 Jasper St. Pierre (not reading bugmail) 2014-02-22 23:21:59 UTC
Review of attachment 270020 [details] [review]:

Yeah, I'm really sorry about this regression. It seems I wrote the patch before the API change to make meta_window_get_workspace() return MetaWorkspace* was made.
Comment 10 Florian Müllner 2014-02-22 23:31:01 UTC
Attachment 270020 [details] pushed as f460762 - workspaceThumbnails: Really fix DND creating new workspaces
Comment 11 Igor Gnatenko 2014-02-23 08:59:08 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > colleagues, this patch improved new regression (thumbnails on other workspaces
> > doesn't shows in some cases)
> 
> No. I've seen this problem occasionally before the patch was written - please
> file a separate bug for that.
Ok. Thx. I'll do.
> 
> > and patch hasn't fixed main problem
> 
> Whoops, the same problem fixed by the patch is present in more places. Patch
> coming.
Heh, thank you for new patch. It works!