Review Request: Fix for CTRL+Tab not switcing tabs in Konqueror when the active tab is a Dolphin filemanagement part

David Faure faure at kde.org
Fri Sep 28 18:47:49 BST 2012



> On Sept. 28, 2012, 5:42 p.m., David Faure wrote:
> > dolphin/src/kitemviews/kitemlistview.cpp, line 871
> > <http://git.reviewboard.kde.org/r/106569/diff/2/?file=87267#file87267line871>
> >
> >     This strikes me as wrong. Why should this widget's event(QEvent*) change the default state of ALL events ?!? No widgets do that, anywhere.

For instance, this would break "closing" such a widget (if it was a toplevel).

ignore() all key events, OK (like QWidget::keyPressEvent does). But not *all* events.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106569/#review19524
-----------------------------------------------------------


On Sept. 26, 2012, 12:53 p.m., Dawit Alemayehu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106569/
> -----------------------------------------------------------
> 
> (Updated Sept. 26, 2012, 12:53 p.m.)
> 
> 
> Review request for Dolphin and KDE Base Apps.
> 
> 
> Description
> -------
> 
> This patch fixes a bug where pressing CTRL+Tab does not switch tabs when active tab in Konqueror is a Dolphin's filemanagement part. It happens because DolphinView installs an event filter and does not call event->ignore() or event->setAccepted(false) to allow those events to be propagated up the event chain.
> 
> 
> This addresses bug 302329.
>     http://bugs.kde.org/show_bug.cgi?id=302329
> 
> 
> Diffs
> -----
> 
>   dolphin/src/kitemviews/kitemlistview.cpp 54a8cbf 
> 
> Diff: http://git.reviewboard.kde.org/r/106569/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dawit Alemayehu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120928/c79e0c09/attachment.htm>


More information about the kde-core-devel mailing list