Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable sharing_hub::kDesktopScreenshots feature #28560

Closed
simonhong opened this issue Feb 16, 2023 · 5 comments · Fixed by brave/brave-core#17252
Closed

Enable sharing_hub::kDesktopScreenshots feature #28560

simonhong opened this issue Feb 16, 2023 · 5 comments · Fixed by brave/brave-core#17252

Comments

@simonhong
Copy link
Member

simonhong commented Feb 16, 2023

Description

Enable sharing-desktop-screenshots feature by default

With this feature, we can see screenshot menu from sharing hub.
image

When download the screenshot file from below bubble,
proposed screenshot file name should have brave_ prefix instead of chrome_ prefix.
image

Test Plan

Feature test

  1. Check that Screenshot is available in the Share menu in the url bar beneath Copy Clean Link and before Send your devices.
  2. Select Screenshot and confirm that a selection cursor is available and you can now select a portion of the browser content window to create a screenshot. Note that screenshot tool does not allow you to select outside of the content window. Also confirm that you can select outside of the window to get out of taking a screenshot.
  3. Create a screenshot from step 2 by selecting content within the content window. Confirm that a screenshot preview is generated and can be downloaded.
  4. Confirm that the screenshot has brave_screenshot pre-appended to the file name and includes the domain name as part of the filename to the png file and can be accessed via the download UI button or brave://downloads/

Flag test

  1. Confirm that brave://flags/#sharing-desktop-screenshots is set to default (enabled).
@LaurenWags
Copy link
Member

Labelling as QA/Blocked for now, pending additional information/clarification on test plan from @rebron

Current test plan (per description) is:

  1. make sure Screenshot is available from sharing hub
  2. make sure when downloading screenshot the file prefix is "brave_" not "chrome_"

@LaurenWags
Copy link
Member

Removing QA/Blocked, @rebron updated the test plan in #28560 (comment).

@LaurenWags LaurenWags added QA/In-Progress Indicates that QA is currently in progress for that particular issue and removed QA/Blocked labels Mar 30, 2023
@LaurenWags
Copy link
Member

LaurenWags commented Mar 31, 2023

Verified with

Brave | 1.50.110 Chromium: 112.0.5615.49 (Official Build) (x86_64)
-- | --
Revision | bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936}
OS | macOS Version 12.6.4 (Build 21G526)

Verified test plan from #28560 (comment).

  • Confirmed that Screenshot is available in the Share menu in the url bar beneath Copy Clean Link and before Send to your devices (if sync enabled and a mobile device is part of sync chain, otherwise this option does not display).
  • Confirmed when selecting Screenshot a cursor is available and am able to select a portion of the browser content window to create a screenshot.
  • Confirmed that the screenshot tool does not allow selection outside of the content window.
  • Confirmed able to get out of screenshot mode by selecting Esc.
  • Confirmed able to grab a screenshot by selecting content within the content window.
  • Confirmed that a screenshot preview is generated and can be downloaded.
  • Confirmed that the screenshot has brave_screenshot pre-appended to the file name and includes the domain name as part of the filename to the png file.
  • Confirmed the screenshot can be accessed via the download UI button and brave://downloads/
  • Confirmed the flag is available in brave://flags and default is enabled.
  • Confirmed able to set flag to disabled and Screenshot does not display in share menu
Example Example Example Example
1 https://user-images.githubusercontent.com/28145373/229159436-3e6ed140-6bc2-4c9f-8885-50fef30bfe09.mp4 3 4

@LaurenWags LaurenWags added QA Pass-macOS and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue labels Mar 31, 2023
@LaurenWags
Copy link
Member

LaurenWags commented Apr 3, 2023

Verified with

Brave	1.50.112 Chromium: 112.0.5615.49 (Official Build) (64-bit) 
Revision	bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936}
OS	Linux

Verified test plan from #28560 (comment).

  • Confirmed that Screenshot is available in the Share menu in the url bar beneath Copy Clean Link and before Send to your devices (if sync enabled and a mobile device is part of sync chain, otherwise this option does not display).
  • Confirmed when selecting Screenshot a cursor is available and am able to select a portion of the browser content window to create a screenshot.
  • Confirmed that the screenshot tool does not allow selection outside of the content window.
  • Confirmed able to get out of screenshot mode by selecting Esc.
  • Confirmed able to grab a screenshot by selecting content within the content window.
  • Confirmed that a screenshot preview is generated and can be downloaded.
  • Confirmed that the screenshot has brave_screenshot pre-appended to the file name and includes the domain name as part of the filename to the png file.
  • Confirmed the screenshot can be accessed via the download UI button and brave://downloads/
  • Confirmed the flag is available in brave://flags and default is enabled.
  • Confirmed able to set flag to disabled and Screenshot does not display in share menu
Example Example Example Example Example
1 https://user-images.githubusercontent.com/28145373/229541241-4a9a12eb-eff2-4298-8300-276dc6f19859.mp4 3 4 5

@LaurenWags LaurenWags added QA/In-Progress Indicates that QA is currently in progress for that particular issue QA Pass-Linux and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue labels Apr 3, 2023
@stephendonner
Copy link

stephendonner commented Apr 3, 2023

Verification PASSED using

Brave 1.50.112 Chromium: 112.0.5615.49 (Official Build) (64-bit)
Revision bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936}

Verified test plan from #28560 (comment).

  • Confirmed that Screenshot is available in the Share menu in the url bar beneath Copy Clean Link and before Send to your devices (if sync enabled and a mobile device is part of sync chain, otherwise this option does not display).
  • Confirmed when selecting Screenshot a cursor is available and am able to select a portion of the browser content window to create a screenshot.
  • Confirmed that the screenshot tool does not allow selection outside of the content window.
  • Confirmed able to get out of screenshot mode by selecting Esc.
  • Confirmed able to grab a screenshot by selecting content within the content window.
  • Confirmed that a screenshot preview is generated and can be downloaded.
  • Confirmed that the screenshot has brave_screenshot pre-appended to the file name and includes the domain name as part of the filename to the png file.
  • Confirmed the screenshot can be accessed via the download UI button and brave://downloads/
  • Confirmed the flag is available in brave://flags and default is enabled.
  • Confirmed able to set flag to disabled and Screenshot does not display in share menu
Example Example Example Example Example
image screenshot-tool image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants