Bug 322790

Summary: Optimise Satellites painting
Product: [Applications] marble Reporter: Thibaut Gridel <tgridel>
Component: generalAssignee: Thibaut Gridel <tgridel>
Status: RESOLVED FIXED    
Severity: task    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thibaut Gridel 2013-07-24 20:53:27 UTC
Satellites plugin offers to display tracks for many objects orbiting around planets.

Current painting for the track happens whenever the satellite is displayed, only swapping the pen style to toggle visibility. This is a perfo hit when many satellites are visible.

The task consists in finding another option to toggle visibility, and spare painting when it's not needed.
Alternatives could be to anywhere between calculating the track only when visibility is needed,  to simply calling the GeoTrackGraphicsItem::paint() from the GeoGraphicsScene for the needed tracks.

Reproducible: Always

Actual Results:  
Every GeoDataTrack is painted

Expected Results:  
Only the visible tracks are rendered and GeometryLayer painting is reduced
Comment 1 Thibaut Gridel 2014-01-09 18:37:12 UTC
Commit 74f84848d fixed this issue.