Skip to content

[GUI] Unsaved Changes window clutters text when changes are plentiful

Summary

When closing Vadere with (many) unsaved changes, the "Close GUI" dialog clutters the text, so that it becomes overlapping and breaks the UI window

What is the current bug behavior?

After making a lot of changes in Vadere (e.g., adding 30 pedestrians in my case), and subsequently closing the window, the "Close GUI" dialog opens with broken text elements that cannot be read.

In one line it squeezes 62835 characters which is too much for the GUI to handle. Interacting with the text (e.g., selecting) becomes almost impossible and behaves inconsistently.

What is the expected correct behavior?

The text should be broken up in some way (e.g., into multiple lines).

Steps to reproduce

Open any scenario, create about 16 to 30 pedestrians, close the window without saving

Logs and outputs

16:22:56,182   INFO VadereApplication:25 - starting Vadere GUI...
16:22:56,203   INFO VadereConfig:66 - Use config file from path /home/redacted/.config/vadere.conf
Nov 18, 2021 4:22:56 PM org.apache.commons.beanutils.FluentPropertyBeanIntrospector introspect
INFO: Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
16:22:58,084   INFO IOVadere:57 - read project: /home/redacted/vadere.project
16:22:58,144   INFO IOVadere:67 - analyzed scenario files.
16:22:59,117   INFO IOVadere:88 - analyzed: 8, migrated: 0, upToDate: 8, notMigratable: 0
16:22:59,627   INFO IOVadere:93 - project loaded:
16:22:59,635   INFO ActionLoadProject:113 - refreshed output table - 2
16:22:59,638   INFO ProjectView:588 - selected scenario 'bus:station'
16:22:59,855   INFO DataProcessingView:97 - switch to gui view
16:23:00,137   INFO ProjectView:594 - repainted output table
16:23:00,137   INFO ActionLoadProject:117 - selected the first scenario
16:23:00,151   INFO ActionLoadProject:124 - project '' loaded.
16:23:03,262   INFO VDialogManager:31 - asking user to save the project...

broken_window

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information