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 769604 - OSM edit dialog opens in wrong place under wayland
OSM edit dialog opens in wrong place under wayland
Status: RESOLVED FIXED
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-08-07 13:47 UTC by Andreas Nilsson
Modified: 2017-08-29 19:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (392.60 KB, image/png)
2016-08-07 13:47 UTC, Andreas Nilsson
  Details
contextMenu: Make OSM edit and export view dialogs modal (2.62 KB, patch)
2017-08-06 19:35 UTC, Marcus Lundblad
committed Details | Review
osmEdit: Make edit and account dialogs modal (1.34 KB, patch)
2017-08-06 19:36 UTC, Marcus Lundblad
committed Details | Review

Description Andreas Nilsson 2016-08-07 13:47:09 UTC
Created attachment 332885 [details]
screenshot

When I hit edit it doesn't open in the center of the screen.
Comment 1 Marcus Lundblad 2016-08-07 19:39:19 UTC
Does this also happen for other dialogs (such as the social network check-in dialog)?
Comment 2 Jonas Danielsson 2016-09-02 19:38:30 UTC
Is this still happening with latest shell/mutter/things?
Comment 3 Marcus Lundblad 2017-06-29 06:12:22 UTC
This seem to happen also with the "export as image" dialog. But not for the checkin dialog. One difference seems to be that the checkin dialog is modal. Not sure if that is the reason. Maybe the OSM edit (and account) and export dialogs should be modal in any case?
Comment 4 Jonas Ådahl 2017-06-29 06:59:29 UTC
There is currently no way to position dialogs under Wayland; unless they are modal, they are positioned like any other toplevel window. I know there are some that want to introduce relative initial positioning, but no-one has done the work to write the specification of how to do so.
Comment 5 Marcus Lundblad 2017-08-06 19:35:58 UTC
Created attachment 357068 [details] [review]
contextMenu: Make OSM edit and export view dialogs modal

Also add a property carrying the main window (for tracking
dialog modality).
Comment 6 Marcus Lundblad 2017-08-06 19:36:20 UTC
Created attachment 357069 [details] [review]
osmEdit: Make edit and account dialogs modal
Comment 7 Marcus Lundblad 2017-08-29 19:46:46 UTC
Attachment 357068 [details] pushed as 396612f - contextMenu: Make OSM edit and export view dialogs modal
Attachment 357069 [details] pushed as d7eccfa - osmEdit: Make edit and account dialogs modal