Review Request 129222: ClipboardUpdater: fix crash on Wayland

Martin Gräßlin mgraesslin at kde.org
Fri Oct 28 07:51:01 UTC 2016



> On Oct. 28, 2016, 9:23 a.m., David Faure wrote:
> > So we won't be able to use the clipboard at all, on wayland?
> > 
> > This seems to me like a Qt bug.

of course we can use the clipboard on Wayland. I'm happily copy'n'pasting between windows here.

What is different on Wayland is that clipboard is not broadcasted as on X11. It's only available to the window having keyboard focus. As long as a window didn't get keyboard focus, there is no clipboard data.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129222/#review100348
-----------------------------------------------------------


On Oct. 27, 2016, 6:27 p.m., Elvis Angelaccio wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129222/
> -----------------------------------------------------------
> 
> (Updated Oct. 27, 2016, 6:27 p.m.)
> 
> 
> Review request for KDE Frameworks and David Faure.
> 
> 
> Bugs: 370520
>     https://bugs.kde.org/show_bug.cgi?id=370520
> 
> 
> Repository: kio
> 
> 
> Description
> -------
> 
> QClipboard::mimeData() can return a nullptr on Wayland. The documentation of the method doesn't say that the pointer can never be null, anyway.
> 
> 
> Diffs
> -----
> 
>   src/widgets/clipboardupdater.cpp a459aa777ae5bc328cf8807827ed24ddaf952d6d 
> 
> Diff: https://git.reviewboard.kde.org/r/129222/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Elvis Angelaccio
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20161028/50d3f383/attachment.html>


More information about the Kde-frameworks-devel mailing list