Modify

Opened 14 years ago

Closed 9 years ago

#6329 closed enhancement (fixed)

Splash screen should display loading of styles and presets

Reported by: stoecker Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: preset style startup splash Cc:

Description

Loading styles and presets can take a long time. The splash screen should display the data currently loaded files, so users know what takes such long time.

Attachments (3)

6329.patch (7.9 KB ) - added by simon04 13 years ago.
splash.png (32.5 KB ) - added by simon04 13 years ago.
6329_v2.patch (8.1 KB ) - added by simon04 13 years ago.

Download all attachments as: .zip

Change History (17)

by simon04, 13 years ago

Attachment: 6329.patch added

comment:1 by simon04, 13 years ago

Summary: Splash screen should display loading of styles and presets[Patch awaiting comments] Splash screen should display loading of styles and presets


Patch attached:

  • displays more fine grained messages in splash screen
  • displays the most recent 3 messages
  • displays their execution time

Please comment!

Last edited 13 years ago by simon04 (previous) (diff)

by simon04, 13 years ago

Attachment: splash.png added

by simon04, 13 years ago

Attachment: 6329_v2.patch added

comment:2 by simon04, 13 years ago

6329_v2: Fixed the mapping of execution time to message (of course, the time is not known for the current item being executed)

comment:3 by stoecker, 13 years ago

Better than before I would say. Thought the presets/style issue is not solved completely by this. You still do not know which style is the bad guy.

Release should be today, so your many patches can be added soon. :-)

in reply to:  3 ; comment:4 by simon04, 13 years ago

Replying to stoecker:

Better than before I would say. Thought the presets/style issue is not solved completely by this. You still do not know which style is the bad guy.

Concerning presets, the bad guy is always the defaultpresets.xml as it is far larger than any other preset. Concerning styles, the situation may be different …

comment:5 by simon04, 13 years ago

In [4681/josm]:

see #6329 - improve splash screen: show execution time of items, display more detailed information

comment:6 by simon04, 13 years ago

Summary: [Patch awaiting comments] Splash screen should display loading of styles and presetsSplash screen should display loading of styles and presets

in reply to:  4 comment:7 by stoecker, 13 years ago

Replying to simon04:

Replying to stoecker:

Better than before I would say. Thought the presets/style issue is not solved completely by this. You still do not know which style is the bad guy.


Concerning presets, the bad guy is always the defaultpresets.xml as it is far larger than any other preset. Concerning styles, the situation may be different …

Last edited 13 years ago by stoecker (previous) (diff)

comment:8 by simon04, 13 years ago

? :-)

comment:9 by bastiK, 13 years ago

There is a little quirk: First it starts with "Initializing" at the bottom. The window shrinks for a split second, then it expands to the original size and stays like that.

comment:10 by stoecker, 13 years ago

Aaargh, somehow my comment 7 was mixed up. What I did say really:

It is not necessary the default.xml. When remote files are loaded they can cause large delays, especially the FreieTonne style, which loads each picture individual.

comment:11 by stoecker, 13 years ago

On my system the texts only use the area below the symbol and not the window width - resulting in a very large border on both sides. I think I already fixed that in the past once (or at least I tried).

in reply to:  10 comment:12 by bastiK, 13 years ago

Replying to stoecker:

When remote files are loaded they can cause large delays, especially the FreieTonne style, which loads each picture individual.

This shouldn't be the case. For map styles, the loading of icons should be delayed, until the very last moment, when it is painted on the map. (But it's still fetched in EDT.)

For presets, all icons are loaded at start, afaik. This can cause delays like you describe them. The "normal" way would be to get the images in a background thread and set the icons for the menu items as soon as they arrive.

comment:13 by skyper, 12 years ago

Keywords: preset style startup splash added

comment:14 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.