question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

set kDesktopSharingHubEnabled to true but hide/remove Share link to section

See original GitHub issue

Description

Add Desktop sharing hub but hide or remove share link section

Actual result:

In current release, 1.44.112 and lower -

Shows only QR code icon Screenshot 2022-10-13 at 7 19 01 PM

Visit any website and click on url bar and notice QR code icon. Selection of QR code icon will show a QR code for the website.

Expected result:

  1. Screen 1 - Default menu Screenshot 2022-10-24 at 12 48 54 PM

  2. Screen 2 - Menu with sync enabled Send to your Devices Screenshot 2022-10-24 at 12 59 36 PM Screenshot 2022-10-24 at 12 59 42 PM

  3. Screen 3 - Menu with cast enabled Screenshot 2022-10-24 at 1 03 56 PM Screenshot 2022-10-24 at 1 06 09 PM

  4. Screen 4 - Menu with all enabled. Screenshot 2022-10-24 at 1 06 49 PM

Test Plan

New Profile

  1. Use version 1.45.112 or higher.
  2. Create a new profile, go to any website and enter url bar. Notice share icon in Expected result screen 1.
  3. Ensure that you can a) copy link, b) copy clean link, c) create a QR code and d) save page as to your computer.

Profile with Sync enabled

  1. Use version 1.45.112 or higher
  2. Use a profile that has sync enabled. Go to any website and enter url bar. Notice share icon menu in Expected result screen 2 and ensure Send to your Devices is listed.
  3. Ensure that you can Share to devices by selecting Send to your Devices and choosing the device to share to.

Profile with Cast enabled

  1. Use version 1.45.112 or higher.
  2. Use a profile that has Cast enabled by going to brave://settings/extensions and enabling Media Router. Relaunch after turning on. Notice share icon menu in Expected result screen 3 and ensure Cast... is listed in the menu.
  3. Ensure that you can Cast the page to your casting device/tv.

Profile with Cast and Sync enabled.

  1. Ensure what’s listed in screen 4 displays after steps from Profile with Sync enabled and Profile with Cast enabled.

Brave version (brave://version info)

Target release 1.45.x

Version/Channel Information:

  • Can you reproduce this issue with the current release? n/a
  • Can you reproduce this issue with the beta channel? n/a
  • Can you reproduce this issue with the nightly channel? n/a

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? n/a
  • Does the issue resolve itself when disabling Brave Rewards? n/a
  • Is the issue reproducible on the latest version of Chrome? n/a

Miscellaneous Information:

Related issues: https://github.com/brave/brave-browser/issues/20757 https://github.com/brave/brave-browser/issues/25621

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
MadhaviSeelamcommented, Oct 25, 2022

Verification PASSED using

Brave | 1.45.112 Chromium: 107.0.5304.62 (Official Build) (64-bit)
-- | --
Revision | 1eec40d3a5764881c92085aaee66d25075c159aa-refs/branch-heads/5304@{#942}
OS | Windows 11 Version 21H2 (Build 22000.1098)

Test Case 1: New Profile - PASSED

Case 1: Share this page icon visible in the URL bar

  • Install 1.45.112
  • launch Brave
  • visit a site (github.com)

Confirmed Share this page icon in the URL bar left to Shields icon

image

Case 2: Share this page options functionality

  1. continue from Case 1
  2. click dShare this page icon
  3. confirmed all four options displayed
  • a) Copy link
  • b) Copy clean link
  • c) Create a QR code
  • d) Save page as

step 3

image

copy link

Ex1 Ex2
image image

copy clean link

Ex1 Ex2
<image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197653178-bd9222a6-6ac6-4174-9aff-3d7d2d8df3fe.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197653199-1ca2e158-859b-4c3b-94d4-108e43da5174.png">

QR code

Ex1 Ex2 Ex3 Ex4
<image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197654144-f99f19d2-3345-4165-89ff-281e7b61d3c3.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197653459-1c29e374-fef3-4c44-8865-fe5f146c4f3e.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197653586-3c99cc17-c8de-4a3f-b5e1-39acc3125063.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197653544-f2c51f5f-f692-4159-be83-dee3ded7a316.png">

Save page as

Ex1 Ex2 Ex3
<image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197654452-b9e3561b-e72b-415b-ac09-7f964c35b091.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197654533-d961c09a-b114-40a1-b000-2036eead3bcd.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197654639-78282d6f-0d96-429e-b8e7-82a65317e0bd.png">

Test Case 2: Profile with Sync enabled - PASSED

  1. New profile
  2. launched Brave on Desktop Device 1
  3. opened brave://sync–>start a new Sync Chain
  4. copy the sync chain code
  5. selected Sync everything in the Sync settings
  6. launched Brave on Desktop Device 2
  7. opened brave://sync–>I have a Sync code
  8. paste the code–>Confirm–>Ok
  9. visit https://cnn.com on Desktop Device 1
  10. click Share this page icon
  11. confirmed Send to your Devices is listed in the options
  12. clicked Send to your Devices
  13. clicked on the device name Brave
  14. Desktop Device 2 shows Page shared from another device message
  15. clicked Open in the New Tab button to show same page
step 3 step 6 step 11 step 12 step 13 step14 step 15
image image image image image image image

Test Case 3: Profile with Cast enabled - PASSED

  1. new profile
  2. open brave://settings/extensions
  3. toggle ON for Media Router
  4. click Relaunch
  5. Share this page icon was visible on the URL
  6. click on Share this page icon to view Cast... is listed

Confirmed I was able to successfully Cast the page to casting device i.e. TV

step 4 step5 step6
<image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197658944-05d0efb1-1c24-4ca0-b997-17d266ed330a.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197659093-b9f045f4-6f4e-483a-99f2-3c7418b73e0e.png"> <image width="900" alt="image" src="https://user-images.githubusercontent.com/98358127/197659160-d7bf49c9-9898-4151-83eb-6c8840764e3f.png">

Test Case 4: Profile with Cast and Sync enabled - PASSED

  1. continue from Test Case 2
  2. Sync is still enabled with Send to your Devices on Desktop Device 1
  3. open brave://settings/extensions
  4. toggle ON for Media Router
  5. click Relaunch
  6. visit a website URL (https://www.bbc.com/travel/article/20220929-new-zealands-overlooked-indigenous-cuisine)
  7. click Share this page icon in the URL
  8. confirmed Cast and Send to your devices options are listed
  9. click on Cast to successfully Cast to a device i.e TV
  10. click on Send to you devices
  11. Sync enabled Desktop Device 2 shows the Page shared from another device dialog
  12. clicked Open in New Tab to show same page
step 4 step 8 step 9 step 10 step 11 step 12
image image image image image image
0reactions
kjozwiakcommented, Oct 25, 2022

Verification PASSED on Win 11 x64 using the following build(s):

Brave | 1.45.113 Chromium: 107.0.5304.62 (Official Build) (64-bit)
-- | --
Revision | 1eec40d3a5764881c92085aaee66d25075c159aa-refs/branch-heads/5304@{#942}
OS | Windows 11 Version 22H2 (Build 22621.675)

Verified that Cast was working without any issues via the new enabled Share hub by casting from my PC running 1.45.113 Chromium: 107.0.5304.62 to a TV downstairs that’s connected to an Nvidia Shield that has casting enabled:

  • installed 1.45.113 Chromium: 107.0.5304.62
  • enabled Media Router via brave://settings/extensions
  • once enabled, visited https://www.yoursoccerdose.com/matches/18535289/west-ham-united-vs-afc-bournemouth
  • clicked on a video and ensured that Cast appeared under the Share hub via the URL bar
  • ensured that clicking on Cast opened the Cast menu with all the available devices on the network that can cast
  • picked the Nvidia shield in the living room and ensured you can cast both the Window & Tab
Example Example Example Example Example
cast1 cast2 cast3 cast4 image
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create a Link to Jump to a Specific Part of a Page ...
Learn how to set up a link between two pieces of content on one page using simple HTML tags. No background in coding...
Read more >
How to link to part of the same document in Markdown?
The only problem you had is that MyTitle should not be a title, but a name of an anchor in that document (like...
Read more >
Links in HTML documents - W3C
This section introduces the link (or hyperlink, or Web link), the basic hypertext construct. A link is a connection from one Web resource...
Read more >
Video: Create accessible links in Word - Microsoft Support
Create a more meaningful hyperlink · Copy the link you want to work with into a Word document and turn it into a...
Read more >
The External Resource Link element - HTML - MDN Web Docs
This element is most commonly used to link to stylesheets, but is also ... resource will then only be loaded if the media...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found