Unnecessary new tab when opening browser from URL dispatcher

Bug #1517198 reported by Krzysztof Tataradziński
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Incomplete
Undecided
Unassigned
webbrowser-app (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Hello,

state for now: while we click on some link1 (in scope, app, etc.) that starts web browser, we get two tabs:
tab with link1
empty tab

I think that expected result should be that one while we get only tab with link1 opened (without second empty tab).

What do You think?

Revision history for this message
Olivier Tilloy (osomon) wrote :

I am not seeing that (just tested on my BQ aquaris 4.5 running the latest rc-proposed image, and opened a BBC news article from the today scope).
Can you give detailed steps to reproduce the issue?

Changed in webbrowser-app (Ubuntu):
status: New → Invalid
status: Invalid → Incomplete
Changed in canonical-devices-system-image:
status: New → Incomplete
Revision history for this message
Krzysztof Tataradziński (ktatar156) wrote :

Do try to do that:
Open browser, close all tabs. Unfocus browser and close it (swipe up or down). No go to weather channel, click on some day, and click to 10-days weather forecast. It will open browser with two tabs - one with weather forecast and one 'main/empty'.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I see what you mean. The "main/empty" tab is not actually empty, it’s a new tab view. But I agree that in such a case, keeping it open makes little sense. Let’s see if we can add a check to remove a new tab when opening a URL from the outside.

Changed in webbrowser-app (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Medium
summary: - Unnecessary new tab while opening browser
+ Unnecessary new tab when opening browser from URL dispatcher
Revision history for this message
Krzysztof Tataradziński (ktatar156) wrote :

Also I want to add other case:
if we have opened webbrowser in background with only new tab view and we use some other app/scope to open web-browser it creates new tab with expected website. So the state for that is also
view tab,
expected website
Better would be that system will check if there exist opened some view tab and open our website inside it, instead of creating new tab.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.