Closed
Bug 933201
Opened 12 years ago
Closed 11 years ago
[app manager] move the screenshot button in the footer
Categories
(DevTools Graveyard :: WebIDE, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 29
People
(Reporter: paul, Assigned: agentmirv)
Details
(Whiteboard: [good first bug][lang=html][lang=js][mentor=paul])
Attachments
(2 files, 3 obsolete files)
1.03 MB,
image/png
|
Details | |
6.19 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•12 years ago
|
||
Hi,
I am willing to fix this bug.So, please I request you to assign me this bug.
Thanks,
Regards,
Gaurav Saini
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Gaurav Saini from comment #1)
> I am willing to fix this bug.So, please I request you to assign me this bug.
Sure. Code lives there: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/app-manager/
Original button is here: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/app-manager/content/device.xhtml#39
We want to move it there: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/app-manager/content/connection-footer.xhtml
Updated•12 years ago
|
Whiteboard: [good-first-bug][lang=html][lang=js][mentor=paul] → [good first bug][lang=html][lang=js][mentor=paul]
Comment 3•12 years ago
|
||
Hello, is Gaurav Saini still working on this?
Comment 4•12 years ago
|
||
(In reply to Peiyong LIn from comment #3)
> Hello, is Gaurav Saini still working on this?
Yes, I am still working on this.
Comment 5•12 years ago
|
||
Hi,
I created a patch for this. I put the button in the footer, but i have a problem, the button didn't work. I was trying to add at the final:
<script type="application/javascript;version=1.8" src="device.js"></script>
in connection-footer.xhtml, but it didn't work. I enabled the Browser console, i can't see a warning/alert related to this. If i don't add the device.js file i got:
UI.screenshot: is not a defined function
I was trying to put the pice of code about screenshots from device.js to connection-footer.js but i didn't work. If you can give some tips and advices about what is wrong, i will really appreciate. I am going to attach the first version of the patch, if someone is interested on review it and tell me if everything is good to continue, i am going to be very happy.
Regards,
Gio
Comment 6•12 years ago
|
||
Reporter | ||
Comment 7•12 years ago
|
||
> I was trying to put the pice of code about screenshots from device.js to connection-footer.js but i didn't work.
That's the right way to do it. What didn't work?
Comment 8•12 years ago
|
||
It didn't open a new tab and take the screenshot. Look this patch with the modifications.
Comment 9•12 years ago
|
||
Attachment #8333682 -
Flags: review?(paul)
Reporter | ||
Comment 10•12 years ago
|
||
Comment on attachment 8333682 [details] [diff] [review]
fix.patch
You need to adapt the code to make it work from connection-footer.js. Here this.connected doesn't exist, getDeviceFront either. Look at the browser console, you'll see plenty of errors.
Attachment #8333682 -
Flags: review?(paul)
Assignee | ||
Comment 11•11 years ago
|
||
Hello, is Gaurav Saini working on this? If not, I would like to be assigned to this bug please.
Assignee | ||
Comment 12•11 years ago
|
||
Sorry, I mean is Giovanny working on this? If not, I would like to be assigned to this bug please.
Updated•11 years ago
|
Flags: needinfo?(gioyik)
Comment 13•11 years ago
|
||
So, i would like to work on this bug, anyone who can assign me this one.
thank you
Regards
Meghraj Suthar
Assignee | ||
Comment 14•11 years ago
|
||
I've attached my proposed patch. Let me know if this looks okay, thanks!
Attachment #8367033 -
Flags: review?(paul)
Reporter | ||
Comment 15•11 years ago
|
||
Comment on attachment 8367033 [details] [diff] [review]
rev1 - App manager moved screenshot button
That's exactly what we need.
Can I just ask you to swap disconnect and screenshot? (disconnect first, then screenshot). Then we'll land your patch.
Thanks a lot!
Attachment #8367033 -
Flags: review?(paul) → review+
Flags: needinfo?(gioyik)
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → agentmirv
Assignee | ||
Comment 16•11 years ago
|
||
I have attached my revised patch. I swapped the disconnect and screenshot buttons (disconnect first, then screenshot). Thanks!
Attachment #8367033 -
Attachment is obsolete: true
Attachment #8367228 -
Flags: review?(paul)
Reporter | ||
Updated•11 years ago
|
Attachment #833390 -
Attachment is obsolete: true
Reporter | ||
Updated•11 years ago
|
Attachment #8333682 -
Attachment is obsolete: true
Reporter | ||
Updated•11 years ago
|
Attachment #8367228 -
Flags: review?(paul) → review+
Comment 18•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug][lang=html][lang=js][mentor=paul] → [good first bug][lang=html][lang=js][mentor=paul][fixed-in-fx-team]
Comment 19•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=html][lang=js][mentor=paul][fixed-in-fx-team] → [good first bug][lang=html][lang=js][mentor=paul]
Target Milestone: --- → Firefox 29
Keywords: dev-doc-needed
Comment 20•11 years ago
|
||
App Manager is replaced by WebIDE, so I'm clearing this dev-doc-needed.
Keywords: dev-doc-needed
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•