Tallefer / arora

Automatically exported from code.google.com/p/arora
0 stars 0 forks source link

Alt+D should focus and select the address bar #359

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Type Alt+D should put focus on the address bar and select all the content

What is the expected output?
Alt+D should put focus on the address bar and select all the content

What do you see instead?
Alt+D just produces a beep.

What version of the product are you using? On what operating system?
Arora 0.5 on Win XP

Original issue reported on code.google.com by dhh...@gmail.com on 28 Mar 2009 at 12:27

GoogleCodeExporter commented 9 years ago
Is this the same behavior as Ctrl+L?  Which browser does Alt+D?  Testing in 
Safari and Firefox they both have 
Ctrl+L, but not Alt+D

Original comment by ice...@gmail.com on 28 Mar 2009 at 12:53

GoogleCodeExporter commented 9 years ago
Yes, it is the same behavior as Ctrl+L, and all 5 major browsers on Windows use 
Alt+D 
(Safari, Chrome, Opera, Firefox, and IE)

Original comment by dhh...@gmail.com on 28 Mar 2009 at 1:05

GoogleCodeExporter commented 9 years ago
Ah yes a fun platform only shortcut.  Pulling up the code I discovered that 
Alt-D is already set  Testing it on 
OS X I found that it works too :)

    QList<QKeySequence> openLocationShortcuts;
    openLocationShortcuts.append(QKeySequence(Qt::ControlModifier + Qt::Key_L));
    openLocationShortcuts.append(QKeySequence(Qt::AltModifier + Qt::Key_O));
    openLocationShortcuts.append(QKeySequence(Qt::AltModifier + Qt::Key_D));
    m_fileOpenLocationAction->setShortcuts(openLocationShortcuts);

So the question is what is happening on windows... If you launch Arora from a 
console does it spit out any 
error messages when you type Alt-D?

Original comment by ice...@gmail.com on 28 Mar 2009 at 1:49

GoogleCodeExporter commented 9 years ago
According to the above code, does it mean Ctrl+L, Alt+O (letter "Oh") and Alt+D 
are all 
supposed to focus the address bar?

Ctrl+L seems to be the only one that works.  Both Alt+O and Alt+D result in 
beeps.

When you say "launch Arora from a console", do you mean build the program 
myself and 
run my build from the console?  If I get through setting up a build environment 
and 
successfully building, I'll let you know. (fingers crossed........)

Original comment by dhh...@gmail.com on 28 Mar 2009 at 3:37

GoogleCodeExporter commented 9 years ago
Oh hey, does any shortcuts work for you such as quit?  There was a bug in 0.5 
that caused shortcuts to not 
work.  Just testing in windows and alt-d workd for me with the version from git.

Original comment by ice...@gmail.com on 28 Mar 2009 at 8:18

GoogleCodeExporter commented 9 years ago
Scratch that, the patch for Alt-D was added after 0.5  This issue is fixed and 
working in the next version :)

Original comment by ice...@gmail.com on 29 Mar 2009 at 3:22

GoogleCodeExporter commented 9 years ago
Thanks!  Fixed in Arora 0.6 for Windows.

Original comment by dhh...@gmail.com on 30 Mar 2009 at 2:35