Do you happen to have a large amount of data in your event or photo
comment fields? I have a library with 17K photos and Shotwell was taking
several minutes to start. A few months ago, I found the cause of the
problem to be my large event comments. The attached patch disables
searching by event comment but it makes Shotwell start with my library
in under 3 seconds.
I planned to submit a bug report once I had a correct patch ready to fix
the issue.
Brian
On Fri, Sep 18, 2015 at 07:52:51PM -0400, a.gnome wrote:
> I have about 23K photo files going back to 1999 under Shotwell's
> management. Even on an SSD, it takes about 90 seconds for Shotwell to
> become responsive after starting up, which sometimes makes it pretty
> painful to use.
>
> What strategies have you used to deal with large collections of photos,
> while ensuring that all metadata (tags etc) are preserved?
>
> I was thinking of maintaining a small "Current" library for photo
> imports, initial organization, tagging, etc; and an "Archive" library
> for older photos, but foresee problems moving photos from "Current" to
> "Archive" as time goes on, especially with the metadata.
>
> Are there plans to make Shotwell more capable when it comes to managing
> large photo libraries?
> _______________________________________________
> shotwell-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/shotwell-list
diff --git a/src/Event.vala b/src/Event.vala
index cbc3485..68c22a5 100644
--- a/src/Event.vala
+++ b/src/Event.vala
@@ -568,23 +568,7 @@ public class Event : EventSource, ContainerSource, Proxyable, Indexable {
}
private void update_indexable_keywords() {
- string[] components = new string[3];
- int i = 0;
-
- string? rawname = get_raw_name();
- if (rawname != null)
- components[i++] = rawname;
-
- string? comment = get_comment();
- if (comment != null)
- components[i++] = comment;
-
- if (i == 0)
- indexable_keywords = null;
- else {
- components[i] = null;
- indexable_keywords = prepare_indexable_string(string.joinv(" ", components));
- }
+ indexable_keywords = prepare_indexable_string(get_raw_name());
}
public unowned string? get_indexable_keywords() {
_______________________________________________
shotwell-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/shotwell-list