#11616 - [Linux] Zooming out should not prevent scrolling left
DrHappyAngry
Member Posts: 1,577
Sorry, this one might be a little tricky to reproduce. I can't always get it to happen, and I have not observed the behavior in IWD:EE on Linux. It didn't seem to take too long before it starts happening. It doesn't seem to happen immediately after just starting or loading a game. It seems to start happening after a few minutes, though.
This is under the Gnome remix of Ubuntu 14.04, nvidia drivers 343.22, GTX 980.
1. Scroll to left hand side of screen, very fast. ie rapidly move the mouse all the way from the right hand side of the screen to the left.
*Observed* Screen does not scroll to the left.
*Expected* Screen scrolls to the left.
When this starts happening, I can still scroll to the left, if I move the mouse to the left side more slowly. Scrolling Up and Left, as well as Down and Left can cause the problem to occur. All the other directions seem unaffected.
This is under the Gnome remix of Ubuntu 14.04, nvidia drivers 343.22, GTX 980.
1. Scroll to left hand side of screen, very fast. ie rapidly move the mouse all the way from the right hand side of the screen to the left.
*Observed* Screen does not scroll to the left.
*Expected* Screen scrolls to the left.
When this starts happening, I can still scroll to the left, if I move the mouse to the left side more slowly. Scrolling Up and Left, as well as Down and Left can cause the problem to occur. All the other directions seem unaffected.
Post edited by Troodon80 on
1
Comments
I thought it might be because I use dual monitors on my desktop (even though the spare monitor is to the right). But it still happens even with the single display on my laptop. It seems to happen pretty quick, though. Less than a minute after starting a new game or loading one.
It almost seems like the game lets the mouse cursor slip a pixel or so further than the edge scroll on the left can pick up. The really weird thing is, it's only to the left.
What resolution are you using?Edit: I can replicate the issue. It seems to depend on the speed at which you move the cursor to the left edge. If you move it slowly, it will always work. If you move it quickly, then you have a high chance of encountering this.
Also, can you see if it happens at lower resolutions?
OS: Linux Slackware 14.1
I can only imagine that there is some coordinate transformation problem while calculating the "hotspot" zone for the scrolling effect after the visible screensize has changed bcs of zooming.
For me, the solution is to avoid the zoom function. A "fixed zoom" setting in the config file like in IWDEE would be very nice.
I think I have finally found a reliable way to reproduce the error:
(1) Start a game new (dont load, just start fresh).
(2) Load a saved game or start a new.
(3) Use the mousewheel to zoom in a bit (doesnt matter how much).
Now you shouldnt be able to scroll to the left with moving your mouse cursor to the left edge of the screen. After next reload, the scrolling works fine.
Perhaps a variable that is not initialized at game start?
OS: Slackware 14.1
Screen: 1600x1200@nvidia, fullscreen
I hope this helps a bit to kill the bug finally.
Windows 8.1, Intel HD 4000 iGPU
Also, that would be the first mention on this issue being non-Linux. I'm guessing it has a lot to do with the resolution—I've never seen this issue before on my Windows testing laptop (1280x800) or desktop (1920x1200). Interestingly, I can replicate this issue at 1920x1080 on my Linux machine. oldman42 is using 4:3. Difference between 16:9, 16:10, and 4:3? Since scaling is dealt by height, it probably has something to do with it.
Besides, isnt it strange that it only occurs on the left side? What makes this side so special? If it has to do with coordinate problems, wouldnt it be at least consistent if the problem is also applicable to the upper screen edge (resp. lower, if graphic coordinate system is flipped)? Or, if the screen ratio is the cause, why is the right border not afflicted? Just some thoughts...
When I begin a new game or load an old save, it starts at the default zoom—not zoomed out.
Attached are the zoom levels I have.
Default zoom
Zoomed in
Zoomed out
I can only replicate the issue when zoomed out. I can replicate the effect with scaled user interface enabled and disabled. I cannot replicate the issue by zooming in.
Some more info that pops up in my head: I play with scaled interface, GOG version. English, no mods.
I confirm I have this bug as well. Running BG-EE on Steam on Mint 17.2.
When the zoom is out (original view), I am not able to scroll on the left with the mouse (left arrow works though). If I zoom in just a little, this will work.
Didn't notice it before since I moved from playing BG-EE on Wine (1.7) to Steam - Linux version (no problem at this time..).