Pop-up windows do not align with the top left corner


  1. Posts : 3
    Windows 10
       #1

    Pop-up windows do not align with the top left corner


    Hi,

    I've just noticed a feature which I don't think was present on Windows 7, but is on Windows 10.

    When a pop-up window is opened by an application the window is not aligned with the top left corner of the screen, it is slightly padded to the right. This seems to affect both pop-ups from browsers and from other applications (i.e Tkinter python frames).

    Is there a way to prevent this from happening? I have written a program that interacts with an application that creates these kinds of pop-ups and my program is expecting the windows to be about 7 pixels to the left of where they are appearing.... any ideas?

    This can be tested by turning off your ad blocker and going to http://www.popuptest.com/popuptest3.html.

    Thanks,
    Martin
      My Computer


  2. Posts : 56,806
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #2

    tinoater said:
    Hi,

    I've just noticed a feature which I don't think was present on Windows 7, but is on Windows 10.

    When a pop-up window is opened by an application the window is not aligned with the top left corner of the screen, it is slightly padded to the right. This seems to affect both pop-ups from browsers and from other applications (i.e Tkinter python frames).

    Is there a way to prevent this from happening? I have written a program that interacts with an application that creates these kinds of pop-ups and my program is expecting the windows to be about 7 pixels to the left of where they are appearing.... any ideas?

    This can be tested by turning off your ad blocker and going to http://www.popuptest.com/popuptest3.html.

    Thanks,
    Martin
    Yes, it is a known nuisance. Just grab the title bar with left mouse button and snap it up.
      My Computers


  3. Posts : 3
    Windows 10
    Thread Starter
       #3

    Thanks for the reply.

    Is there any word on this being changed? If not I guess I'll have to add the manual 7 or so pixel pad to my python code....
      My Computer


  4. Posts : 56,806
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #4

    Don't think it's a priority at MS. They may not even consider it a problem or nuisance. Better do what you have to do.... Tomcat.
      My Computers


  5. Posts : 3
    Windows 10
    Thread Starter
       #5

    If this is the biggest pain I get going from 7 to 10 I can count myself lucky....
      My Computer


  6. Posts : 56,806
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #6

    tinoater said:
    If this is the biggest pain I get going from 7 to 10 I can count myself lucky....
    Bingo!
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:55.
Find Us




Windows 10 Forums