Hi,
I just found an issue with the fullscreen mode.
So fullscreen mode is on and I usually press Ctrl+L to enter a new address.
In this case the urlbar is not shown, which makes it kind of unusable without
mouse.
The attached patch solves the issue, by hooking up with the focusInEvent and
the activation of an address to load a page, in order to show and hide the
urlbar.
I think this is really something that needs to be in 0.5 .....
Thanks,
Johannes
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 5c3cba2..fa0854e 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -150,6 +150,11 @@ void UrlBar::activated(const KUrl& url, Rekonq::OpenType type)
clearFocus();
setUrl(url);
Application::instance()->loadUrl(url, type);
+
+ if (Application::instance()->mainWindow()->isFullScreen())
+ {
+ Application::instance()->mainWindow()->setWidgetsVisible(false);
+ }
}
@@ -258,6 +263,11 @@ void UrlBar::focusInEvent(QFocusEvent *event)
{
activateSuggestions(true);
+ if (Application::instance()->mainWindow()->isFullScreen())
+ {
+ Application::instance()->mainWindow()->setWidgetsVisible(true);
+ }
+
KLineEdit::focusInEvent(event);
}
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq