fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Option to disable screenshots in private mode

Open vesta0 opened this issue 7 years ago • 35 comments

User Story

  • As a user, I want the option to disable taking screenshots in private browsing mode, so I can further protect my privacy.

Acceptance Criteria

  • I can disable taking screenshots in private mode (off by default)
  • When disabled in private mode, I am not able to take a screenshot and instead I see a system notification indicating that taking screenshots isn't allowed in private mode.
  • I don't see the contents of my private tab in Android multitasking view

┆Issue is synchronized with this Jira Task

vesta0 avatar May 23 '19 05:05 vesta0

We should use a system notification, similar to what Focus does.

topotropic avatar May 23 '19 12:05 topotropic

Sounds good @topotropic

vesta0 avatar May 23 '19 14:05 vesta0

Should this be configurable - not least for bug reports and suchlike?

buttercookie42 avatar May 24 '19 10:05 buttercookie42

Could this not be an option? Being able to take screenshots in private mode doesnt exactly compromise the premise of private browsing. I will say from experience in Bromite that not being able to screenshot is more of a hassle than anything related to private browsing.

joebloggs7657 avatar Jul 09 '19 18:07 joebloggs7657

This should be an option - perhaps even default behavior, but an option nonetheless, imo.

yoasif avatar Jul 09 '19 20:07 yoasif

If we do this, I think we should make it off by default. From Focus experience, not all users understand or want this feature, and the ones that want it are probably more likely to understand how to seek it out.

ekager avatar Jul 10 '19 00:07 ekager

removing the ux label - this is on our radar already as it's part of Q3 plans.

lime124 avatar Jul 23 '19 03:07 lime124

this is the same bug as #2248 #3422 #3707

I think 3 of the 4 bugs should be closed as duplicates :)

Djfe avatar Aug 07 '19 12:08 Djfe

I've started working on the blocking functionality in Android Components (mozilla-mobile/android-components#4551).

NotWoods avatar Sep 30 '19 03:09 NotWoods

The feature has been added and should be incorporated into BaseBrowserFragment, in a similar manner to our list of features inside that fragment.

NotWoods avatar Dec 23 '19 07:12 NotWoods

@NotWoods is the feature of disabling screenshots on private mode up? Or is there any work still left to do? I asked because this issue was still showing under the good first bugs. If there is any work, i would love to contribute.

KaairaGupta avatar Jan 10 '20 13:01 KaairaGupta

You can integrate SecureWindowFeature from the feature-privatemode component in our Android Components library. You'll need to edit BaseBrowserFragment and possibly the build.gradle & Dependencies.kt files.

NotWoods avatar Jan 10 '20 17:01 NotWoods

@NotWoods i can't seem to find this library in the code. Please help me with it.

KaairaGupta avatar Jan 11 '20 18:01 KaairaGupta

Also, should i add the option in the settings or in the three-dot-menu?

KaairaGupta avatar Jan 11 '20 18:01 KaairaGupta

AFAICT this issue still needs UX and strings for the Settings decsribed. I don't think this is ready to be worked on yet.

ekager avatar Jan 11 '20 18:01 ekager

@lime124 adding back the UX label because I don't see any mocks linked

ekager avatar Jan 11 '20 18:01 ekager

@ekager ~Could we land an always on option for now and introduce the toggle later? I think always off makes sense as a default.~ Oops, missed the prior discussion.

@KaairaGupta Here is the docs for SecureWindowFeature.

NotWoods avatar Jan 12 '20 07:01 NotWoods

@NotWoods see comments above. From my experience on Focus, users can find this feature really annoying and I think we should wait for a way for users to turn it off before introducing it. We can get input from @vesta0 though.

ekager avatar Jan 12 '20 07:01 ekager

I agree that this should be a user option that is disabled by default. I see that it has the needs:UX-feedback label so let's wait for @brampitoyo to provide feedback.

vesta0 avatar Jan 22 '20 18:01 vesta0

So sorry I dropped the back let me loop in Amy as well @amylee

On Wed, Jan 22, 2020 at 10:32 AM Vesta Zare [email protected] wrote:

I agree that this should be a user option that is disabled by default. I see that it has the needs:UX-feedback label so let's wait for @brampitoyo https://github.com/brampitoyo to provide feedback.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mozilla-mobile/fenix/issues/2768?email_source=notifications&email_token=AACGEWWQXMKY7VZ5XKKPD5LQ7CGLBA5CNFSM4HO2CMK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJUUAQI#issuecomment-577323073, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACGEWU55QRK22K4NSS24OTQ7CGLBANCNFSM4HO2CMKQ .

lime124 avatar Jan 23 '20 23:01 lime124