Problem/Motivation
The key is the wrong way around.
Proposed resolution
Rotate it.
Remaining tasks
Patch that rotates itDiligently observe the fact that its now the right way (review)
User interface changes
- Changes the orientation of the key
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#43 | after patch15.png | 44.15 KB | sonam.chaturvedi |
#37 | Screen Shot 2020-07-22 at 7.01.51 PM.png | 383.33 KB | tanubansal |
#22 | vertical_permission_ltr.png | 47.84 KB | zuhair_ak |
#22 | vertical_permission_rtl.png | 44.43 KB | zuhair_ak |
#21 | ltr_after_patch_#15.png | 17.06 KB | prashantgoel |
Comments
Comment #2
YasminKlockaerts CreditAttribution: YasminKlockaerts commentedWorking on this as the Drupal Belgium sprint
Comment #3
YasminKlockaerts CreditAttribution: YasminKlockaerts commentedWorking on this as the Drupal Belgium sprint
Comment #4
YasminKlockaerts CreditAttribution: YasminKlockaerts commentedWorking on this as the Drupal Belgium sprint
Comment #5
iMiksuThis is not a major issue because it does not have significant repercussions and do not render the whole system unusable.
Can you give some usability references/results about key orientations to support this usability issue.
I'm tempted to put this minor but I'll change this to normal. Please feel free to change to minor if you agree with the priority.
Comment #6
ppind CreditAttribution: ppind commentedTogether with YasminKlockaerts I worked on this issue. First we tried to solve this on a css level.
However, because the key.svg file is only used here we choose to alter the svg file itself.
Comment #7
iMiksuHere's a screenshot of patched version.
Comment #8
iMiksuComment #9
iMiksuComment #10
iMiksuComment #11
kekkisI can confirm that applying the patch indeed does what #7 shows. Therefore this patch is RTBC, IMO.
Comment #12
Bojhan CreditAttribution: Bojhan as a volunteer commentedAwesome :)
Comment #13
LewisNymanWe have one other key.svg in core, do we also want to change that one as well? I would be good if they were consistent apart from the colour.
Comment #14
hussainwebThere is no need to change permissions.
Also, I think we should keep it consistent as @LewisNyman says in #13.
Comment #15
subharanjan CreditAttribution: subharanjan commentedFixed the file permissions. Also, changed the icon at core/themes/stable/images/core/icons/787878/ to keep it consistent as @LewisNyman suggested in #13. Thanks.
Comment #16
yoroy CreditAttribution: yoroy at Roy Scholten commentedPatch applies to 8.1.x as well on simplytest. Not sure how to verify the other icon.
Comment #17
subharanjan CreditAttribution: subharanjan commentedComment #18
Truptti CreditAttribution: Truptti at Axelerant commentedVerified the patch in #15, observations are as below
1.On applying patch on drupal 8.0.x, key icon is displayed properly
2.Patch in #15 applies successfully to drupal 8.1.x also and the key icon is corrected on modules page
Attached snapshot for reference.
Comment #19
Truptti CreditAttribution: Truptti at Axelerant commentedComment #20
alexpottSo is it currently the right way around for rtl websites? And are we breaking that here? Imo what is weird is having the key on the diagonal. Setting to needs review because I think we some rtl screenshots - and probably some work to fix rtl.
Comment #21
prashantgoel CreditAttribution: prashantgoel as a volunteer commentedI agree with LewisNyman and alexpott.
So if we are changing the direction of the key for this issue it should be done in for other occurrences as well to make it consistent.
I believe if this would have been a simple vertical key then it would have made sense for ltr and rtl websites. For rtl it looks a little off.
I am still leaving this for community to review but patch in #15 does what's expected.
Screenshots before applying patch:
ltr : https://www.drupal.org/files/issues/ltr_before_patch.png
rtl : https://www.drupal.org/files/issues/rtl_before_patch.png
Screenshots after applying patch:
ltr : https://www.drupal.org/files/issues/ltr_after_patch_%2315.png
rtl : https://www.drupal.org/files/issues/rtl_after_patch_%2315.png
Comment #22
zuhair_akI have added images with vertical permission icon for both ltr and rtl languages from my local machine.
Should we move in this direction or rotate the icon for rtl languages using css from patch #15?
Comment #24
yoroy CreditAttribution: yoroy at Roy Scholten commentedComment #26
ZeiP CreditAttribution: ZeiP at Citrus Solutions Oy commentedSetting to Needs work as apparently it requires some changes (after first having determined which ones.)
Comment #27
Bojhan CreditAttribution: Bojhan as a volunteer commentedWait, what. Why did we move from diagonal to vertical? Yes its easier, but diagonal looks much better!
Comment #29
simohell CreditAttribution: simohell commentedFlipping or rotating the key actually changes quite a lot.
The direction of the icon to me gives me the following impressions:
- the current version is in a position as if it would be held by the user. Giving the impression, that the (admin) user is in control.
- the reversed diagonal key would instead be held by someone else and target the user.
- vertical key seems inactive, not controlled by anyone (and is smaller in size.)
You can compare the key-icon to the wrench for "configuration", you see they are both "held" by the user. This also applies to the brush for "appearance". Changing the direction of the icon would break this metaphor that user is in control, so I would argue this actually works as designed.
Comment #30
Ivan Berezhnov CreditAttribution: Ivan Berezhnov as a volunteer and at Drupal Ukraine Community for Levi9 commentedComment #33
Rithesh BK CreditAttribution: Rithesh BK as a volunteer and at Valuebound for Valuebound commentedcurently i am working on it ......
Comment #34
Rithesh BK CreditAttribution: Rithesh BK as a volunteer and at Valuebound for Valuebound commentedTested drupal_core-replaced_with_rotated_secure_key_icon-2599390-15.patch from #15 on local 8.6.x-dev and it worked fine. Please find the attached screenshot ....
Comment #35
mradcliffeI'm removing the Novice tag because I think that there isn't a clear action here based on @simohell's review.
I also updated the version to 8.9.x-dev.
Comment #37
tanubansal CreditAttribution: tanubansal at Salsa Digital commentedIs there any key position fix for drupal 9.1?
Same issue is there as well
Comment #41
larowlanComment #43
sonam.chaturvedi CreditAttribution: sonam.chaturvedi at Salsa Digital commentedVerified and tested patch#15 on 9.5.x-dev. Patch applied successfully.
However, fix is not working. We need re-roll for 9.5.x-dev
After patch:
Comment #44
sonam.chaturvedi CreditAttribution: sonam.chaturvedi at Salsa Digital for Drupal India Association commentedComment #46
Kristen PolTagging for bugsmash.
Comment #47
simohell CreditAttribution: simohell commentedHonestly, I still think changing the direction of the key is a bad idea.
This is not a bug and I personally would regard a reversed direction more of a bug. It would in my opinion detach the icon from the style used elsewhere in the user interface - and make the action slightly less readable as the visual weight of the icon-text combination would move away from the center visually distancing the icon and text from each other. A reversed key-icon would also make it less accessible and less usable as the shape would be more difficult to distinguish from the configuration wrench icon.
It should be noted also, that there is an issue with a suggestion to away from this view for module administration moving the configuration link as a part of a dropbutton #2035079: [PP-3] Figure out what to do with the install/uninstall modules page