[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 96894] Wish: easier navigation between albums,
From:       Arnd Baecker <arnd.baecker () web ! de>
Date:       2007-09-06 17:05:53
Message-ID: 20070906170553.10168.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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=96894         




------- Additional Comments From arnd.baecker web de  2007-09-06 19:05 -------
Created an attachment (id=21556)
 --> (http://bugs.kde.org/attachment.cgi?id=21556&action=view)
provide goto album/date in the icon view

This patch (many thanks to Gilles for his help!)
provides a new entry
to the right-mouse-click menu in the album
view to go to the folder of a given
image (when in tags/searches or date view)
or to the images of the same date
(when in folder/searches or tags view).

There is one important issue:
when the destination view contains many images, 
it may happen that the current image (ie. the one from which
the goto is invoked) is not marked as current.


To me the reason seems that
in void AlbumIconView::refreshIcon(AlbumIconItem* item)
this 
 AlbumIconItem* icon = findItem(d->itemUrlToFind.url());
is called too early before the particular
item is available in the list.

What are possible solutions?
- should one retry a couple of times (with a short delay?)
  (but for how long - this might be system dependent)
- is there a signal when all items are listed?
  However this could lead to unnecessary waiting times
  if the image is already available.

The relevant sections in the code are
marked by FIXME.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic