Fenix: FNX2-15259 ⁃ [Bug] Private Mode screenshots possible via Tab Tray Overviews

Created on 10 Jul 2020  ·  7Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

Disable screenshots in private tabs
Open a private tab
Switch to normal tab
Open tab tray
Open private mode tab tray

Expected behavior

You cant see the private mode tab overview

Actual behavior

You can see it and take a screenshot
ScreenshotUNITO-UNDERSCORE!20200710-222816!UNITO-UNDERSCORE!Firefox!UNITO-UNDERSCORE!Nightly!

Device information

  • Android device: ?
  • Fenix version: ?
Privacy&Security PrivateBrowsing Tabs engverified 🐞 bug

Most helpful comment

In my opinion, when you switch to PBM tab in tab tray, it should be considered as having the browser in PBM.
All you interact with from this tab is PBM-related, private tabs, open new private tab, etc.
It is like switching from "normal" window to private window on desktop.

All 7 comments

Works fine as expected in latest nightly... Not allowing to take screenshot in tab tray...

@sheikh-azharuddin
You need to follow the steps precisely. It is reproducible on

Nightly 200710 06:01 (Build #21920613)
AC: 50.0.20200709130100, 432c0a58c
GV: 80.0a1-20200708094217
AS: 61.0.7

Yes true... Able to take screenshot of the preview...

UX - should we also stop screenshots while not _IN_ PBM, but just viewing the tabs previews of PBM?

In my opinion, when you switch to PBM tab in tab tray, it should be considered as having the browser in PBM.
All you interact with from this tab is PBM-related, private tabs, open new private tab, etc.
It is like switching from "normal" window to private window on desktop.

UX - should we also stop screenshots while not _IN_ PBM, but just viewing the tabs previews of PBM?

Hi,

I think this would still be a privacy concern so yes we shouldn't allow screenshots in this scenario if the user has it set to not allow screenshots in PBM.

Hi, verified as fixed on the latest Nightly 200720 (Build 22020611) with Sony Xperia Z5 (Android 7), Samsung Galaxy S9 (Android 8) and Google Pixel 3 XL (Android 9).

Samsung GIF

20200720-112925

Note:

  • With the STR from description the issue is not reproducible
  • When the app is in recent app and the private tabs tray is opened, there won't be any information displayed.
  • In case of wanting to make a screenshot it will display an informative message: Can't take screenshot due to security policy.
  • With Sony Xperia Z5 (Android 7) the issue is not reproduce able but after putting the app in recent apps for the first time, the second time it will display the normal tab tray info, which is different outcome from Samsung Galaxy S9 (Android 8) and Google Pixel 3 XL (Android 9)-i'll create a new issue for this as soon as i found the STR as it seems that it's not reproducible all the time.
Was this page helpful?
0 / 5 - 0 ratings