Summary: | Focus changes to Location field after Rename/Image Properties | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Christopher Martin <chrsmrtn> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ana |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christopher Martin
2005-03-30 14:39:40 UTC
version: 1.2.0 OS: Linux (i686) release 2.6.11.12mdk) Compiler: gcc version 3.4.3 (Mandrakelinux 10.2.3.4.3-7mdk) This bug is also valid after deleting a picture using shortkey or using context menu This only happen in non-fullscreen mode when you click on the picture with mouse and then you delete the picture, the focus change to the url location field. That don't happen if you click on file navigator tree or if you use tabulation. It's only if you click on picture. > This only happen in non-fullscreen mode
It happens in the fullscreen.
This should be fixed to keep the focus on the image all the time unless there is explicit request from the user to change it.
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()) ); |