[Bug 102852] Focus changes to Location field after Rename/Image
Properties
Aurelien Gateau
aurelien.gateau at free.fr
Mon Jul 3 23:07:02 UTC 2006
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=102852
aurelien.gateau free fr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From aurelien.gateau free fr 2006-07-04 01:06 -------
SVN commit 557770 by gateau:
Correctly set focus in image view. Make sure url and zoom combo don't get into
the tab chain.
BUG:102852
BUG:130143
M +1 -0 NEWS
M +3 -0 app/mainwindow.cpp
M +3 -1 gvcore/imageview.cpp
--- trunk/extragear/graphics/gwenview/NEWS #557769:557770
@ -12,6 +12,7 @
111240).
- List of supported archive formats is no longer hard coded, so you can for
example add support for rar archives by installing kio_rar (Bug 120974).
+ - Some focus bugs have been fixed (Bugs 102852 and 130143).
2006.06.24 - v1.3.91
- New features:
--- trunk/extragear/graphics/gwenview/app/mainwindow.cpp #557769:557770
@ -1200,6 +1200,9 @
mURLEdit->setDuplicatesEnabled(false);
mURLEdit->setPixmapProvider(new KURLPixmapProvider);
mURLEdit->setHistoryItems(MiscConfig::history());
+
+ // Avoid stealing focus
+ mURLEdit->setFocusPolicy(ClickFocus);
mURLEditCompletion=new KURLCompletion();
--- trunk/extragear/graphics/gwenview/gvcore/imageview.cpp #557769:557770
@ -312,7 +312,7 @
d->mContrast = 100;
d->mBCGDialog = 0;
- setFocusPolicy(StrongFocus);
+ viewport()->setFocusPolicy(WheelFocus);
setFrameStyle(NoFrame);
setAcceptDrops( true );
viewport()->setAcceptDrops( true );
@ -348,6 +348,8 @
this,SLOT(setLockZoom(bool)) );
d->mZoomCombo=new QComboBox(true);
+ // Avoid stealing focus
+ d->mZoomCombo->setFocusPolicy(ClickFocus);
connect(d->mZoomCombo, SIGNAL(activated(int)),
this, SLOT(slotSelectZoom()) );
More information about the pkg-kde-bugs-fwd
mailing list