bugkazehakase - Bugs: bug #4526, New Windows take a long time to...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #4526: New Windows take a long time to load

Submitted by:  Jim Apple <japple>
Submitted on:  Sat Oct 15 06:36:10 2005  
Votes:  1  
Category: NoneSeverity: 4 - Important
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Tue Oct 25 16:46:18 2005, comment #3:

This can be fixed by changing the line

kz_sidebar_set_current(sidebar, sidebar_entries[0]->label);

in src/kz-sidebar.c

in the function kz_sidebar_new

the '0' should arguably be a '1', since copying the Tab List is much cheaper than copying the bookmarks: If there are a lot of bookmarks, this takes forever, but the tab list will always be empty for a new window.

Jim Apple <japple>
Sat Oct 15 23:41:26 2005, comment #2:

Iyt's because I have a lot of bookmarks. Each one is added to the sidebar view via this backtrace:

kz_window_init - a lot of time, a lot of (Gecko:21001): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
at least one in kz->actions = kz_actions_create_group(kz, accel_group);
kz_window_sync_ui_level - 7, a few seconds for each
kz_sidebar_set_current ("Bookmarks")
kz_sidebar_change_content - a lot of time - widget = entry->create(sidebar)

This should be done lazily, so I don't pay the price for each new window

Jim Apple <japple>
Sat Oct 15 22:28:37 2005, comment #1:

The problem seems to be in the line

KzWindow *kz = g_object_new(KZ_TYPE_WINDOW, "type", GTK_WINDOW_TOPLEVEL,NULL);

in kz_window_new in kz-window.c

Jim Apple <japple>
Sat Oct 15 06:36:10 2005, original submission:

New Windows take a long time to load

Jim Apple <japple>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by japple (Voted in favor of this item)
  • -unavailable- added by japple (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 1 encouragement so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Oct 15 22:28:37 2005jappleCarbon-Copy-=>Added japple
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup