Page MenuHome

Viewport rotation frozen at startup due to config and startup/blend state
Open, Needs Triage by DeveloperPublic


System Information
Operating system: Linux-4.18.0-25-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.116

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-22 20:38, hash: rB52bdf522afcd

Short description of error

Somehow I got my startup.blend file in a strange state, and when I start blender I can not rotate the viewport with the middle mouse button. Dolly/pan works fine. Shift-` style works as well with mouse rotation. Creating any other kind of file seems to fix the issue, but it returns on next startup.

  • erase any existing config directory
  • copy the provided userpref.blend and startup.blend files into ~/.blender/config/2.81/config/.
  • start blender, attempt to rotate view by MMB dragging in viewport
  • observe that it is frozen (dolly and pan work)
  • File -> new -> general
  • same result
  • File -> new -> <anything besides general>
  • File -> new -> general
  • observe that it now works as expected

If either the startup.blend file or the user prefs are not supplied, this does not happen.

I had a working startup.blend, and AFAIK the only thing I recently changed was the unit system from Imperial to Metric.



Event Timeline

I also found a way to fix this permanently, in case it helps to fix the bug:

  • configure blender as described above
  • start blender, observe that viewport rotation via MMB drag is frozen
  • File -> new -> animation
  • File -> new -> general
  • F3 -> save startup file
  • F3 -> save preferences
  • quit blender

Subsequent startups show that the issue is now fixed.

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Sep 24 2019, 2:59 PM

I think this was reported before, and I think this has always been classified as not-a-bug.

Pretty sure Preferences > Navigation > Orbit & Pan > Orbit Sensitivity is the culprit here?
(this should be at 0.4 as a default, but was at 0.0 for the reports in the back of my head...)

Is this the case for you?
(can also check if there is missing do_versions code when this was introduced for this somehow...)

But please let us know first if this fixes it for you...

Thanks -- orbit sensitivity was indeed at 0.

But I note:

  • I have never changed this sensitivity, and when the problem appeared I had not gone in to preferences at all as far as I recall, so apparently there is a bug causing it to be set to 0?
  • it is not possible to manually set this value to 0, only to 0.001, so the fact that it is 0 seems in error as well?
  • isn't the fact that a File -> New -> Animation (etc) changes this value to 0.4 a bug in itself? (Or are preferences supposed to be alterable when new files are created? Perhaps another way of asking is: if New -> Animation triggers a prefs sanity check, shouldn't New -> General?)
Bastien Montagne (mont29) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Oct 14 2019, 12:07 PM

Need to check again on this, was introduced in rBe82b7f15270e.