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.48k stars 1.4k forks source link

linux: opening breakpoint editor selects a short blank string #10480

Open namdre opened 2 years ago

namdre commented 2 years ago

this clobbers the clipboard on linux and interferes with pasting a breakpoint time

namdre commented 2 years ago

I've asked on the mailinglist but there was no (helpful) answer. This problem must likely be fixed on the fox-toolkit side (possibly by inheriting from a widget and re-implementing some of the faulty functionality)

behrisch commented 2 years ago

can we just focus something else before showing the dialog?

namdre commented 2 years ago

The 'selection' is enabled deep within the fox-native FXTable::startInput method. There is no good way to avoid calling this. I even tried backing up and then restoring the current selection but to no avail.