SamsidParty / TopNotify

The Ultimate Notification Customization Tool For Windows
https://www.samsidparty.com/software/topnotify
GNU General Public License v3.0
130 stars 5 forks source link

Blank window and out of border notifications on screen change #15

Closed bel57 closed 2 months ago

bel57 commented 3 months ago

Hello,

Not a Custom position reset on display change #11 dupe. There's an issue with TopNotify where when you're switching between monitors/display configuration, the app window goes blank (had to restart the app for it to display properly) and the notifications don't appear within screen frame (out of border). I can hear the sound but they don't appear. For what it's worth, using custom position. After switching to one of the set positions (corner) it's working.

I think the app should remember the relative position instead of saving screen coordinates. I'm not sure if it's a TopNotify issue or a Windows API issue cause it can happen with other apps too. Not sure why Microsoft wouldn't implement a safe area where forcing apps to not draw out of border. Can you look into this? Thanks

Btw I noticed this only recently cause usually I only use PBP (half) or full (4K) screen. This behavior happens when I switch from 4K monitor to FHD (laptop screen). image

SamsidParty commented 3 months ago

I believe these 2 bugs are separate. For the blank window bug, does pressing F5 do anything? If so then that bug is already fixed in the beta and will release before the end of July. As for the other bug, I still have to do some investigation.

bel57 commented 3 months ago

That's possible, I will give it a shot if it occurs again. Sorry for filing the 2 issues into 1 report. Thanks for the fast reply as always.

EDIT: btw, while I have you here: spawn notification button doesn't fire properly and if I click multiple times it's random/extremely delayed. For example I clicked several times and now it keeps popping up minutes after the clicks. There's also a problem with the notification bubble's drop shadow, it's cut instead of being smooth. I don't have the problem with normal Windows notifications image I can certainly create other tickets if you prefer.

SamsidParty commented 3 months ago

Unfortunately I won't be able to work on these issues for a while since I'm on vacation. I'll look into it after I come back.

bel57 commented 3 months ago

Okay no rush, please enjoy your vacay 😎

SamsidParty commented 2 months ago

I have managed to troubleshoot this issue, and completely reworked the way custom positions are stored. They are now stored as a percentage value instead of a pixel value, so it will work with scaling properly. Look out for version 2.4.1, hopefully coming soon.

bel57 commented 2 months ago

Excellent, thank you. Will reach out if there's any problem occuring with the new version.

SamsidParty commented 2 months ago

Version 2.4.1 is live on the microsoft store, note that you will have to redo the custom position setup because the method of storing it has changed.

bel57 commented 2 months ago

Seems to be working on my PC but ok my workstation it doesn't, despite custom bottom right position it's spawning in the top left. Also for some reason the settings window is see-through, no background.

SamsidParty commented 2 months ago

is your workstation running windows 10 or 11?

bel57 commented 2 months ago

Sorry for the missing details. My PC is on Win11 latest build and my workstation is running Windows 10 22H2 build 19045.4412

SamsidParty commented 2 months ago

Windows 10 explains the blank window part, can you try just restarting TopNotify? I think there might be a bug with the config files.

bel57 commented 2 months ago

Already restarted the app. But your comment pointed me to the right direction. It's working fine after wiping app data (reset via windows settings).

SamsidParty commented 2 months ago

Glad it finally works, can I close this issue now?