Closed Bug 866066 Opened 11 years ago Closed 11 years ago

Add a screenshot button to the desktop-helper.

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vingtetun, Assigned: vingtetun)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
I found that useful when it is times to takes screenshots for UX.
Attachment #742319 - Flags: review?(kgrandon)
Hmm, we have to think of where we draw the line - though this is a pretty light patch, we don't want the panel getting too bloated.

Generally I would advocate letting this be it's own standalone plugin, though admittedly plugins are difficult to keep with our current profile situation. It also appears that most of the screenshot plugins are not seriously maintained, see: https://addons.mozilla.org/en-US/firefox/addon/screengrab/

I am just on the fence about this right now - but perhaps we can land it as we can always back out later should the UI become too bloated.
(In reply to Kevin Grandon :kgrandon from comment #1)
> Hmm, we have to think of where we draw the line - though this is a pretty
> light patch, we don't want the panel getting too bloated.
> 
> Generally I would advocate letting this be it's own standalone plugin,
> though admittedly plugins are difficult to keep with our current profile
> situation. It also appears that most of the screenshot plugins are not
> seriously maintained, see:
> https://addons.mozilla.org/en-US/firefox/addon/screengrab/
> 
> I am just on the fence about this right now - but perhaps we can land it as
> we can always back out later should the UI become too bloated.

As I said I found it convenient. Let's remove it later it the panel is too bloated but let makes it easy and handful for now (this is my 2 cents).
Actually this totally makes sense as it's hardware buttons that the phone supports. If possible I'd prefer to add a hardware button that's something like home + sleep button presses and have the system app handle the screenshot. Let me experiment with your patch.
Ah, I see that the current screenshot logic is in shell.js. Yet another argument to see if we can embed or share code with it somehow. In this case, I think the approach is good.
Attachment #742319 - Flags: review?(kgrandon) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: