News:

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

since 124.0: Clicking any item in "Serves line"-list not working

Started by ALFA-X, August 04, 2024, 03:49:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ALFA-X

Hi Simutrans community :)

Steps to reproduce:

  • Open Depot
  • Buy Vehicle
  • Click Schedule
  • (optional: Add waypoints)
  • Click "Serves line" list to open that list
  • Items not selectable :(

Workaround for me: using arrow keys to select item

I'm on Simutrans nightly r11372 using pak192.Comic V0.71

edit: oops: post should be in "Bug Reports"

prissi


ALFA-X

It works in a new game, but not in my big old savegame.

https://simutrans-germany.com/files/upload/game.sve

Attached some screenshots for better bug reproduction.

Noticed now, that not all items are dead to the mouse.

What doesn't work:
- Mouse wheel to scroll through the list
- Select item with left mouse button when above the tabs of underlying window

What works:
- Select items with left mouse button when on or below tabs of underlying window

prissi

Still cannot reproduce. It works fine for me.

The only error is that the depot in the background should not update the vehicle text.

ALFA-X

Tried savegame on older pc, and no problems.  :o

On default pc:
* list drops UP. (as seen in fourth screenshot of post #2)
* enlarging the underlying window, the list drops down, as it should, and everything works!

On old pc:
* list drops down on click, just as it should
* Shrinking window to smallest height -> list still drops down
* Switching to different font ') -> list drops UP!  8)

Conclusion:
* Font height matters!
* Maybe mouse events are not propagated, if cursor is outside tab area which is parent of list widget?

') e.g.: Font=Source Han Sans CN Bold, Size=13

prissi