Why does the windows key exhibit the same behavior as ] key in Documentation themed space in Confluence?

My company has Confluence 4.1 installed. I am observing that in Firefox 15 pressing the windows key on my keyboard has the same effect as pressing the [ when viewing pages in spaces with the documentation layout, which is to"Toggle the left-hand navigation bar" according to the following confluence documentation page:

https://confluence.atlassian.com/display/CONF41/Keyboard+Shortcuts

I did not find any known bugs after a few searches with keywords from this page: https://www.atlassian.com/en/search?query=

I'm happy to provide more information. This isn't quite that big of a deal but it is annoying. I figured I'd ask here before writing a new bug report.

4 answers

1 accepted

This widget could not be displayed.

That's a bug for that:

https://jira.atlassian.com/browse/CONF-22440

Please vote in it :)

Right, sorry, cleaning this up and accepting the correct answer. Hopefully people will see this answer so there aren't any future duplicates. Thanks again.

This widget could not be displayed.

The Windows key being pressed resolves to a keyCode/which value of 91. (http://www.javascripter.net/faq/keycodes.htm). The code in G.handler tries to resolve all keyCodes using String.fromCharCode(). String.fromCharCode(91) then gives us '[', which is why it's triggering the '[' shortcut.

Most of the other special keys are lucky enough to not resolve to a clashing symbol using String.fromCharCode(), but I'm personally not a proponent of Luck-Based Programming.

Also, some more thoughts on String.fromCharCode: http://stackoverflow.com/a/5829387

This widget could not be displayed.

This happens to me on Google Chrome too. It's definitely a bug. very annoying. Please file a bug report. Happy to vote.

This widget could not be displayed.

Thanks Harry for the confirmation. I've gone ahead and created the issue here: https://support.atlassian.com/browse/CSP-88445

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

863 views 8 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you