No Code Attached Yet
avatar PhilETaylor
PhilETaylor
16 Aug 2022

Steps to reproduce the issue

Reporting on behalf of a user of Joomla.

Joomla 4.2.0 advertises the keyboard shortcuts with CAPITAL LETTERS indicating (to those of us that use global pallet design daily in other apps) that these need to be typed as capital letters.
Screenshot 2022-08-16 at 21 13 39
Screenshot 2022-08-16 at 21 13 32

Expected result

The shortcuts should show lowercase letters to indicate that they dont need the shift key pressed

Actual result

Nothing works because idiots like me use SHIFT to get the advertised CAPITAL J and CAPITAL other letter.

System information (as much as possible)

Additional comments

avatar PhilETaylor PhilETaylor - open - 16 Aug 2022
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Aug 2022
avatar PhilETaylor PhilETaylor - change - 16 Aug 2022
The description was changed
avatar PhilETaylor PhilETaylor - edited - 16 Aug 2022
avatar brianteeman
brianteeman - comment - 16 Aug 2022

They work with both upper and lower case letters


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38478.

avatar PhilETaylor
PhilETaylor - comment - 16 Aug 2022

They work with both upper and lower case letters

Factually incorrect in the real world

avatar PhilETaylor
PhilETaylor - comment - 16 Aug 2022

The truth is that it doesn't work with either caps lock on, or holding down shift, on a Mac, in Safari or Firefox to Google Chrome. The user reported that to me, and I confirmed it myself.

avatar PhilETaylor
PhilETaylor - comment - 16 Aug 2022

They work with both upper and lower case letters

Take the demo code from https://wangchujiang.com/hotkeys/ and placed it in Codepen

<script src="https://unpkg.com/hotkeys-js/dist/hotkeys.min.js"></script>
<script type="text/javascript">
hotkeys('ctrl+a,ctrl+b,r,f', function (event, handler){
  switch (handler.key) {
    case 'ctrl+a': alert('you pressed ctrl+a!');
      break;
    case 'ctrl+b': alert('you pressed ctrl+b!');
      break;
    case 'r': alert('you pressed r!');
      break;
    case 'f': alert('you pressed f!');
      break;
    default: alert(event);
  }
});
</script>

https://codepen.io/philetaylor/pen/GRxwBbG

Click in the white area

type lower case r - see a pop up

type upper case r - see no popup

Conclusion, despite you thinking it does, it doesn't work as you think.

The Joomla "J" capital hotkey is hard coded as a capital letter

avatar brianteeman
brianteeman - comment - 16 Aug 2022

Conclusion, despite you thinking it does, it doesn't work as you think.

Maybe its a mac thing. Works perfectly on windows

avatar brianteeman
brianteeman - comment - 16 Aug 2022

Even on your code pen
type r or R
both give the same alert

note that R is not the same as shift-R

avatar PhilETaylor
PhilETaylor - comment - 16 Aug 2022

Are you telling me that Joomla has just shipped a flagship new feature and no one tested it on Mac's, the number one PC brand in the world, 15% marketshare in the USA, shipping 22.3 million Mac units a quarter?

/FACEPALM/

note that R is not the same as shift-R

HOW THE HELL do you type a capital R without shift or caps lock then?!!?!

avatar PhilETaylor
PhilETaylor - comment - 16 Aug 2022

ok if I enable caps lock and click into the white of the code pen and press R it doesn't work, of I then click out (blur) and then click back into the whitespace and press R (caps lock still on) then it works.

It seems like there is a bug here for sure...

avatar PhilETaylor PhilETaylor - change - 16 Aug 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-08-16 22:10:16
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 16 Aug 2022

Add a Comment

Login with GitHub to post a comment