Shortcut such as Paste does not work in shared menu from page action menu.
Categories
(Firefox :: Menus, defect, P2)
Tracking
()
People
(Reporter: apple.macintosh.farm, Unassigned)
References
Details
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Comment 17•8 years ago
|
||
Comment 18•8 years ago
|
||
Comment 19•8 years ago
|
||
Comment 20•8 years ago
|
||
Comment 21•8 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #22)
Hey Stephen
Was wondering given the code to show the window if there was an idea where
to look. I cant quite figure how to work back from the share window since I
can see the paste being handled but I dont know how its supposed to be
forwarded to the share windowMany thanks
Dale
Just a quick heads up that I have finally started looking into this and I have a theory that I'm testing out. Keeping n-i set for now.
Comment 24•7 years ago
|
||
Unfortunately, my attempts at fixing this were fruitless so far.
A few observations: A regular paste into a text field or URL bar will execute nsCocoaWindow's performKeyEquivalent:, then nsMenuBarX's performKeyEquivalent: and finally nsChildView's keyDown:. A paste in the share window will only execute nsMenuBarX's performKeyEquivalent:, which is used to provide the visual feedback of the paste command in the menu bar by highlighting "Edit".
My theory was that this might be misbehaving because we were not returning a pointer to a nsCocoaWindow in NSSharingServiceDelegate's sharingService:sourceWindowForShareItems:sharingContentScope:. However, this did not turn out to be the case.
The share window appears to be from a separate ShareKit process and it seems like we are intercepting and/or not properly forwarding the keyboard events when this window is open. Note that Cmd-W or Cmd-Q also do not work and don't close a tab or quit the application when the share window is displayed.
Updated•4 years ago
|
Description
•