[Digikam-devel] [Bug 274940] New: digikam freezes when using "sharpen: refocus" (cpu 100%)

Peter Albrecht px79 at crazymonkeys.de
Sat Jun 4 21:34:10 BST 2011


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

           Summary: digikam freezes when using "sharpen: refocus" (cpu
                    100%)
           Product: digikam
           Version: 1.9.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Image Editor
        AssignedTo: digikam-devel at kde.org
        ReportedBy: px79 at crazymonkeys.de


Version:           1.9.0 (using KDE 4.6.2) 
OS:                Linux

Using the sharpening method "Refocus" seems to initiate a closed loop and
renders this sharpening method unuseable.

"Simple Sharpening" works flawless.

Reproducible: Always

Steps to Reproduce:
1. start digikam
2. select image and open it in "Image Editor (F4)
3. in menu: "Enhance" -> "Sharpen..."
4. select "method = Refocus"
5. click "Try"

Actual Results:  
- mouse cursor changes to "please wait, I'm working"
- the progressbar in Image Editor keeps stuck at "0%"
- cpu-usage of digikam goes up to 100% and stays there
- nothing else happens for 5 minutes and more (in digikam 1.2.0 refocus
finished within 60 seconds)

Expected Results:  
digikam calculates and shows preview of current refocus settings

To test with a clean profile, I have also deleted every "*digikam*"-file in
"~/.kde4/". But that did not help.

Enabling every digikam-entry in kdebugdialog shows me the following two lines
at STDOUT:

------------ 8< ------------
digikam(4992)/digikam (core) Digikam::EditorToolThreaded::slotEffect: Preview 
"Sharpen"  started...
digikam(4992)/digikam (core) Digikam::RefocusFilter::refocusImage:
RefocusFilter::Compute matrix...
------------ >8 ------------

After >30 seconds the following lines are added, but I think they are not
important:
------------ 8< ------------
digikam(5147)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0
"null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position(
0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
digikam(5147)/khtml (caret) DOM::Selection::validate: Selection[ Position( 0x0
"null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position(
0x0 "null" : 0 ) 1 ] 0
digikam(5147)/khtml (caret) DOM::Selection::validate: [character:baseIsStart]
true Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
digikam(5147)/kio (Slave) KIO::Slave::kill: killing slave pid 5162 (
"digikamdates://" )
[...]
------------ >8 ------------

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



More information about the Digikam-devel mailing list