Bug 1469832 - Incorrect "Add a New World Clock" dialog autocompletion list placement on Wayland.
Incorrect "Add a New World Clock" dialog autocompletion list placement on Way...
Status: NEW
Product: Fedora
Classification: Fedora
Component: gnome-clocks (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: gnome-sig
Fedora Extras Quality Assurance
Depends On:
Blocks: WaylandRelated
  Show dependency treegraph
Reported: 2017-07-11 19:08 EDT by Nikita Goncharuk
Modified: 2017-07-26 12:57 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Screenshot of incorrectly placed list. (914.84 KB, image/png)
2017-07-11 19:08 EDT, Nikita Goncharuk
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Desktop 782516 None None None 2017-07-11 19:08 EDT

  None (edit)
Description Nikita Goncharuk 2017-07-11 19:08:03 EDT
Created attachment 1296582 [details]
Screenshot of incorrectly placed list.

Description of problem:
"Add a New World Clock" dialog autocompletion list isn't displayed or placed incorrectly on multimonitor configuration on Wayland

Version-Release number of selected component (if applicable): 3.24.0

How reproducible:
Run Gnome-clocks on system with two monitors (Combined displays) on Gnome Wayland session.
Bug not happens on left monitor, but happens if "Add a New World Clock" dialog aligned with right edge of left screen and not happens if aligned with left edge of right monitor.

Steps to Reproduce:
1. Run gnome clocks
2. Switch to "World" tab in Gnome clocks
3. Click "New" button.
4. Move appeared "Add a New World Clock" dialog window on the right monitor, see attached screenshot (need 2 monitors, not tested on more, which monitor is primary seems no matter).
5. In "Add a New World Clock" dialog window's only text field start type some city's name.

Actual results:
Autocompletion list is moved right on horizontal resolution of left monitor.

In some cases Autocompletion list not shows at all: if monitors resolution is equal or right's horizontal resolution is smaller than left or "Add a New World Clock" dialog is closer to right edge of right monitor than left's monitor horizontal resolution. (Autocompletion list seems to be placed outside visible area).

Expected results:
Autocompletion list is placed just under "Search for a city" text input field aligned with it horizontally.

Additional info:
I've reported same in Gnome's bugzilla with more screenshots but it seems no one have read that. Nothing changed with the bug since that.

Probably similar bugs happens in other Gtk+3 apps but such lists are not very common so I haven't seen other examples.
Comment 1 Lukas Zachar 2017-07-26 12:57:49 EDT
For me on 3 monitor setup (external:secondary, external:primary, laptop:secondary), all are 1920x1080, f26, wayland gnome shell session.

gnome-clocks was on middle (primary) monitor but completion dialogue was shown in the middle of right (secondary) monitor.

Note You need to log in before you can comment on or make changes to this bug.