Closed Bug 645206 Opened 13 years ago Closed 13 years ago

Get rid of use_accel_key pref

Categories

(Cloud Services :: Share: Firefox Client, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philikon, Assigned: philikon)

References

Details

Attachments

(1 file)

I don't know of any other built-in feature that allows one to change the key code. That doesn't mean we can't do it, but I wonder if there are some UX/coding guidelines that dictate the keycode must be static. Also, we could remove a bunch of code if we just hardcoded it as "F1".
Never mind, I misread the code. The use_accel_key pref merely flips the accel key on and off. That in itself is a pretty good idea, just the code for it could use some cleaning up, so I'm morphing bug into that.
Status: NEW → UNCONFIRMED
Ever confirmed: false
Summary: Drop key code configurability → Clean up accel key configuration code
Sorry, I think I wrote that :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
So to move forward here, we need to know whether we're keeping the F1 shortcut and whether it should remain configurable or not. In either case I'm sure we can simplify the existing code, but that still hinges on what the UX decision is here. Bryan, can you find out?
Blocks: 642684
Whiteboard: [ux-wanted]
Assignee: nobody → philipp
(In reply to comment #3)
> So to move forward here, we need to know whether we're keeping the F1 shortcut
> and whether it should remain configurable or not. In either case I'm sure we
> can simplify the existing code, but that still hinges on what the UX decision
> is here. Bryan, can you find out?

Yes, just talked with the UX team and we'd like to keep the F1 key as the key binding.  We can remove the preference for using the F1 key or not, that might be in another bug.
Whiteboard: [ux-wanted]
(In reply to comment #4)
> Yes, just talked with the UX team and we'd like to keep the F1 key as the key
> binding.  We can remove the preference for using the F1 key or not, that might
> be in another bug.

Well, that decision kinda influences what happens in this bug, so we should just make that call here.
(In reply to comment #5)
> (In reply to comment #4)
> > Yes, just talked with the UX team and we'd like to keep the F1 key as the key
> > binding.  We can remove the preference for using the F1 key or not, that might
> > be in another bug.
> 
> Well, that decision kinda influences what happens in this bug, so we should
> just make that call here.

Sorry, mistyped what I wanted to say there.  We can remove the F1 key-binding preference; signed off.  I'm not sure if you want to open another bug for removing the preference.
(In reply to comment #6)
> Sorry, mistyped what I wanted to say there.  We can remove the F1 key-binding
> preference; signed off.  I'm not sure if you want to open another bug for
> removing the preference.

Nope, morphing this bug into that.
Summary: Clean up accel key configuration code → Get rid of use_accel_key pref
Blocks: 646908
Attached patch v1Splinter Review
Attachment #523355 - Flags: review?(mixedpuppy)
Whiteboard: [has patch][needs review mixedpuppy]
Comment on attachment 523355 [details] [diff] [review]
v1

removing code is fun, I'd r=+2 if I could :)
Attachment #523355 - Flags: review?(mixedpuppy) → review+
https://hg.mozilla.org/users/pweitershausen_mozilla.com/fx-share/rev/89a2d8f39c60
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][needs review mixedpuppy]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: