RetGal / Dayon

Dayon! - A cross-platform remote desktop assistance solution for your family and friends
https://retgal.github.io/Dayon/
GNU General Public License v3.0
146 stars 45 forks source link

Keeping size similar to position when starting app #85

Closed lammel-hub closed 6 months ago

lammel-hub commented 7 months ago

Is your feature request related to a problem? Please describe. When starting the app (assisted and assistant) it opens up to the same position as where the app was last closed (not talking about minimized here). It is very useful as I usually place the app in a certain spot on my screen. However, it does not have the same size as when it was last closed. This means it has to be resized every time it is restarted if I want to keep the "normal use size".

Describe the solution you'd like Context: Home Function: Save size when closing app to allow it to be opened with both the same position and size as when it was last closed.

Describe alternatives you've considered n/a

Additional context Tested in WIn 11, Dayon! ver 13.0.112

RetGal commented 7 months ago

It actually does that. Both, assistant and assisted store their position and dimensions. But they have individual minimal widths and heights configured. So if your "normal use size" is smaller than those limits, the will right jump back to their configured minimal dimensions when they are restarted.

I have introduced these minimum dimensions to ensure that all controls are always visible after restarting the application. But I guess with the upcoming UI2024 these minimum values can be corrected a bit downwards :)

lammel-hub commented 6 months ago

I understand, that is exactly the case. Perhaps let the user decide after all? (Instesd of forcing visibility)

I will add a screenshot soon, to show the amount of space I have with the current minimum size (am not at the computer at the momem)

lammel-hub commented 6 months ago

screen Here you can see how much space there is left between function buttons and the top right corner in the default minimum size of Assistant window on my screen (current version)

RetGal commented 6 months ago

Yes, that's definitely too much space. Reduced the min width from 1024 to 640 pixel for the assistant. With this size the certificate fingerprints remain visible. (with the new ui)