Closed ArrayBolt3 closed 1 year ago
For the problem with text spillage if the window is too small horizontally, I'm pretty sure that can be fixed by just bumping up the minimum window width to be the same as the default width. I'm happy to implement that if that's an acceptable way to resolve that.
That sounds like a very reasonable solution, and I trust your judgement on that.
On Fri, Mar 17, 2023, 15:37 Aaron Rainbolt @.***> wrote:
For the problem with text spillage if the window is too small horizontally, I'm pretty sure that can be fixed by just bumping up the minimum window width to be the same as the default width. I'm happy to implement that if that's an acceptable way to resolve that.
— Reply to this email directly, view it on GitHub https://github.com/kfocus/kfocus-source/pull/3#issuecomment-1474476232, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACV5LKYCY2QO7AT3R5GCRLW4TRSVANCNFSM6AAAAAAV63NLK4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
K, I also noticed that the original minimum vertical size let some elements go off the bottom of the screen, so I enforced a higher minimum there too.
The work you've done is very good and brings this one major step closer to completion. I've reviewed the changes and the app, and here is my assessment of what remains to be done. Most of this boils down to fixing kfocus-power-set -p to work better with the app, and then updating the app to take advantage of these changes. Also, now that we have a POC, it is a good idea to remove the most hacked features. All of these ideas are expressed below:
Glad you're happy with where things are going! I'll see if I can look into the points you've mentioned soon. Also, on IRC you said some things about scaling and capability sensing - is the capability sensing stuff already in the above five points, or is that another point that needs work? (EDIT: Nevermind, my brain finally finished registering that yes, you did indeed mention capability sensing in the above.) I'll also hopefully fiddle with display scaling and see if I can find what it's doing wrong and how to fix it there.
OK, this ended up being slightly trickier than it looked like on the surface, however I believe this is mostly ready.
Full list of changes:
test.py
with calls tokfocus-fan-set
andkfocus-power-set
. (No changes were needed to either tool as both already had all needed features.)fanSlider.value = 1
from line 250 that was causing the app to revert the user's fan settings.fanSlider.value = 1
line which resulted in the fan profile description to appear as "undefined" if the app was started with the fan profile set to Soft.kfocus-fan-set
andkfocus-fan-set -r
that was causing the app to sometimes revert the user's fan settings.kfocus-power-set
andkfocus-power-set -r
that was causing the app to sometimes revert the user's SPLINE tuning settings.kfocus-fan-set
andkfocus-power-set
into the proper format for the app's internal use.kfocus-power-set -r
specified that a "custom" profile was selected, which it seems to do randomly every so often.And apparently accidentally added some random whitespace to one line that wasn't needed :PCleaned that up.If needed, I can split these changes up into individual commits.
Things that may still need to be done: