News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Bug r8541: vehicle information is not shown in depot

Started by THLeaderH, July 15, 2018, 12:55:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

THLeaderH

In the depot window, information of a vehicle should be shown in the green rectangle area of the attached image when the cursor is on the vehicle. However, r8541 does not show this.

Also, tooltip texts do not appear when the cursor is on various icons.

Dwachs

Parsley, sage, rosemary, and maggikraut.

THLeaderH

Thank you for dealing with the issue.

I tried r8545 but it crashes immediately after I launch r8545.
I got following output from the debugger.


* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10)
    frame #0: 0x0000000100335b9e sim`dr_textur_resize(textur=0x0000000100406a78, w=0, h=64) at simsys_s2.cc:342 [opt]
   339 }
   340 fflush( NULL );
   341 }
-> 342 display_set_actual_width( screen->w );
   343 SDL_SetWindowSize( window, width, height );
   344 *textur = dr_textur_init();
   345 return screen->w;
Target 0: (sim) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10)
  * frame #0: 0x0000000100335b9e sim`dr_textur_resize(textur=0x0000000100406a78, w=0, h=64) at simsys_s2.cc:342 [opt]
    frame #1: 0x00000001000a474d sim`simgraph_resize(w=<unavailable>, h=64) at simgraph16.cc:5279 [opt]
    frame #2: 0x00000001002b001d sim`modal_dialogue(gui=<unavailable>, magic=<unavailable>, welt=<unavailable>, quit=(sim`empty_objfilename() at simmain.cc:312))()) at simmain.cc:277 [opt]
    frame #3: 0x00000001002b1f70 sim`simu_main(int, char**) [inlined] ask_objfilename() at simmain.cc:326 [opt]
    frame #4: 0x00000001002b1f1f sim`simu_main(argc=<unavailable>, argv=<unavailable>) at simmain.cc:874 [opt]
    frame #5: 0x00000001002c59f2 sim`sysmain(argc=1, argv=0x00007ffeefbffa28) at simsys.cc:1040 [opt]
    frame #6: 0x00007fff61f52015 libdyld.dylib`start + 1
    frame #7: 0x00007fff61f52015 libdyld.dylib`start + 1


Please note that I'm running simutrans on macOS 10.13.5 with SDL2.

Dwachs

Sorry, I missed to change one call to resize .Should be working with r8546
Parsley, sage, rosemary, and maggikraut.

THLeaderH