Closed Bug 405674 Opened 17 years ago Closed 17 years ago

[10.5] Changing System Pref keyboard shortcuts for All Applications leads to toolbar menu names being replaced with "SomeMenuItem" across the board

Categories

(Core :: Widget: Cocoa, defect, P4)

PowerPC
macOS
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: lsblakk, Assigned: cbarrett)

Details

Attachments

(3 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b2pre) Gecko/2007112304 Minefield/3.0b2pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b2pre) Gecko/2007112304 Minefield/3.0b2pre

I was making changes in the system preferences trying to add a shortcut to Terminal, and when I set the shortcut and came back to Minefield, the toolbar menu was full of "SomeMenuItem" - the pulldowns still contained the correct information for what should have been File, Edit...etc

Restarting brought back the correct toolbars, and I was able to reproduce.

Reproducible: Always

Steps to Reproduce:
1. Have Minefield open, I had a couple of tabs open too
2. Open System Preference->Keyboard & Mouse
3. Click on "+" to add a new shortcut
4. Leave it's default as "All Applications"
5. Enter any name, and then as the keyboard shortcut enter ctrl + option + command + T  (at the same time so that the keyboard shortcut shows up in the keyboard shortcut window
6. Click "Add"
7. Go back to Minefield - you should see all your menus being called "SomeMenuItem"
Actual Results:  
see attached

Expected Results:  
That the menu names would not change.
This is the window where keyboard shortcuts are entered
Assignee: nobody → joshmoz
Component: Toolbars → Widget: Cocoa
Product: Firefox → Core
QA Contact: toolbars → cocoa
Version: unspecified → Trunk
Confirming in today's Minefield on 10.5.1.  I see the original menu titles for a fraction of a second when switching back to Minefield from System Prefs, and then they all flash to "SomeMenuItem".

Similarly, deleting the shortcut I just added also causes this (if I've restarted Minefield since adding the shortcut).

All that's necessary to get the correct menus back is to restart the app (not the whole OS), in my case.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.9?
To be clear, when I said restarting - I meant Firefox, not the OS.
Looks to be 10.5-only, I can't reproduce on 10.4.11.
I can't repro on 10.4.11 either with Minefield 2007112704, so it's probably safe to call this 10.5-only.
It would not surprise me if this were related to the extra-Minefield menu bug, which would be a reason for this to be 10.5-only (or it could just be another fun 10.5 bug!).
Summary: Changing System Pref keyboard shortcuts for All Applications leads to toolbar menu names being replaced with "SomeMenuItem" across the board → [10.5] Changing System Pref keyboard shortcuts for All Applications leads to toolbar menu names being replaced with "SomeMenuItem" across the board
Flags: blocking1.9? → blocking1.9+
Priority: -- → P4
I don't think this is related to the extra menu bug.
Attached patch fix v1.0 (obsolete) — Splinter Review
This fixes it on my end, though I did not try anything fancy.

It looks like when you set that shortcut, the title of the menu item, and not the title of the submenu, is getting displayed. Should probably go on "list of things to try in a test app and file as a radar".
Assignee: joshmoz → cbarrett
Status: NEW → ASSIGNED
Attachment #291261 - Flags: review?(joshmoz)
Status: ASSIGNED → NEW
Attached patch fix v1.1Splinter Review
address IRC review comments
Attachment #291261 - Attachment is obsolete: true
Attachment #291265 - Flags: review?(joshmoz)
Attachment #291261 - Flags: review?(joshmoz)
Attachment #291265 - Flags: superreview?(roc)
Attachment #291265 - Flags: review?(joshmoz)
Attachment #291265 - Flags: review+
Attachment #291265 - Flags: superreview?(roc) → superreview+
landed on trunk
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified fixed using Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O 10.5; en-US; rv:1.9b2pre) Gecko/2007120404 Minefield/3.0b2pre. Verified following the steps on Comment 0.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: