Bug 393725 - Copy disabled in context menu with Qt 5.11 beta 4
Summary: Copy disabled in context menu with Qt 5.11 beta 4
Status: RESOLVED UPSTREAM
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
: 394141 395188 395755 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-01 11:31 UTC by Antonio Rojas
Modified: 2018-06-30 13:27 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2018-05-01 11:31:37 UTC
With Qt 5.11 beta 4, the Copy entry in the context menu is always disabled when text is selected. It is still possible to copy via the Control-C shortcut. Worked fine with beta 3.
Comment 1 Pawel 2018-05-07 16:22:11 UTC
I can confirm.
Comment 2 David Rosca 2018-05-08 08:46:35 UTC
That would mean QWebEnginePage::Copy action is not properly updated by QtWebEngine. Please report it upstream.
Comment 3 Pawel 2018-05-08 11:35:04 UTC
(In reply to David Rosca from comment #2)
> That would mean QWebEnginePage::Copy action is not properly updated by
> QtWebEngine. Please report it upstream.

This is really strange. I have two webbrowsers build against of Qt5.11 beta 4: Falkon (3.0.99 (b6edd26c) - as you can see it's "GIT" version) and Otter-Browser (0.9.98 weekly 225 - from "GIT", too), both based on Qt5, too. 
In Falkon, copy entry in the context menu is disabled, but I can copy from context menu in Otter Browser (with qt5-webengine backend).
Comment 4 David Rosca 2018-05-08 11:48:44 UTC
That's not strange, otter probably just checks if selectedText() is not empty to enable copy action.
But the bug here is in QtWebEngine not properly updating QWebEnginePage::Copy action - it was working up to beta3 so it's clearly regression there.
Comment 5 Pawel 2018-05-08 15:14:07 UTC
Ok. Thank David for info. And just only for information, too. Unfortunetly, on falkon builds against of Qt5.11RC this bug occurs, too.

BTW, there are even more regressions in Qt5.11 since beta4 :(
Comment 6 David Rosca 2018-05-11 19:08:15 UTC
*** Bug 394141 has been marked as a duplicate of this bug. ***
Comment 7 Pawel 2018-05-18 11:33:20 UTC
QTBUG: https://bugreports.qt.io/browse/QTBUG-68354
Comment 8 Patrick Silva 2018-06-14 14:31:41 UTC
*** Bug 395188 has been marked as a duplicate of this bug. ***
Comment 9 Pawel 2018-06-14 16:55:25 UTC
There is patch for Qt 5.11.1. Everyone can applied it for Qt 5.11.0. It works.
Comment 10 Christoph Feck 2018-06-30 13:27:10 UTC
*** Bug 395755 has been marked as a duplicate of this bug. ***