[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [konqueror] [Bug 384616] buffer used by "Copy Link URL" entry in a link context menu
From:       Maurizio Paolini <bugzilla_noreply () kde ! org>
Date:       2017-09-18 11:09:06
Message-ID: bug-384616-5021-uipXFN7L4Z () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=384616

--- Comment #5 from Maurizio Paolini <paolini@dmf.unicatt.it> ---
After a brief look at the sources, it seems that this behaviour is entirely
under
QT responsibility:
in konqueror-17.04.1/webenginepart/src/webenginepart_ext.cpp I find:

[...]
        view()->triggerPageAction(QWebEnginePage::CopyLinkToClipboard);
[...]

where QWebEnginePage::CopyLinkToClipboard is an "action" that is executed in 
qtwebengine-opensource-src-5.9.1/src/webengine/api/qquickwebengineview.cpp,
with a call to QClipboard::setMimeData:

[...]
            qApp->clipboard()->setMimeData(data);
[...]

Here there is a second (optional) argument of the following type:
enum    Mode { Clipboard, Selection, FindBuffer }
the default being "Clipboard".
Now, I think that most existing applications that copy in Clipboard, also
pragmatically copy the same content in "Selection", for the benefit of "old"
X11 users...

-- 
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic