| Summary: | In Folders panel, no way to open selected folder using keyboard (Enter key has no effect) | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Per Ångström <per.angstrom> |
| Component: | general | Assignee: | Peter Penz <peter.penz19> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | andresbajotierra, bimaljr |
| Priority: | NOR | ||
| Version First Reported In: | 16.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Per Ångström
2008-10-07 21:38:14 UTC
Thanks for the report. I agree and will fix this for KDE 4.2. I am using Kubuntu 8.10 and installed KDE 4.2 Beta vesion. I also need this feature. Thank you This can be made by changing:
treeviewsidebarpage.cpp:162-163
connect(m_treeView, SIGNAL(clicked(const QModelIndex&)),
this, SLOT(updateActiveView(const QModelIndex&)));
to
connect(m_treeView, SIGNAL(activated(const QModelIndex&)),
this, SLOT(updateActiveView(const QModelIndex&)));
Thanks for the patch, I'll commit it tomorrow. I just need to test it with other styles too, as the activated() signal depends on the style (which is not nice in my opinion). SVN commit 911855 by ppenz: Pressing "Enter" in the folders panel should open the folder in the main view. Thanks to Darío Andrés for the patch! BUG: 172360 M +1 -1 folderspanel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=911855 SVN commit 911856 by ppenz: Backport of SVN commit 911855: Pressing "Enter" in the folders panel should open the folder in the main view. Thanks to Darío Andrés for the patch! CCBUG: 172360 M +1 -1 treeviewsidebarpage.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=911856 SVN commit 919648 by ppenz: Replace patch for bug 181226 by a different approach, as the previous patch resulted in a changed behavior when using the double-click mode (-> a treeview item had to be pressed twice to show it in the main view). CCBUG: 172360 CCBUG: 181226 M +12 -1 folderspanel.cpp M +3 -0 folderspanel.h WebSVN link: http://websvn.kde.org/?view=rev&revision=919648 SVN commit 919653 by ppenz: Backport of SVN commit 919648 for KDE 4.2.1: Replace patch for bug 172360 by a different approach, as the previous patch resulted in a changed behavior when using the double-click mode (-> a treeview item had to be pressed twice to show it in the main view). CCBUG: 172360 CCBUG: 181226 PS: in the commit comment for trunk I accidently mixed the numbers 172360 and 181226 in the resolution description M +12 -1 treeviewsidebarpage.cpp M +3 -0 treeviewsidebarpage.h WebSVN link: http://websvn.kde.org/?view=rev&revision=919653 |