Window shrinking background effect

Jorge Pérez Riebeling 6 Reputation points
2022-09-15T09:31:18.28+00:00

Hello,

In windows 11 when you try to move a window using a pen/stylus it will shrink a little bit and show a background on the sides (of the actual size of the window), when you release it it will return to normal.

We have a WPF project made a while ago and this didn't happen in Windows 10, but now it looks weird, since the grid we're using is a big transparent rectangle, so when you're trying to move it a huge block (the size of the grid) appears until you release it.

Is there a way to remove this effect from happening either in a windows setting or inside visual studio?

Here's an example image of the file explorer while it's being pressed and moved by the pen.

241397-background-effect.png

Thanks in advance :)

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
814 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,896 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,401 Reputation points
    2022-09-16T14:30:10.93+00:00

    Hi,

    Thank you for your question and reaching out.

    I understand that you're having issues with the screen using the pen/stylus. This might be cause of the new Windows 11 system's feature. However, to make sure with that, I would suggest reinstalling the display drivers first then check if the issue is the same or if it's fixed. To reinstall the display drivers of your device, you may follow the steps below:

    To uninstall driver from Windows 11, you have to :

    1. Press WINDOWS + X
    2. Click on "Device Manager"
    3. Double-click on the device group you want to uninstall. In your case, "Display adapters" to show its drivers.
    4. Right click on the device you want to uninstall
    5. Click on "Uninstall device"

    In order to reactivate the device and install device's driver, you have to:

    1. Press WINDOWS + X
    2. Click on "Device Manager"
    3. Click on the Action tab above.
    4. Select "Scan for hardware changes".

    If the drivers did not reinstall, I advise to restart the computer then check for the issue and see the results.

    ----------------------------------------------------------------------------------------------------------------

    If the reply was helpful, please don’t forget to Upvote or Accept as answer. Thank you!


  2. anenglishman 0 Reputation points
    2023-09-01T12:44:30.34+00:00

    Did you ever get an answer that helped? I'm guessing not ;-)

    It's very annoying, along with the pop-ups that tell you Minimise / Close etc

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.