Cataclysm-dda: Look around cursor does not appear in the center of the game window

Created on 14 May 2019  路  28Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug

When looking around (';' or 'x' by default), the cursor appears in the upper left corner, rather than starting at the player.

Probably related to #29825.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Make a character.
  2. Press ';' (or whatever your look around binding is)
  3. The cursor appears in the upper left. The right panel shows information about the tile in the upper left corner.

Expected behavior

Yesterday, look around began centered at the player.

Screenshots

image

Versions and configuration

  • OS: Windows 10 [64-bit]
  • Game Version: 0.D-2935-g4da9158
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food]
    ]
<Bug> Info / User Interface

All 28 comments

Yep, same here

Yes, same here

I'm having a dickens of a time trying to reproduce this (and haven't managed to do so so far). :(

Could I have one of you guys toss your options.json file in here for me?

Pardon my github illiteracy, it doesn't seem to like .json files, so I've uploaded as a .txt.

options.txt

Pardon my github illiteracy, it doesn't seem to like .json files, so I've uploaded as a .txt.

options.txt

worked well enough. I would have also accepted pastebin or gist.github.com.

aggravatingly, this still isn't enough for me to replicate the problem in my windows VM with the same version of the game as you. :( I was really hoping there'd be something in the config settings that could be at fault.

Out of curiosity, if you try playing the game windowed instead of full screen, does it make a difference?

Same problem on Windows 7. No difference between fullscreen and windowed.

I notice that whenever the cursor is activated, it momentarily appears over the character and it's immediately re-positioned at the top leftmost tile.

Setting "Edge Scrolling" in the interface options to disabled will cause the cursor to behave normally.

Yup, went back to normal behavior by changing Settings > Interface > 40: Edge Scrolling (the last option) to disabled.

When this option Edge Scrolling is disabled, the cursor works as it should (windows 10 x64), but flashing does not work on the map

When this option Edge Scrolling is disabled, the cursor works as it should (windows 10 x64), but flashing does not work on the map

Aghl. I can't reproduce this either.

@dsmky117 @dom4op Do either of you have problems with the minimap not cycling with edge scroll disabled?

And @gr0mazeka just to be absolutely sure, you haven't inadvertantly set Enemy beacon blink speed to 0 in the Graphics tab, have you?

Enemy beacon blink speed = 10. I have a computer and a notebook with different operating systems (W7 and W10), but the problem is the same.

This is going to drive me mad. The fact I can't replicate these problems in any of my test rigs makes it exceptionally hard to troubleshoot.

But here's some bonus questions: do you have any difference in the problematic behavior if you change "Renderer"? I know dsmky117 is using direct3d from the provided options file. Do any of you get anything different behavior-wise using "software", "opengl" or "direct3d11" ?

Also do any of you have multiple monitors? If so, does the game behave differently for these issues if it's told to run on a different monitor?

render no difference

render no difference

I hate to ask this, but you restarted the game after changing the renderer setting, right?

opengl good work. if enabled direct3d - then the problem

@esotericist I can confirm that my map cursor did stop blinking when I disabled edge scrolling. The cursor "blinks" when I move it. If I hold down a direction, it blinks normally. Pressing a directional key once causes the brackets to appear/disappear.

I tried all of the different renderers (with restarts) and found no difference to the look cursor or minimap blinking issue.

If it helps, I'm on Windows 10.0.17134. I'm using the launcher, but running cataclysm-tiles.exe directly doesn't make a difference.

This might be grasping at straws, but here is my dxdiag results:
image
image

I can confirm that my map cursor did stop blinking when I disabled edge scrolling. The cursor "blinks" when I move it. If I hold down a direction, it blinks normally. Pressing a directional key once causes the brackets to appear/disappear.

OH! overmap cursor! I thought we were talking about the minimap enemy indicator for some reason

Now I have something I can replicate (I see the problem now) and try to fix!!

I still don't understand what's going on with the "look around" cursor for you folks, but I think I can at least fix the cursor blinking problem on the overmap (m screen).

Silly question: does the cursor you guys see in the top left when you hit x to look around... well, move if you move the mouse?

Silly question: does the cursor you guys see in the top left when you hit x to look around... well, move if you move the mouse?

Yes, it follows the mouse cursor.

Okay. I might have found a possible cause of this problem, but I can't be 100% sure, since I still can't reproduce the problem myself. I'll do what I can.

build 8972 last one that works correctly for me. https://youtu.be/Ci7IJgbzt4I

Yeah, I know which PR introduced the problem, I'm just trying to figure out how to fix it, while
a) not being able to reproduce it myself (and thus know if I've fixed it)
b) not backing out the new features of the PR

thanks, it works...

To be clear, what works now?

I'm confident I fixed the map blinking as of build 8989, but since I never managed to replicate the cursor issue, I had to stab at it blindly. Is that fixed as well, with edge scroll enabled?

yes

Edge scrolling enabled: The look around cursor appears centered at the player, this appears to be fixed.

Edge scrolling disabled: The overmap cursor blinks normally, also fixed.

Closing then.

Was this page helpful?
0 / 5 - 0 ratings