[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-14 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336145|none|committed

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-14 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336146|none|committed

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-14 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336172|accepted-commit_now |committed

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-14 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Status|NEW |RESOLVED

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-14 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336173|accepted-commit_now |committed

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-14 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #337556|none|committed

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #36 from François Guerraz --- Review of attachment 337556: Tested on mutter-3.22.1 on arch 64, works well. -- You are receiving this mail because: You are on the CC list for the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #35 from Sjoerd Simons --- Review of attachment 337556: Looks good to me, tested the set with this patch as opposed to its previous iteration and everything seems happy as expected -- You are receiving this mail

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336172|reviewed|accepted-commit_now

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336140|0 |1 is obsolete|

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-12 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #31 from Sjoerd Simons --- Daniel i meant what gtk+ version, what mutter version did you apply the patches on what's your screen setup (one hidpi, other normal dpi? or?) The patches from Jonas are enough to solve the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #30 from Daniel Buch --- Eventually the program will crash with this: (gnome-calculator:9872): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #29 from Daniel Buch --- This behavior persist even though i patch these mutter patches. As a last comment, i discovered that the shrinking problem, is widget instance-wise. So clicking one button and the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #28 from Daniel Buch --- Created attachment 337455 --> https://bugzilla.gnome.org/attachment.cgi?id=337455=edit Popup positioning This shows that popup position (x,y) is _NOT_ multiplied by scaling factor.

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #27 from Daniel Buch --- Created attachment 337454 --> https://bugzilla.gnome.org/attachment.cgi?id=337454=edit GtkMenu-Click-2 -- You are receiving this mail because: You are on the CC list for the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #26 from Daniel Buch --- Created attachment 337453 --> https://bugzilla.gnome.org/attachment.cgi?id=337453=edit GtkMenu-Click-1 This is when i click once, next will be shrink further by factor two. Next

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #25 from Daniel Buch --- Created attachment 337452 --> https://bugzilla.gnome.org/attachment.cgi?id=337452=edit Daniel setup info -- You are receiving this mail because: You are on the CC list for the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #24 from Sjoerd Simons --- Daniel can you indicate how exactly you rpreoduce the issue and what your setup is, there might be some subtilities that these patches haven't covere ofcourse. -- You are receiving this

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-09 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #23 from Daniel Buch --- (In reply to djb from comment #22) > (In reply to Daniel Buch from comment #21) > > I installed a built with attachment 336172 [details] [review] [review], and > > for me it > >

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-09 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 djb changed: What|Removed |Added CC||db0...@gmail.com --- Comment #22

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-08 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #21 from Daniel Buch --- I installed a built with attachment 336172, and for me it sadly doesn't work for me. Any news i missed? -- You are receiving this mail because: You are on the CC list for the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-10-04 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #20 from Sjoerd Simons --- (In reply to Jonas Ådahl from comment #19) > (In reply to Sjoerd Simons from comment #16) > > Review of attachment 336172 [details] [review] [review]: > > > > The initial case block doesn't

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-29 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #19 from Jonas Ådahl --- (In reply to Sjoerd Simons from comment #16) > Review of attachment 336172 [details] [review]: > > The initial case block doesn't actually happen as _meta_window_shared_new > will set the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-28 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Carlos Garnacho changed: What|Removed |Added CC||carl...@gnome.org

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-28 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #17 from Sjoerd Simons --- Review of attachment 336173: fwiw i don't have commit access on git.gnome anymore, so please commit for me ;) -- You are receiving this mail because: You are on the CC list for the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-28 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #16 from Sjoerd Simons --- Review of attachment 336172: The initial case block doesn't actually happen as _meta_window_shared_new will set the initial monitor via meta_screen_calculate_monitor_for_window, which means

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-27 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336172|none|reviewed

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-27 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Jonas Ådahl changed: What|Removed |Added Attachment #336173|none|accepted-commit_now

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-26 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #13 from Sjoerd Simons --- Great to hear. FWIW i reproduce the issue by running mutter with: MUTTER_DEBUG_NUM_DUMMY_MONITORS=2 MUTTER_DEBUG_DUMMY_MONITOR_SCALES=2,1 iotw dual monitor setup, left (primary) monitor

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #11 from Sjoerd Simons --- With the last 2 patches on top of those from Jonas the issue is fixed for me. The reason why i was apparently still hitting it is that the configure event is triggered by

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #10 from Sjoerd Simons --- Created attachment 336173 --> https://bugzilla.gnome.org/attachment.cgi?id=336173=edit wayland/xdg-shell: update popup window monitor early As meta_window_place_with_placement_rule will

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #9 from Sjoerd Simons --- Created attachment 336172 --> https://bugzilla.gnome.org/attachment.cgi?id=336172=edit wayland/xdg-popup: Force monitor of the top-level Directly set the monitor of the toplevel window for

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #8 from Jonas Ådahl --- (In reply to Sjoerd Simons from comment #7) > Seems that even with these two, the configure on the non-hdpi screen still > gets a width/height half of the requested one The configure event of

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #7 from Sjoerd Simons --- Seems that even with these two, the configure on the non-hdpi screen still gets a width/height half of the requested one -- You are receiving this mail because: You are on the CC list for

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #6 from Jonas Ådahl --- Created attachment 336146 --> https://bugzilla.gnome.org/attachment.cgi?id=336146=edit wayland/xdg-shell: Scale configure relative popup coordinate The parent local popup coordinate needs

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Sjoerd Simons changed: What|Removed |Added CC||sjo...@luon.net ---

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #3 from Jonas Ådahl --- (In reply to Bjørn Lie from comment #2) > Created attachment 336142 [details] > With patch > > Works for me, but if possible, look at the oversize in the attached > screenshot. > > This is

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #2 from Bjørn Lie --- Created attachment 336142 --> https://bugzilla.gnome.org/attachment.cgi?id=336142=edit With patch Works for me, but if possible, look at the oversize in the attached screenshot. This is

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-23 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 --- Comment #1 from Jonas Ådahl --- Created attachment 336140 --> https://bugzilla.gnome.org/attachment.cgi?id=336140=edit wayland/xdg-shell: Scale positioner coordinates When the monitor is scaled (i.e. HiDPI scaling) the

[Wayland-bugs] [Bug 771841] [Wayland] Drop-down menus are broken in position and size on HiDPI screens

2016-09-22 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771841 Michael Catanzaro changed: What|Removed |Added CC|