Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

High resolutions (> 1080) - wrong mouse-to-screen translation

Discussion in 'Release 36 Dev+ Bug Forum' started by tomcat_de, Nov 10, 2016.

Thread Status:
Not open for further replies.
  1. tomcat_de

    tomcat_de Avatar

    Messages:
    110
    Likes Received:
    265
    Trophy Points:
    30
    Gender:
    Male
    Location:
    Germany
    11/10/2016 10:37 AM
    Title: GUI: Dragging uses wrong mouse-to-screen scaling
    Reproduction Rate: 100%
    Blocker? Not really

    Details:

    This is an old one and I reported it before. But I feel now that the game is nearing release (more or less), it should be addressed.

    When I set game resolution to anything above 1920x1080, say 3840 x 2160, the mouse coordinate to screen coordinate mapping when dragging a GUI element (window, toolbar) around, is off. Clicking maps to the correct coordinate.

    Below is an example of moving the inventory window around. The mouse drag path is in red, the actual movement of the window is marked blue (before: left, after:right).

    Code:
        resolution is 3840x2050
    
        ptMouseBefore    = ( 275; 675)
        ptMouseAfter     = (1865; 800)
        ptWindowTPBefore = ( 120; 625)
        ptWindowTPAfter  = (2840; 820)
      
        dxMouse  = 1590
        dyMouse  =  125
        dxWindow = 2720
        dyWindow =  195
    
        dxWindow/dxMouse = 1.71
        dyWindow/dyMOuse = 1.56
    [​IMG]

    User Specs:
    OS: Windows 10 (10.0.0) 64bit
    CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8) System RAM: 16293
    GPU: NVIDIA GeForce GTX 980 GPU RAM: 4060
    SotA.EarlyAccess.Win.64.413.Date.11.08.16

    Edit : Removed location information because the screenshot was taken somewhere else and it does not matter where you are in the world to reproduce this bug
     
  2. liz_the_wiz

    liz_the_wiz Avatar

    Messages:
    1,369
    Likes Received:
    2,032
    Trophy Points:
    113
    Gender:
    Female
    forwarded for review 10/11/2016
     
  3. tomcat_de

    tomcat_de Avatar

    Messages:
    110
    Likes Received:
    265
    Trophy Points:
    30
    Gender:
    Male
    Location:
    Germany
    Thank you :)
     
  4. Gravidy

    Gravidy Avatar

    Messages:
    248
    Likes Received:
    571
    Trophy Points:
    18
    Gender:
    Male
    Location:
    San Francisco, CA
    I play at 1440p and can confirm this behavior.
     
    tomcat_de likes this.
Thread Status:
Not open for further replies.