microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.88k stars 6.53k forks source link

Always on top border gets duplicated after minimizing and restoring all windows #31215

Open Fruchtzwerg94 opened 9 months ago

Fruchtzwerg94 commented 9 months ago

Microsoft PowerToys version

0.78.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Always on Top

Steps to reproduce

  1. Activate always on top for a window
  2. Minimize all windows --> Win + M
  3. Restore the minimized windows --> Win + Shift + M
  4. Drag the top most window to another position

BorderDuplicated

I've found no way to get rid of these border anymore without disabling the the feature in PowerToys.

✔️ Expected Behavior

Always on top border stays correct after minimizing and restoring all windows

❌ Actual Behavior

Always on top border gets duplicated after minimizing and restoring all windows

Other Software

No response

TheJoeFin commented 9 months ago

I cannot reproduce this using the steps you shared. Can you attach a /bugreport

Fruchtzwerg94 commented 8 months ago

I've attached the files which are looking relevant for me: AlwaysOnTop.zip

TheJoeFin commented 8 months ago

@Fruchtzwerg94 it looks like the Always On Top is failing to unpin. Not sure what would be causing that. Are you using any other window management program or are there any installed by your PC maker? /needinfo

Probably from this line: https://github.com/microsoft/PowerToys/blob/356db99bcaf71eec225c0279ba7475d7e79c7708/src/modules/alwaysontop/AlwaysOnTop/AlwaysOnTop.cpp#L409

Fruchtzwerg94 commented 8 months ago

@TheJoeFin : No other window management software is installed. But there definitively seems to be a difference to your setup. Do you have an idea how to track it down more detailed?

TheJoeFin commented 7 months ago

@Fruchtzwerg94 I don't know how you could get more details. You could try using the PowerToys Screen Ruler and see if that works fine because it uses similar native methods. If you're having issues with Screen Ruler as well then maybe there is something going on with your install of PowerToys or Windows.

Fruchtzwerg94 commented 7 months ago

@TheJoeFin I am able to reproduce #30530 , unfortunately no details are in the logs here. But it doesn't feel like this issue is related to my one. Anything special I can test here to us the native methods you have in mind?

TheJoeFin commented 6 months ago

@Fruchtzwerg94 is this still an issue in v0.80.1? /needinfo

Fruchtzwerg94 commented 6 months ago

@Fruchtzwerg94 is this still an issue in v0.80.1? /needinfo

Yes, it still is an issue in v0.80.1

bastianfbr commented 1 month ago

Just had this issue (v.0.84.1)

EDIT : Also don't have it anymore...