[Bug 161369] New: Quick filter indicator lamp is not working properly in recursive image folder view mode

classic Classic list List threaded Threaded
63 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] New: Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         
           Summary: Quick filter indicator lamp is not working properly in
                    recursive image folder view mode
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Albums GUI
        AssignedTo: digikam-devel kde org
        ReportedBy: andi.clemens gmx net


Version:           0.9.4-beta4 (using 3.5.9, Arch Linux)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.24-ARCH

I discovered that the "quick filter lamp / indicator" is not working properly in recursive album view mode.
I have a folder structure that can be seen in my attached screenshot.
In album3c is an image rated with 5 stars. When I enable the quick filter for ratings >=5 and click on the toplevel album 'root' (which is not the album root of digikam, just a normal folder), the former green lamp becomes red, although the image rated with 5 stars is visible in the image list window. When I click on the parent folder of album3c ('album3'), the lamp is green again.
The strange thing is that this problem is not reproducible in all of my image folders. I have another folder, lets call it 'root2', that has nearly the same structure and folder depth. When I tag an image in '/root2/album3/album3c' with a rating of 5 stars, activate the quick filter and click on 'root2', the lamp stays green.
My first thought was that maybe the folder depth might be an issue so I rebuild the structure of 'root' (lets call it 'root3' for now) and copied one image in every folder. I rated the image in '/root3/album3/album3c' with 5 stars, activated the quick filter and clicked on the 'root3' folder. But surprisingly the lamp staid green as well, although the original tree turned the lamp to red.
In the next step I copied the exact amount of images into the folders (like in the screenshot) and then the problem was reproducible again. So not only the folder depth might be the problem, also the amount of images in those folders could be an issue. I played around with the images in the 'root3' folder, rated some images and recognized that when I rate an image in folder '/root3/album9' (the last one in the tree) and click with the quick filter activated on the 'root3' folder, the lamp turns green. Un-rating the image in 'album9' and clicking on the 'root3' folder turns the lamp red again. One thing that can be recognized is that the lamp turns green for half a second, then red, then green again and finally red (it flickers). So I guess while running through the underlaying folders, the status of the lamp is changed 4 times, resulting in "the red state" altough this is wrong.
So to sum it up: Not only the structure and depth of the folders seem to be an issue, also the amount of images and even the "position" of the rated or tagged images is responsible for this bug.
It is hard to describe and even harder for you guys to reproduce it I think, but if you build a folder structure like in my screenshot and copy the same amount of images in there, you hopefully see what I'm trying to tell you here :-)
I also attach a PDF were I try to show what ratings in which folder turn the light / lamp / indicator green and red.
Hope you understand what I want to say here, my bad english even got worse today... I don't understand a single thing I'm writing here... :-)

PS.: I found another issue: When quick filter is enabled and I remove a rating from >70 images, digiKam crashes, if I disable the quick filter, everything is fine and I am able to un-rate the images.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-04-28 14:43 -------
Created an attachment (id=24541)
 --> (http://bugs.kde.org/attachment.cgi?id=24541&action=view)
folder structure
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-04-28 14:44 -------
Created an attachment (id=24542)
 --> (http://bugs.kde.org/attachment.cgi?id=24542&action=view)
report showing the different states of the quick filter indicator
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Gilles Caulier-4
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Albums GUI                  |Filter
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from owner@bugs.kde.org
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         
andi.clemens gmx net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24542|0                           |1
        is obsolete|                            |
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-04-28 15:45 -------
Created an attachment (id=24543)
 --> (http://bugs.kde.org/attachment.cgi?id=24543&action=view)
report showing the different states of the quick filter indicator

somehow the PDF seems to be broken, I was not able to open it anymore. I'll
attach a new version...
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from owner@bugs.kde.org
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         
andi.clemens gmx net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24542|report showing the different|OBSOLETE: report showing the
        description|states of the quick filter  |different states of the
                   |indicator                   |quick filter indicator
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from owner@bugs.kde.org
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         
andi.clemens gmx net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24543|report showing the different|OBSOLETE: report showing the
        description|states of the quick filter  |different states of the
                   |indicator                   |quick filter indicator
  Attachment #24543|0                           |1
        is obsolete|                            |
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-04-29 12:49 -------
Created an attachment (id=24554)
 --> (http://bugs.kde.org/attachment.cgi?id=24554&action=view)
test cases

added some more test cases and a screenshot showing the problem
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Gilles Caulier-4
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From caulier.gilles gmail com  2008-04-29 13:17 -------
Andi,

Thanks for this great document.

If you want to hack code, all is in ImageFilter :

http://websvn.kde.org/branches/extragear/kde3/graphics/digikam/digikam/albumlister.cpp?revision=786938&view=markup

especially look signals :

    void signalItemsTextFilterMatch(bool); // dedicated to toogle background color of status bar search text filter.

    void signalItemsFilterMatch(bool);     // dedicated to toogle status bar filter light color.

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Gilles Caulier-4
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From caulier.gilles gmail com  2008-04-29 13:23 -------
>If you want to hack code, all is in ImageFilter :

Sorry, AlbumLister class i want mean (:=)))

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-04-29 13:27 -------
Well I already looked in AlbumLister and played around with gdb to find the problem... Maybe I'll come to a conclusion and post a patch here.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-04-30 20:07 -------
Created an attachment (id=24578)
 --> (http://bugs.kde.org/attachment.cgi?id=24578&action=view)
possible patch for filter indicator lamp issue
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-05-01 18:46 -------
Hi Mik,

Gilles asked me to leave a comment here to ask you to test this patch.
If you want to test it, make sure to have the same folder structure and amount of images in there like in my attached screenshot, otherwise the bug might not be seen at all. It is not happening all the time, so creating this folder structure is necessary (you do not have to name all folders like shown in the image, but the depth and amount of images is really important).

Thanks in advance

Andi
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Gilles Caulier-4
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikmach wp pl



------- Additional Comments From caulier.gilles gmail com  2008-05-16 16:20 -------
Mik,

Please take a look in patch from Andi (look message from #9). Please test indeep status bar indicator and report if all is fine for you.

Thanks in advance.

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From mikmach wp pl  2008-05-17 17:40 -------
Sorry, didn't notice this message earlier.

1) couldn't reproduce original bug
2) applied patch, nothing seems broken so if it fixes this corner
   case...
3) cannot confirm crash when de-tagging many images at once; it takes
   some times, rating widget in right panel flickers but everything
   works
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-05-20 10:09 -------
Hi,

I still can confirm the crashing while the rating quick filter is enabled. If I set this filter to (=1) and remove or change the rating of the displayed images, digiKam just crashes, but only if I remove / change the rating of more than 7 images... very strange.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Arnd Baecker
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From arnd.baecker web de  2008-05-20 10:18 -------
Andi, could you run this with a debug build of digikam to
obtain a proper backtrace with gdb? Maybe Gilles can make
a sense of the backtrace to solve the issue ....
Thanks a lot, Arnd
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Gilles Caulier-4
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From caulier.gilles gmail com  2008-05-20 10:18 -------
Andi,

What's the GDB backtrace exactly ?

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161369] Quick filter indicator lamp is not working properly in recursive image folder view mode

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161369         




------- Additional Comments From andi.clemens gmx net  2008-05-20 10:21 -------
Created an attachment (id=24860)
 --> (http://bugs.kde.org/attachment.cgi?id=24860&action=view)
Backtrace
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
1234