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 19:58:52 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.
> 
> David Faure wrote:
>     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.
> 
> Dawit Alemayehu wrote:
>     Right. That is why I just fixed it. See http://commits.kde.org/kde-baseapps/b3789357335cbbb100b4a089ee7723078e5d219f.

Much better, thanks.

(Sorry for the race condition between reading k-c-d and kde-commits ;) Didn't happen in the old days before reviewboard ;)


- 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/a18db83e/attachment.htm>


More information about the kde-core-devel mailing list