yasb icon indicating copy to clipboard operation
yasb copied to clipboard

How to "reclaim" screen area after closing yasb?

Open ziombo opened this issue 3 years ago • 1 comments

After closing yasb, the space used by it seems to be still "blocked" and I'm left with an empty space that can't be used by my windows. Not sure if this is related, but what is the expected way to close yasb? I'm assuming using exit through the tray icon menu is supported, what about killing the process running in the cmdline?

ziombo avatar Aug 04 '22 09:08 ziombo

Quitting yasb via the system tray icon is the expected way. I have yet to implement a process exit handler for the bar so the windows app bar areas can be reclaimed, however, I am currently working on implementing this in a rust rewrite of yasb. Will keep this issue updated as the rust rewrite nears completion.

da-rth avatar Aug 04 '22 18:08 da-rth

Quitting yasb via the system tray icon is the expected way. I have yet to implement a process exit handler for the bar so the windows app bar areas can be reclaimed, however, I am currently working on implementing this in a rust rewrite of yasb. Will keep this issue updated as the rust rewrite nears completion.

Is the Rust rewrite still planned? (Really hope so!)

This project is exactly what I’m looking for, but unfortunately it seems a bit dead at the moment. Still using it in its current state though. Does anyone know of any other similar projects?

hotsno avatar Feb 17 '23 18:02 hotsno

@hotsno there is a similar status bar project called droptop four but it's using rainmeter tho

Dadangdut33 avatar Feb 25 '23 01:02 Dadangdut33

Thanks @Dadangdut33!

Also, I've found that restarting explorer.exe from task manager allows you to reclaim screen area after closing yasb.

hotsno avatar Mar 01 '23 20:03 hotsno

Quitting yasb via the system tray icon is the expected way. I have yet to implement a process exit handler for the bar so the windows app bar areas can be reclaimed, however, I am currently working on implementing this in a rust rewrite of yasb. Will keep this issue updated as the rust rewrite nears completion.

Is the Rust rewrite still planned? (Really hope so!)

This project is exactly what I’m looking for, but unfortunately it seems a bit dead at the moment. Still using it in its current state though. Does anyone know of any other similar projects?

Yes it's currently in the works. Has been an on/off development for the past few works but I'm now able to allocate more time towards it. You can preview the rewrite on the tauri-port branch. Some logic for reclaiming bar space was introduced, so should work better than the current python implementation

da-rth avatar Mar 12 '23 14:03 da-rth

Thanks @Dadangdut33!

Also, I've found that restarting explorer.exe from task manager allows you to reclaim screen area after closing yasb.

Thanks for sharing this!

codeuntilcold avatar Mar 30 '23 15:03 codeuntilcold

Screen space reclamation has been implemented for the tauri rewrite of YASB. No such behaviour is planned for v1, as I have decided to halt development for the python version.

Please check out the tauri-port branch and share your thoughts. Closing this as no additional work is required

da-rth avatar Apr 03 '23 11:04 da-rth