Closed
Bug 483727
Opened 16 years ago
Closed 16 years ago
View Video not present on video context menu
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.0b2
People
(Reporter: BijuMailList, Assigned: InvisibleSmiley)
References
Details
Attachments
(1 file, 3 obsolete files)
3.60 KB,
patch
|
InvisibleSmiley
:
review+
InvisibleSmiley
:
superreview+
|
Details | Diff | Splinter Review |
"View Video" item not present on video context menu
Step:-
1. goto http://www.double.co.nz/video_test/test5.html
2. wait video to load the initial screen
3. bring mouse over the video element
4. do right click to get context menu.
result:-
user dont see "View Video" item
result:-
user see "View Video" item
above "Copy Video Location" item
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre)
Gecko/20090316 SeaMonkey/2.0b1pre
Assignee | ||
Comment 1•16 years ago
|
||
Ports bug 462294 and the corresponding part of bug 496832.
Assignee: nobody → jh
Status: NEW → ASSIGNED
Attachment #396133 -
Flags: superreview?(neil)
Attachment #396133 -
Flags: review?(neil)
Comment 2•16 years ago
|
||
Comment on attachment 396133 [details] [diff] [review]
proposed patch
Is it possible to check that the video location is not the same as the document location?
Also, the access key should be a lower case "i" to match "View".
Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2)
> (From update of attachment 396133 [details] [diff] [review])
> Is it possible to check that the video location is not the same as the document
> location?
See bug 462294 comment 5: that's bug 462892. Short version: no solution available yet. Once there is we can port it.
Attachment #396133 -
Attachment is obsolete: true
Attachment #396200 -
Flags: superreview?(neil)
Attachment #396200 -
Flags: review?(neil)
Attachment #396133 -
Flags: superreview?(neil)
Attachment #396133 -
Flags: review?(neil)
Comment 4•16 years ago
|
||
(In reply to comment #3)
> (In reply to comment #2)
> > (From update of attachment 396133 [details] [diff] [review] [details])
> > Is it possible to check that the video location is not the same as the document location?
> Short version: no solution available yet. Once there is we can port it.
But that will never happen for 1.9.1, which is why I suggested comparing the location, since only a full-screen video will have the same location.
Assignee | ||
Comment 5•16 years ago
|
||
This is as close as I could get.
Attachment #396200 -
Attachment is obsolete: true
Attachment #396234 -
Flags: superreview?(neil)
Attachment #396234 -
Flags: review?(neil)
Attachment #396200 -
Flags: superreview?(neil)
Attachment #396200 -
Flags: review?(neil)
Comment 6•16 years ago
|
||
Comment on attachment 396234 [details] [diff] [review]
patch v2
>+ this.showItem( "context-viewvideo", this.onVideo);
>+ this.setItemAttr( "context-viewvideo", "disabled", !this.mediaURL ||
>+ this.mediaURL == this.target.ownerDocument.location.href);
>+
Nit: hide the menuitem rather than disabling it, like view image does
Nit: compare the URL against content.location.href, in case it's in a frame (or use this.inFrame)
Nit: indentation was odd, but then it's odd for view image...
Attachment #396234 -
Flags: superreview?(neil)
Attachment #396234 -
Flags: superreview+
Attachment #396234 -
Flags: review?(neil)
Attachment #396234 -
Flags: review+
Assignee | ||
Comment 7•16 years ago
|
||
Attachment #396234 -
Attachment is obsolete: true
Attachment #396525 -
Flags: superreview+
Attachment #396525 -
Flags: review+
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 8•16 years ago
|
||
Comment on attachment 396525 [details] [diff] [review]
patch v3
[Checkin: Comment 8]
http://hg.mozilla.org/comm-central/rev/a60ce0d7786a
Attachment #396525 -
Attachment description: patch v3 → patch v3
[Checkin: Comment 8]
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.0b2
You need to log in
before you can comment on or make changes to this bug.
Description
•