View Issue Details

IDProjectCategoryLast Update
0000338AI War 1 / ClassicGameplay IssueOct 20, 2010 3:39 pm
ReporterMorslok Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version3.702 
Fixed in Version3.719 
Summary0000338: Mouse scroll zooming is not the same in both directions.
DescriptionWhile playing the most recent version of AI War, I noticed that mouse scrolling is not working as I was expecting. When I would scroll up it would zoom in a small amount per click, but when I would scroll down it would zoom out twice as far as it had zoomed in for the same amount of mouse wheel movement. In order to ensure that this was not a problem with my (new) mouse, I loaded up the last SlimDX version and did some mouse scrolling. Zooming in the old version works 1 to 1 zooming in and out. So I am lead to believe that this may possibly be an issue with the Unity version. It's not a big deal, it's just one of those minor annoyances that gets under my skin after a while. Thanks.
TagsNo tags attached.
Internal Weight

Relationships

has duplicate 0000596 resolvedChris_McElligottPark Mouse wheel zooming unbalanced 
has duplicate 0001016 minor fix for laterkeith.lamothe Mouse wheel zoom 

Activities

Chris_McElligottPark

Oct 6, 2010 10:43 pm

administrator   ~0000432

We should be able to track that down and get that fixed before the official -- thanks for the report! It's something in our own math, not something specific to Unity, which is a good thing in terms of the fixability of it. :)

Chris_McElligottPark

Oct 8, 2010 8:38 pm

administrator   ~0000545

* Mouse zooming would previously not always be the same when zooming out and zooming in. Fixed.

Thanks!

Morslok

Oct 11, 2010 9:28 pm

reporter   ~0000655

I'm still having the same issue, except it's worse now. I can scroll up and zoom in incrementally, but when I scroll down it zooms all the way out as far as it can. Using the latest version, 3.707 "The Sledge Hammer".

Moonshine Fox

Oct 13, 2010 5:32 pm

reporter   ~0000766

0000429 is a duplicate of this, FYI.

Morslok

Oct 13, 2010 6:25 pm

reporter   ~0000771

Just loaded the latest version, 3.711, and started a new game, and the issue is fixed. It appears to still work incorrectly on my slightly older saved games though.

Moonshine Fox

Oct 17, 2010 10:41 am

reporter   ~0001093

I'm using 3.717 and this is still present. Zooming in is "one step", while zooming out is "two steps".

Moonshine Fox

Oct 19, 2010 12:07 am

reporter   ~0001280

Actually, I was wrong. I tested it specifically now and zooming in will zoom you one step in, while zooming out will zoom you to a predefined "zoomed out" state, which leads to confusion (and frustration).

Chris_McElligottPark

Oct 19, 2010 1:53 pm

administrator   ~0001315

Thanks guys!

Toll

Oct 19, 2010 7:21 pm

reporter   ~0001374

I believe this is still happening... I counted 19 increments while zooming out and 9 when zooming in. Anyone else still have this?

Chris_McElligottPark

Oct 19, 2010 7:24 pm

administrator   ~0001376

There's should be absolutely no way this happens unless your mouse wheel is giving multiple increments in and out. There is literally an array it's iterating over now, heh.

For further testing, if you hit F3 you can see the zoom level next to the starfield name, I think it's the second-to-bottom line. You can use that to tell if you're zooming in and out to the same values or not. In my tests it was just right, but depending on your wheel mouse you might actually be sending two "ticks" instead of one without realizing it. Not much I can do on that directly, if that's the case, as the game simply acts on how many ticks it's sent.

Unless there's some more subtle issue there, which is always possible, but I've not seen it in my extensive work on this today.

Toll

Oct 19, 2010 7:33 pm

reporter   ~0001389

Hmm. I haven't noticed that my mouse sends different amounts when zooming out vs in anywhere else (which includes my own programs). Interestingly enough, when I go to the lowest zoom increment, it zooms out and in at about the same speed (6 increments), but if I go up to max, it's a very discernable difference.

Another interesting fact: Whenever I zoom out, it always goes to the same value (1280x1000 -> 1329x1038), but when I zoom in it almost seems random (163840x128000 -> 95325, 84562, 83220, 78251, etc). I'll try with another mouse if no one else gets the same results...

Toll

Oct 19, 2010 8:02 pm

reporter   ~0001416

Ah, I've found the breakage! It works as it should if there's a zoom speed set at or below the middle; anything higher than that and it starts becoming unreliable (at about half-way, it sometimes zooms from 0.008 to 0.009 and sometimes to 0.01, but at the highest speed setting it jumps from 0.008 to anywhere from 0.01 to 0.018).

Chris_McElligottPark

Oct 19, 2010 8:03 pm

administrator   ~0001419

Hmm, great find, I'll have to investigate that.

Toll

Oct 19, 2010 8:08 pm

reporter   ~0001424

Oh, and even though it's slightly unrelated; is it possible to add a small delay to the pgup/pgdn scrolling? If you've got the highest speed, tapping it once generates plenty of scrolls. Perhaps you could only recognise one pgdn/pgup per half-second, or at least wait a half-second from the first one to the rest of them, so you retain both the speed-zoom (even though it is a half-second delayed) and the more precise zoom.

Chris_McElligottPark

Oct 20, 2010 3:39 pm

administrator   ~0001569

3.800 version:

* There are now separate sliders for the mouse wheel zoom speed and the keyboard zoom speed.

Issue History

Date Modified Username Field Change
Oct 6, 2010 10:41 pm Morslok New Issue
Oct 6, 2010 10:43 pm Chris_McElligottPark Note Added: 0000432
Oct 6, 2010 10:43 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 6, 2010 10:43 pm Chris_McElligottPark Status new => acknowledged
Oct 8, 2010 8:38 pm Chris_McElligottPark Note Added: 0000545
Oct 8, 2010 8:38 pm Chris_McElligottPark Status acknowledged => resolved
Oct 8, 2010 8:38 pm Chris_McElligottPark Fixed in Version => 3.704
Oct 8, 2010 8:38 pm Chris_McElligottPark Resolution open => fixed
Oct 11, 2010 9:28 pm Morslok Note Added: 0000655
Oct 11, 2010 9:28 pm Morslok Status resolved => feedback
Oct 11, 2010 9:28 pm Morslok Resolution fixed => reopened
Oct 13, 2010 5:32 pm Moonshine Fox Note Added: 0000766
Oct 13, 2010 6:25 pm Morslok Note Added: 0000771
Oct 13, 2010 6:25 pm Morslok Status feedback => assigned
Oct 16, 2010 4:43 pm Chris_McElligottPark Relationship added has duplicate 0000596
Oct 17, 2010 10:41 am Moonshine Fox Note Added: 0001093
Oct 19, 2010 12:07 am Moonshine Fox Note Added: 0001280
Oct 19, 2010 1:53 pm Chris_McElligottPark Note Added: 0001315
Oct 19, 2010 1:53 pm Chris_McElligottPark Status assigned => resolved
Oct 19, 2010 1:53 pm Chris_McElligottPark Fixed in Version 3.704 => 3.719
Oct 19, 2010 1:53 pm Chris_McElligottPark Resolution reopened => fixed
Oct 19, 2010 7:21 pm Toll Note Added: 0001374
Oct 19, 2010 7:24 pm Chris_McElligottPark Note Added: 0001376
Oct 19, 2010 7:33 pm Toll Note Added: 0001389
Oct 19, 2010 8:02 pm Toll Note Added: 0001416
Oct 19, 2010 8:03 pm Chris_McElligottPark Note Added: 0001419
Oct 19, 2010 8:03 pm Chris_McElligottPark Status resolved => confirmed
Oct 19, 2010 8:08 pm Toll Note Added: 0001424
Oct 20, 2010 3:39 pm Chris_McElligottPark Note Added: 0001569
Oct 20, 2010 3:39 pm Chris_McElligottPark Status confirmed => resolved
Nov 2, 2010 2:09 pm Toll Relationship added has duplicate 0001016
Apr 14, 2014 9:28 am Chris_McElligottPark Category Gameplay - General Complaint => Gameplay Issue