Search code examples
tk-toolkitomnet++veinssumo

OMNET++ tk-gui wrong icon placement


I am working with Artery / VEINS (I do not think this matters) and SUMO and OMNET++ :)

As you can see, my OMNET TK-GUI is no longer showing my network correctly, all icons are in the same place!

The World.ned The World.ned TK-GUI showing wrong TK-GUI showing wrong

Two days ago, this was not happening, I could see the vehicles moving around the OMNET TK-GUI.

So, what have I done? I installed the new NVIDIA driver but I do not think this affects.

Any suggestion? :) Have a really nice day!


Solution

  • This is a known issue in Tkenv. For some reason the zoom level gets reset to 0.00x from time to time. Just zoom in (press and hold Ctrl+M) until the network gets magnified to a reasonable size.

    Also, please note that Tkenv is getting retired in newer versions of OMNeT++, in favor of the more modern Qtenv interface.