[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 bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772096] Dual Monitor: Menu and ComboBox mispositioned

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=772096

--- Comment #9 from Byron Clark  ---
The context menu in nautilus is also misplaced.

Combo Boxes definitely fixed.
Context Menus still misplaced.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772096] Dual Monitor: Menu and ComboBox mispositioned

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=772096

--- Comment #8 from Byron Clark  ---
After upgrading to gtk+ 3.22 (distro version: 3.22.1+8+ge11df6c-2), the issue
appears to be mostly resolved. The only place I see it now is for right click
context menus in gnome-terminal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 98236] Middle mouse button hard to hit on dell touchpad

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98236

Peter Hutterer  changed:

   What|Removed |Added

 CC||peter.hutte...@who-t.net

--- Comment #1 from Peter Hutterer  ---
in tp_init_softbuttons(), edit the width to e.g. 12mm, does that help? At what
size does it become useful?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772875] [wayland] can't run application as root using sudo

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=772875

--- Comment #3 from Mohammed Sadiq  ---
Hm.. Lots of newbies will have hard time to move from X11 to wayland then.
Yeah, I agree, this will improve security tho.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[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 because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 98236] Middle mouse button hard to hit on dell touchpad

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98236

Bug ID: 98236
   Summary: Middle mouse button hard to hit on dell touchpad
   Product: Wayland
   Version: unspecified
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: libinput
  Assignee: wayland-bugs@lists.freedesktop.org
  Reporter: sjo...@luon.net

On dell touchpads the middle mouse area is shrunk by libinput as there is a
visual guide (a small line in the middle ofthe touchpad). 

However this makes it very hard to hit without looking at the touchpad
(including moving ones hand aside as it often hovers over the line). Also in
low-light conditions the visual guide just isn't easily visible, making things
even more awkward.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772875] [wayland] can't run application as root using sudo

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=772875

Emmanuele Bassi (:ebassi)  changed:

   What|Removed |Added

 CC||eba...@gmail.com

--- Comment #2 from Emmanuele Bassi (:ebassi)  ---
To further elaborate: the appropriate way to run gedit with sudo is:

  set EDITOR=gedit
  sudo -e /etc/some/file/owned/by/root

which will run gedit in your session, on a temporary file, and then sudo will
swap the temporary file with the target.

If you want to just browse files, GVFS now has an 'admin:' URI scheme which
will let you open files via appropriate privilege escalation through polkit.

In short: there is no reason whatsoever to run a GUI application — with its
unknown security surface, using various dependencies at build and run time,
themselves with unknown security surface — as root.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772875] [wayland] can't run application as root using sudo

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=772875

Matthias Clasen  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||mcla...@redhat.com
 Resolution|--- |NOTABUG

--- Comment #1 from Matthias Clasen  ---
Not a bug, per se. Running graphical applications as root in this way is not
the recommended way to go about things.

If you insist,
XDG_RUNTIME_DIR=/run/user/$PID gedit
will work as root

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 766284] [Wayland] gtk_window_present() not working

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=766284

--- Comment #19 from Michael Catanzaro  ---
(In reply to Michael Catanzaro from comment #18)
> I will debug further soon and respond to Matthias.

Nevermind, there was the xdg-shell protocol bump so I'm stuck testing the GDK
X11 backend right now. Will check it again in a month or two after I upgrade to
F25.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772875] New: [wayland] can't run application as root using sudo

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=772875

Bug ID: 772875
   Summary: [wayland] can't run application as root using sudo
Classification: Platform
   Product: gtk+
   Version: 3.21.x
OS: Linux
Status: NEW
  Severity: major
  Priority: Normal
 Component: Backend: Wayland
  Assignee: gtk-b...@gtk.org
  Reporter: sa...@sadiqpk.org
QA Contact: gtk-b...@gtk.org
CC: r...@robster.org.uk, wayland-bugs@lists.freedesktop.org
 GNOME version: ---

No application can be run as root.

Eg: 'sudo gedit' Gives the following output:

on Debian testing:
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect:
Connection refused

(gedit:3460): Gtk-WARNING **: cannot open display: :0

Version details:
gnome-shell: 3.22.0
wayland-protocols: 1.7
libwayland-bin: 1.11

on Fedora 24:
No protocol specified
Unable to init server: Could not connect: Connection refused

(gedit:2349): Gtk-WARNING **: cannot open display: :0

Version details:
gnome-shell: 3.20
wayland-protocols: 1.4
libwayland-server: 1.10

Please reassign to the right module if not related to gtk+ (or forward to
wayland if it's an upstream bug)

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 766284] [Wayland] gtk_window_present() not working

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=766284

Michael Catanzaro  changed:

   What|Removed |Added

 Status|REOPENED|NEEDINFO
  Component|General |Backend: Wayland
Version|unspecified |3.22.x
   Assignee|epiphany-ma...@gnome.bugs   |gtk-b...@gtk.org
Product|epiphany|gtk+
 QA Contact|epiphany-ma...@gnome.bugs   |gtk-b...@gtk.org

--- Comment #18 from Michael Catanzaro  ---
(In reply to Mohammed Sadiq from comment #17)
> As this bug is assigned to epiphany, can the Bug 771231 be detached, and set
> as a separate bug?

I think it is a duplicate; there's little change that this is an Epiphany
issue. I will debug further soon and respond to Matthias. Setting NEEDINFO
against myself in the meantime.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 766284] [Wayland] gtk_window_present() not working

