[Wayland-bugs] [Bug 768887] Can't paste text copied in from QT5 Wayland clients

2019-10-12 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

--- Comment #12 from Strangiato  ---
This bug is intermittent on Arch Linux running Gnome 3.34.2.
I can paste text copied from notepadqq running natively on Wayland into my
internet browser (Opera)
running on Xwayland, but I can`t paste the same text into leafpad (gtk2) text
editor also running on Xwayland.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2018-06-07 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

--- Comment #11 from Strangiato  ---
problem persists in gnome 3.28.2 + Qt 5.11.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-02 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

--- Comment #10 from Jonas Ådahl  ---
It could easily be interpreted as that way I guess. What would be the point of
keeping it around when not having any keyboard focus?

Either way, after the keyboard focus has been transfered to the popup, we
should send a new offer anyway right? Is QT not using that one correctly?


(off topic: we should disassociate keyboard focus with offer availability,
especially since touch devices might not have a keyboard)

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-02 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

--- Comment #9 from Carlos Garnacho  ---
I just noticed thought that the original bug description said "paste". c
seemed to work here at first glance, on a closer look it seems what is broken
is pasting through the context menu.

Apparently QT5 does always issue wl_data_offer_destroy() on wl_keyboard.leave
(Despite the keyboard focus immediately going to the popup). Probably the
wl_data_device.selection docs stating:

  The data_offer is valid until a new data_offer or NULL is received
  or until the client loses keyboard focus.  The client must
  destroy the previous selection data_offer, if any, upon receiving
  this event.

Must have mistaken them into thinking it's ok to destroy the offer on
wl_keyboard.leave. So it seems now we have 2 bugs to file :).

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-02 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

Jonas Ådahl  changed:

   What|Removed |Added

 Attachment #362835|none|accepted-commit_now
 status||

--- Comment #7 from Jonas Ådahl  ---
Review of attachment 362835:

lgtm.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-02 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

Jonas Ådahl  changed:

   What|Removed |Added

 Attachment #362836|none|accepted-commit_now
 status||

--- Comment #8 from Jonas Ådahl  ---
Review of attachment 362836:

lgtm.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-02 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

--- Comment #5 from Carlos Garnacho  ---
Created attachment 362835
  --> https://bugzilla.gnome.org/attachment.cgi?id=362835=edit
wayland: Allow interoperation between v1 drag source and v3 drag dest

Since v1 of wl_data_device_manager does not have actions, explicitly
assume a "copy" one from the drag source.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-02 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

--- Comment #6 from Carlos Garnacho  ---
Created attachment 362836
  --> https://bugzilla.gnome.org/attachment.cgi?id=362836=edit
wayland: Allow interoperability between v3 drag source and v1 drag dest

Since v1 of wl_data_device_manager does not have actions, assume a "copy"
one from the drag destination.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-02 Thread mutter
https://bugzilla.gnome.org/show_bug.cgi?id=768887

Carlos Garnacho  changed:

   What|Removed |Added

 CC||carl...@gnome.org
  Component|Backend: Wayland|wayland
   Assignee|gtk-b...@gtk.org|mutter-ma...@gnome.bugs
Product|gtk+|mutter
 QA Contact|gtk-b...@gtk.org|mutter-ma...@gnome.bugs

--- Comment #4 from Carlos Garnacho  ---
QT5 implements version 1 of the wl_data_device_manager protocol interface,
whereas mutter/gtk+ implement up to version 3 of this interface.

There is indeed an interoperation bug between v1 and v3 (which is in mutter, so
reassigning the bug there), but someone should file a bug to QT and tell them
not to use outdated and fundamentally broken versions of the protocol.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-11-01 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=768887

--- Comment #3 from Strangiato  ---
Same problem on Gnome 3.26.1, Arch linux.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2017-03-03 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=768887

Strangiato  changed:

   What|Removed |Added

 CC||yy...@gmx.com

--- Comment #2 from Strangiato  ---
Tested on Arch running qt5 apps under Wayland: this problem is still present.

-- 
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 768887] Can't paste text copied in from QT5 Wayland clients

2016-08-11 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=768887

Matthias Clasen  changed:

   What|Removed |Added

 CC||mcla...@redhat.com

--- Comment #1 from Matthias Clasen  ---
Did we make any progress on this ?

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