OpenBVE icon indicating copy to clipboard operation
OpenBVE copied to clipboard

Zoom in and Zoom out can't do at Driver's view

Open ginga81 opened this issue 3 years ago • 6 comments

Description

Zoom in and Zoom out can't do at Driver's view. Outer-view and RouteViewer works well. Or very slowly and very small zooming. This issue happens Linux only. I heard that from Windows user, this isn't happen. This issue happen at least 1.7.2.4 or later. But, we have already know that the older version had been works well. Suddenly do not works at all version of OpenBVE. So, I suspect it's a mono's problem. Mono JIT compiler version 6.12.0.182 (tarball Tue Jun 14 22:29:01 UTC 2022)

I suspect as this. https://github.com/leezer3/OpenBVE/issues/707

Reproduction

Route and train is any.

Route

Route and train is any.

Train

Route and train is any.

Logs

This issue don't crash. So no any logs.

Related information

My PC's spec: OS:Ubuntu 20.04 LTS 64bit CPU:AMD® Ryzen 7 2700x eight-core processor × 16 Memory:31.3GB Graphic:AMD Radeon RX 590 Series (POLARIS10, DRM 3.40.0, 5.11.0-40-generic, LLVM 12.0.0)

ginga81 avatar Sep 01 '22 12:09 ginga81

More likely to be related to this: https://github.com/leezer3/OpenBVE/issues/797

I would suspect that holding the key down is blocking something, same way the mouse move is blocking something. It's suspicious that both of these interact with the camera.

Mono on my Debian VM has the following version (same other than the build timestamp which is neither here nor there):

Mono JIT compiler version 6.12.0.182 (tarball Tue Jun 14 22:43:31 UTC 2022)

This works OK, so it doesn't appear to be Mono related at a first look. Similarly, mouse move is OK on this VM.

I'll try a Ubuntu VM at some stage tomorrow and see if that gives any clues, but my initial feeling is that this is going to be another of those unique system bugs :/

leezer3 avatar Sep 01 '22 18:09 leezer3

I re-tested at 1.8.4.0 and 1.8.4.1. I don't know what the timing this was fixed, but it have been fixed. So I closed #797.

But why ...?

ginga81 avatar Sep 03 '22 14:09 ginga81

I'm pretty certain from skimming the commits that nothing has changed that should affect this :/ Input hasn't really been touched for ages.

leezer3 avatar Sep 03 '22 17:09 leezer3

Very mysterious...

ginga81 avatar Sep 03 '22 18:09 ginga81

Distribution package updates?

Do the previously broken versions now work OK?

Any USB joysticks or something no longer plugged in? (IIRC you're using a USB cab controller thing- could this be doing something?)

leezer3 avatar Sep 03 '22 19:09 leezer3

In my environment, I have never rolled back an update in normal operation, and I don't know which package to roll back, so it is difficult to reproduce. sorry.

As you say, I am plugged the joystick. I plugged out, but didn't zoom.

ginga81 avatar Sep 04 '22 13:09 ginga81