-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always highlight the OK button when installing an add-on #16802
Always highlight the OK button when installing an add-on #16802
Conversation
Please set Milestone and Labels ;-) |
@a1rwulf I can't recall we did, I will. |
Probably you weren't part of the discussion, but @kib and some others talked about the exact same thing. |
Just to be certain - this only applies when installing addons right? |
@HitcherUK AFAIK-tested, yes. |
i'm afraid this isn't correct. skins hardcode the focus to the simple list. kodi forces focus to the detailed list in case the detailed list is visible. you check check it is broken now by going to Settings > Interface > Skin. |
correct, that's what we decided on during devcon |
My comment here might be of some use |
b149d9f
to
9349292
Compare
cf37f09
to
7687778
Compare
7687778
to
ddc1c8f
Compare
Jenkins build this please |
@ronie are you happy with this now? |
@DaveTBlake yup, works ok now. |
ddc1c8f
to
6d34db9
Compare
This breaks the possibility to focus a dependency in the list of dependencies and view its details. |
c3bc22d should fix the issue. |
@Montellese This was the intention. If you want to view the details in one of the items, you move to it and you do so. More often than not, you just install the add-on and it makes sense to have "OK" highlighted. This was discussed during this year's devcon and it was a team decision. |
please try that ;-) i can confirm the issue @Montellese reported. |
I'm perfectly fine with having the OK button pre-select but now it is impossible to move the focus to one of the dependencies in the list because your changes to With my change the OK button is still pre-focused and you can also change the focus to all the other controls in the dialog (including the list of dependencies). |
I'll take a look tomorrow, thanks for the heads up, I don't think I noticed it but maybe I didn't look for it to do so (?) I'm having a bit of a transition period due to getting a new job, if @ronie approves go ahead and merge it otherwise I'll review it tomorrow night. |
See #17115 for a PR containing the commit mentioned above. |
@gusandrianos I also only found out by accident that I can select one of the dependencies and navigate to its details. |
…ghted Always highlight the OK button when installing an add-on
Description
This solves #16754.
Admittedly this is somewhat of a personal opinion issue, although I think it is a valid one. It can probably be a better fix by highlighting the "cancel" button first, in order to prevent accidental clicks to the "OK" button.
Motivation and Context
How Has This Been Tested?
I tested on Linux Mint 19.2
Screenshots (if appropriate):
Types of change
Checklist: