[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 190748] Selecting another tab, then File->Open shows the
From:       Alexander Dymo <adymo () kdevelop ! org>
Date:       2009-12-01 1:03:31
Message-ID: 20091201010331.031A627EFE () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=190748


Alexander Dymo <adymo@kdevelop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Alexander Dymo <adymo kdevelop org>  2009-12-01 02:03:29 ---
SVN commit 1056869 by dymo:

Correctly focus view's widget when switching views using the tabbar.
This fixes following problematic scenario:
- switch to one of the views by clicking on the tabbar
- execute any menu action which shows a dialog (File->Open, Help->About, etc.)
- watch current tab lose focus

The problem was that we shouldn't have called setFocus() for a widget before
activating its view.
Together with other focusing mechanisms, this made Qt remember that the
previously focused widget
in current window was not the newly switched tab, but the previous one.

In the scenario above, when application closed the popup, it returned focus to
the previously
focused widget in the mainwindow. Previous tab's widget was considered as
previouly focused
and it got focus instead of the current tab.

BUG:190748


 M  +0 -1      container.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1056869

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic