eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.5k stars 1.41k forks source link

visualization settings are sometimes unresponsive while the simulation is running (trac #1398) #1398

Open behrisch opened 10 years ago

behrisch commented 10 years ago

setting whithin one tab work but switching tabs sometimes does not

Migrated from http://sumo.dlr.de/ticket/1398

{
    "status": "new", 
    "changetime": "2014-10-20T13:33:41Z", 
    "description": "setting whithin one tab work but switching tabs sometimes does not", 
    "reporter": "namdre", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1413812021899691", 
    "component": "simulation gui (GUISIM)", 
    "summary": "visualization settings are sometimes unresponsive while the simulation is running", 
    "priority": "major", 
    "keywords": "", 
    "time": "2014-08-07T09:37:36Z", 
    "milestone": "1.0.0", 
    "owner": "", 
    "type": "defect"
}
behrisch commented 10 years ago

@behrisch changed milestone from "0.22.0" to "1.0.0"

behrisch commented 10 years ago

@behrisch commented:

automatically stopping the simulation when the settings dialog opens (and resuming afterwards) could be a solution

namdre commented 6 years ago

Increasing the delay would also solve the problem. However, the value does somewhat depend on the scenario size, so this is less general than just stopping the simulation. The issue is also related to #4008. Maybe a more general solution is needed where the gui ensures it has finished drawing before handling the next simStep event (and probably stopping the simulation until core rendering functions are finished).