Closed Bug 574859 Opened 16 years ago Closed 15 years ago

Right-clicking the new title bar does not bring up the system menu

Categories

(Core :: Widget: Win32, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: shayne.anthony.jewers, Assigned: jimm)

References

Details

(Keywords: regression)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a6pre) Gecko/20100625 Minefield/3.7a6pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a6pre) Gecko/20100625 Minefield/3.7a6pre ID:20100625132647 When right-clicking the new title bar (bug 513162), the title bar context menu does not appear. Reproducible: Always Steps to Reproduce: 1.Right click the title bar. 2. 3. Actual Results: The title bar context menu does not appear Expected Results: The title bar context menu should appear
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Ever confirmed: true
Keywords: regression
Version: unspecified → Trunk
Blocks: 513162
This is be address by the content hit testing code.
Blocks: 555081
No longer blocks: 513162
Our own context menus already work now with the new hit test, so I'll morph this a little bit to specifically cover the system menu.
Summary: Right-clicking the new title bar does not bring up the context menu → Right-clicking the new title bar does not bring up the system menu
I see a potential regression in that the whole glass area will be effected by this.
related question: how do you actually bring up the normal classic menu bar without the help of a keyboard by pressing the "alt" key there? i havent found any way to navigate to the classic menus without a keyboard.
(In reply to comment #7) > how do you actually bring up the normal classic menu bar Firefox menu->Customize->Menu Bar This bug is about the system context menu not showing in the titlebar with the new firefox app menu button, not the menu bar. (In reply to comment #6) > I see a potential regression in that the whole glass area will be effected by > this. Each toolbar has their own context menu. The rest of the toolbars currently work with glass.
> (In reply to comment #6) > > I see a potential regression in that the whole glass area will be effected by > > this. > > Each toolbar has their own context menu. The rest of the toolbars currently > work with glass. How do you separate the different toolbar behaviors if they use glass? For instance in Bug 575248, double clicking any glass area unmaximizes the window now, even if it's the tab bar. Will the same method for this bug be used for it?
(In reply to comment #9) > > (In reply to comment #6) > > > I see a potential regression in that the whole glass area will be effected by > > > this. > > > > Each toolbar has their own context menu. The rest of the toolbars currently > > work with glass. > > > How do you separate the different toolbar behaviors if they use glass? I'm guessing with inclusion/exclusion of each toolbar similar to what the patch in bug 555081 did, in this case, maybe un hooking it.
blocking2.0: ? → betaN+
Assignee: nobody → jmathies
Should be bumped to blocking beta4
(In reply to comment #12) > Should be bumped to blocking beta4 Not If it stays assigned to me, I'm on PTO till the 18th.
blocking2.0: betaN+ → final+
Comment on attachment 470838 [details] [diff] [review] sysmenu patch v.1 Easy one for review.
Attachment #470838 - Flags: review?(tellrob)
confirmed, also works on aero basic.
Comment on attachment 470838 [details] [diff] [review] sysmenu patch v.1 switching out reviewers, rob's busy with school.
Attachment #470838 - Flags: review?(tellrob) → review?(vladimir)
Comment on attachment 470838 [details] [diff] [review] sysmenu patch v.1 looks good to me!
Attachment #470838 - Flags: review?(vladimir) → review+
Is it worth to be included in b7?
if it works - why not? the patch got a review+, it shouldn't brake anything, as it doesn't affect anything than title bar context menu.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment on attachment 470838 [details] [diff] [review] sysmenu patch v.1 > case WM_RBUTTONUP: ^ >+ (TPM_LEFTBUTTON|TPM_RETURNCMD|TPM_TOPALIGN| ^^^^ This should match the button used to invoke the popup menu, so that you can use the same button to select the desired action. (Does this code actually belong under WM_CONTEXTMENU?) Did you consider using TPM_NONOTIFY? >+ (mIsRTL ? TPM_RIGHTALIGN : TPM_LEFTALIGN)), Do you need to use TPM_LAYOUTRTL? Maybe ehsan would know.
(In reply to comment #23) > Comment on attachment 470838 [details] [diff] [review] > sysmenu patch v.1 > > > case WM_RBUTTONUP: > ^ > >+ (TPM_LEFTBUTTON|TPM_RETURNCMD|TPM_TOPALIGN| > ^^^^ > This should match the button used to invoke the popup menu, so that you can use > the same button to select the desired action. (Does this code actually belong > under WM_CONTEXTMENU?) Maybe TPM_LEFTBUTTON|TPM_RIGHTBUTTON? It shouldn't match definitively. You should be able to right click for the menu and then left click to select and item.
Depends on: 602532
we need to listen for both to mimic normal system menu behavior.
Attachment #481521 - Flags: review?(neil)
Attachment #481521 - Flags: review?(neil) → review?
Jim, you probably want someone else to review this.
Attachment #481521 - Flags: review? → review?(neil)
Comment on attachment 481521 [details] [diff] [review] include right click select patch TPM_LEFTBUTTON = 0, clicking the left mouse button always works ;-)
Attachment #481521 - Flags: review?(neil) → review+
This menu isn't behaving on the latest nightly on Win Vista. maximize/restore/move/size disabled state is off compared with 3.6 (and occasionally completely random).
(In reply to comment #28) > This menu isn't behaving on the latest nightly on Win Vista. > maximize/restore/move/size disabled state is off compared with 3.6 (and > occasionally completely random). Just confirming on Windows 7. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101007 Firefox/4.0b8pre - Build ID: 20101007080800
(In reply to comment #28) > This menu isn't behaving on the latest nightly on Win Vista. > maximize/restore/move/size disabled state is off compared with 3.6 (and > occasionally completely random). (In reply to comment #29) > (In reply to comment #28) > > This menu isn't behaving on the latest nightly on Win Vista. > > maximize/restore/move/size disabled state is off compared with 3.6 (and > > occasionally completely random). > > Just confirming on Windows 7. > > Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101007 > Firefox/4.0b8pre - Build ID: 20101007080800 Hmm, working fine here on win7. According to GetSystemMenu docs, the system returns an appropriate menu based on the current state of the window.
Depends on: 602541
Depends on: 602450
STR: 1) right-click to bring up the system menu. 2) change window state (e.g. minimized->maximized) 3) right-click to bring up the system menu It will be off. However, if you right-click and bring up another menu in between 2 and 3 it corrects itself and will be right by 3.
Whiteboard: [needs review]
tested firefox 4.0 on windows7 (running ffx x86 32bit build on win7x64 though) and the yellow/orange area at the upper left of the firefox windows can still not be doubleclicked (imitating system menu behaviour of normal windows) to close the app/window ("x" or alt+f4 behaviour via the system menu, normal windows apps close or exit themselved when double-clicking the system-menu or program-symbol there). i guess this is related. do we have a different bug for that? if not, this bug still isnt solved for me. thanks.
(In reply to comment #32) > tested firefox 4.0 on windows7 (running ffx x86 32bit build on win7x64 though) > and the yellow/orange area at the upper left of the firefox windows can still > not be doubleclicked (imitating system menu behaviour of normal windows) to > close the app/window ("x" or alt+f4 behaviour via the system menu, normal > windows apps close or exit themselved when double-clicking the system-menu or > program-symbol there). > > i guess this is related. > > do we have a different bug for that? if not, this bug still isnt solved for me. > thanks. bug 610763.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: