Hi,

> Ctrl-C does not work for me when ordinary text is selected. But it works
>  for text inside form elements.
> Is this a bug in rekonq or in QWebPage?

I'm not sure if this should be done withing QWebPage, but as far as talked to 
some devs here, we should use "triggerPageAction()"
The patch attached implements it.

Thanks,
Johannes
diff --git a/src/webview.cpp b/src/webview.cpp
index e4d9829..4aa0866 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -298,6 +298,12 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
 
 void WebView::keyPressEvent(QKeyEvent *event)
 {
+    if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_C))
+    {
+        triggerPageAction(QWebPage::Copy);
+        return;
+    }
+
     if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_Tab))
     {
         emit ctrlTabPressed();
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to