Open Bug 71779 Opened 23 years ago Updated 2 years ago

Need to update menus to show current XBL bindings

Categories

(Core :: XUL, defect)

defect

Tracking

()

Future

People

(Reporter: akkzilla, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [KEYBASE+])

Filing after discussion with Hyatt:

Bug 57078 concerns removing XUL key bindings which conflicted with XBL bindings
and overrode them.  It looks like the reason the XUL bindings weren't removed is
that XUL files are the only way to get key bindings listed in the menus.  So
we're going to end up with two redundant sets of bindings, one functional set
using XBL and another nonfunctional set that defines the accelerator text in the
menus.  These will almost certainly get out of sync.

Now that key bindings (at least for the browser and editor windows) are handled
primarily through XBL, there needs to be a mechanism for the menus to pick up
the XBL bindings corresponding to functions in that menu.  Ideally, when a menu
is displayed it should find the focused widget and query the controller(s) and
XBL bindings for that widget to find out what key definitions are active right then.

But failing that, even getting the XBL bindings for the current toplevel window
(browser or editor) would be a huge win over the current setup.

When this is working, the XUL files which are no longer needed should be
removed.  (See the first patch in bug 57078 for a tentative list of which files
are currently affected.)
Accepting for 0.9.1.  This one is going to be neat.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
*** Bug 77742 has been marked as a duplicate of this bug. ***
*** Bug 77976 has been marked as a duplicate of this bug. ***
Dependent on Simon's command work.  Moving to 1.0.  Will pull in if/when simon
lands.
Target Milestone: mozilla0.9.1 → mozilla1.0
*** Bug 82230 has been marked as a duplicate of this bug. ***
note:  this should be in the release notes (at least on Linux) since Select All 
shows "ctrl-a" in the Edit menu but that is "go to beginning of line" on Linux; 
users should use alt-a instead.  There are probably some other cases like these 
as well (though there may not be an alternative keybinding).
Keywords: relnote
Target Milestone: mozilla1.0 → mozilla1.0.1
Blocks: atfmeta
Whiteboard: [KEYBASE+]
-> Akkana
Status: ASSIGNED → NEW
Blocks: 53309
retargeting
Target Milestone: mozilla1.0.1 → Future
I suspect this bug has been fixed or obsoleted over time but unfortunately I don't know anything about XBL or XUL files so I can't close it.

David Hyatt, is this bug still assigned to you? Otherwise please change assigned-to accordingly.
(In reply to comment #9)
> David Hyatt, is this bug still assigned to you?

Haha. No way in the world.
Assignee: hyatt → nobody
QA Contact: bugzilla → keyboard.navigation
Can somebody who understands more about XBL and XUL than I do confirm if this is still a problem or not?
Flags: needinfo?
Keywords: qawanted
(In reply to Thomas D. from comment #11)
> Can somebody who understands more about XBL and XUL than I do confirm if
> this is still a problem or not?

Perhaps someone on XUL could answer this question or at least point us to the right person.
Component: Keyboard: Navigation → XUL
Flags: needinfo?
Keywords: qawanted

Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.