2016-10-13 Thread epiphany
https://bugzilla.gnome.org/show_bug.cgi?id=766284

--- Comment #17 from Mohammed Sadiq  ---
As this bug is assigned to epiphany, can the Bug 771231 be detached, and set as
a separate bug?

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 762618] wayland: Switching between fullscreen and unfullscreen using F11 in google-chrome causes gnome-shell to hang

2016-10-13 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=762618

--- Comment #12 from Olivier Fourdan  ---
FWIW in Wayland, this issue is mitigated in both gtk+ and Xwayland with the
following patches:

 - gtk+: https://git.gnome.org/browse/gtk+/commit/?id=b52818
 - Xwayland: https://cgit.freedesktop.org/xorg/xserver/commit/?id=88e981e

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772840] [Wayland] clutter stage subsurface needs clipping on Wayland

2016-10-13 Thread clutter
https://bugzilla.gnome.org/show_bug.cgi?id=772840

Olivier Fourdan  changed:

   What|Removed |Added

   See Also||https://bugzilla.gnome.org/
   ||show_bug.cgi?id=771320

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 771320] [Wayland] Maps widget is displayed at wrong position inside gnome-contacts

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771320

Olivier Fourdan  changed:

   What|Removed |Added

   See Also||https://bugzilla.gnome.org/
   ||show_bug.cgi?id=772840

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 771320] [Wayland] Maps widget is displayed at wrong position inside gnome-contacts

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771320

--- Comment #18 from Olivier Fourdan  ---
Positioning is solved on the gtk+ side with this bug here, but clipping is not
implemented.

For this purpose, I filed bug 772840 against clutter to follow up on the
clipping part.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 771320] [Wayland] Maps widget is displayed at wrong position inside gnome-contacts

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771320

Olivier Fourdan  changed:

   What|Removed |Added

 Blocks||772840

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 772840] New: [Wayland] clutter stage subsurface needs clipping on Wayland

2016-10-13 Thread clutter
https://bugzilla.gnome.org/show_bug.cgi?id=772840

Bug ID: 772840
   Summary: [Wayland] clutter stage subsurface needs clipping on
Wayland
Classification: Platform
   Product: clutter
   Version: git master
OS: Linux
Status: NEW
  Severity: major
  Priority: Normal
 Component: ClutterStage
  Assignee: clutter-ma...@gnome.bugs
  Reporter: ofour...@redhat.com
QA Contact: clutter-ma...@gnome.bugs
CC: gn...@genodeftest.de, jad...@gmail.com,
ofour...@redhat.com, r...@robster.org.uk,
tec...@gmail.com, wayland-bugs@lists.freedesktop.org
Depends on: 771320
Blocks: 757579
 GNOME version: 3.19/3.20

+++ This bug was initially created as a clone of Bug #771320 +++

The *positioning* of the GtkClutterEmbed widget and clutter stage should be
fixed with the patch from bug 771320 in gtk+, so now the widget moves along
with teh scroll window, but because it's using a subsurface on Wayland, it's
not clipped inside the scroll window/toplevel, so the widget will appear
floating around, sometimes outside of the toplevel window.

The goal of this bug is to implement clipping for the subsurface as used by
clutter under Wayland.

One posisbility is to use the viewporter extension, but it's not implemented in
mutter yet, so would be good to have a fallback solution as well, for when
viewporter is not supported.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 771320] [Wayland] Maps widget is displayed at wrong position inside gnome-contacts

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771320

Olivier Fourdan  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 771320] [Wayland] Maps widget is displayed at wrong position inside gnome-contacts

2016-10-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=771320

Olivier Fourdan  changed:

   What|Removed |Added

 Attachment #337494|accepted-commit_now |committed
 status||

--- Comment #17 from Olivier Fourdan  ---
Comment on attachment 337494
  --> https://bugzilla.gnome.org/attachment.cgi?id=337494
[PATCH v2.1] gdkwindow: configure native windows in move_native_children()

attachment 337494 pushed with requested changes to git master as commit 9e2b1ad
and to branch "gtk-3-22" as commit 12579fe - gdkwindow: configure native
windows in move_native_children()

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[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
 status||

--- Comment #34 from Jonas Ådahl  ---
Review of attachment 336172:

Marking as a-c-n. Ihis patch doesn't stop the re-scaling would the parent
window move, since the scaling that is left out is the not-to-be-run "avoid
jumping-back-and-forth-between-scales" scaling, so looks good to me.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[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||

--- Comment #33 from Jonas Ådahl  ---
Created attachment 337556
  --> https://bugzilla.gnome.org/attachment.cgi?id=337556=edit
wayland/xdg-shell: Scale positioner coordinates

When the monitor is scaled (i.e. HiDPI scaling) the placement coordinates
ere still in unscaled xdg_surface window geometry coordinate space when
used to place the window. Fix this by scaling the coordinates by the
monitor scale of the parent toplevel window before using them.

-

Rewrote the first patch to scale the coordinates as a more sane place. Also
added a comment documenting the coordinate space of the stored placement rule
fields.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs