View keeps spinning and zooming

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
arska
Posts: 11
Joined: Sat Apr 07, 2018 6:58 pm

View keeps spinning and zooming

Postby arska » Thu May 30, 2019 6:17 am

I just installed v0.18, and from the first start it behaves strangely. Immediately when I create new document (or open existing), the view starts to spin and zoom erratically. No problem with 0.17 on same machine.

I disabled animation from display settings, and tried all navigation styles. Tried also keys 0-6 to set view. PC was restarted and I even uninstalled and reinstalled FreeCAD, but no change, it keeps spinning.

I uploaded YouTube video to demonstrate this bug (sorry for small video)
https://youtu.be/wG5vkxl3thU


OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Finnish/Finland (fi_FI)
kisolre
Posts: 1115
Joined: Wed Nov 21, 2018 1:13 pm

Re: View keeps spinning and zooming

Postby kisolre » Thu May 30, 2019 6:31 am

You probably have a key stuck on your keyboard. Try to install and run http://code52.org/carnac/ which displays keypresses and check the result.
arska
Posts: 11
Joined: Sat Apr 07, 2018 6:58 pm

Re: View keeps spinning and zooming

Postby arska » Thu May 30, 2019 12:20 pm

No stuck keys, I tried Carnac. And since 0.17 works ok (I have both versions open), there must be some bug in 0.18.
Syres
Posts: 297
Joined: Thu Aug 09, 2018 11:14 am

Re: View keeps spinning and zooming

Postby Syres » Thu May 30, 2019 12:55 pm

A suggestion in order to assist narrowing down the issue, would you mind downloading and unpacking with the use of 7-Zip to a completely different folder, this specific portable version of 0.18.16110 https://github.com/FreeCAD/FreeCAD/rele ... ortable.7z
You don't need to remove the installed version of 0.18.16110 though I believe you will need to create a shortcut for the portable version and point it to the src\bin\FreeCAD.exe file.
arska
Posts: 11
Joined: Sat Apr 07, 2018 6:58 pm

Re: View keeps spinning and zooming

Postby arska » Thu May 30, 2019 1:22 pm

Installed portable version, and I can confirm that it does not work any better, view is still spinning :(

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 +17 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.1)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Finnish/Finland (fi_FI)
kisolre
Posts: 1115
Joined: Wed Nov 21, 2018 1:13 pm

Re: View keeps spinning and zooming

Postby kisolre » Thu May 30, 2019 1:32 pm

Try this https://www.keyboardtester.com/
Might be QT handling keypresses differently in different versions.
arska
Posts: 11
Joined: Sat Apr 07, 2018 6:58 pm

Re: View keeps spinning and zooming

Postby arska » Thu May 30, 2019 1:39 pm

All keys tested using keyboardtester.com, all keys worked, except "Com" and "Sel" (no such keys on keyboard). No keys are stuck.
kisolre
Posts: 1115
Joined: Wed Nov 21, 2018 1:13 pm

Re: View keeps spinning and zooming

Postby kisolre » Thu May 30, 2019 2:28 pm

After rewatching the video that numbers at the bottom right (the virtual size of the active view) increase like it is zooming out with the mouse wheel (rotating in towards you). I could recreate the same behavior until it reaches INF mm x INF mm. Could you check your mouse? Unplug an external mouse, disable touchpad,... reboot windows,...
arska
Posts: 11
Joined: Sat Apr 07, 2018 6:58 pm

Re: View keeps spinning and zooming

Postby arska » Thu May 30, 2019 3:45 pm

Using desktop pc, so unplugged mouse completely, started FreeCAD, creating new document via keyboard, but still no change. It keeps rotating and zooming. PC rebooted two times. Keyboard and mouse works perfect with other programs and older version of FreeCAD.
arska
Posts: 11
Joined: Sat Apr 07, 2018 6:58 pm

Re: View keeps spinning and zooming

Postby arska » Sat Jun 01, 2019 8:10 pm

I tried portable version on Windows 10 running on virtual machine (same pc), and there I have no problems.