Closed jack-ullery closed 11 months ago
The problem with applying selected profile file is that set_l_button_signal_handler() is never actually called with any Glib::SignalProxyProperty::SlotType. I guess that in order to make it work we have to call it with an appropriate function. I've also noted that we have ProfileModifyController, but we don't have ProfileLoadController.
Thank you for diagnosing this.
Looking at the history, it seems I deleted the controller in commit de5f8b79e8433ea305ee88601ce5f0ad9947bf14. I do not remember why I did this, and will experiment with adding it back in.
Describe the bug Currently, the Load Profile page withing the Profiles tab does not work. It allows you to select a file, but that file will never actually be loaded as a profile.
Really we need to overhaul the entire page to make it more user friendly, but this bug should (hopefully) be straightforward to fix.
To Reproduce Steps to reproduce the behavior:
Expected behavior There should be some sort of feedback when the Apply Profile button is pressed, regardless if it was successful or not. Furthermore, the button should actually copy and enable the profile, which it doesn't for some reason.
Honestly, I think the UI for this page needs to be overhauled, but I'll save that for a separate issue.
Additional context This issue affects all distributions I tested.