Summary: | When I press F8 to compile project, keyboard focus gets stolen from source editor | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Dmitry Suzdalev <dimsuz> |
Component: | outputview | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | VHI | ||
Version: | git master | ||
Target Milestone: | 1.0.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Don't change focus when activating dock widgets |
Description
Dmitry Suzdalev
2009-12-17 11:47:59 UTC
Created attachment 39483 [details]
Don't change focus when activating dock widgets
The problem is on sublime. When those dock widgets are requested to be shown or hidden in any way, Sublime will trigger a checked action that will end with the dock widget getting setFocus()ed.
The patch attached will change that behavior so that dock widgets don't get activated when shown. I view this as reasonable for two reasons:
1. If it steals my focus, I may get angry, if I request it with a click, my mouse is close enough to make another, if indeed I even wanted to select the contents of the widget, and not just view them.
2. It so happens that none of the dock widgets do a setProxyFocus. That means that when these dock widgets are shown, you don't get a useful focus anyhow.
IOW, as it stands, this is a clear improvement, and IMO, this is the way things should be going forward.
Unless anyone has any objections, I'll commit this.
SVN commit 1073899 by olivierjg: Don't setFocus when showing toolviews. BUG: 219052 M +1 -1 ideal.cpp M +4 -2 ideallayout.cpp M +1 -1 ideallayout.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1073899 |