First tab is always reloaded when the session is restored
Bug #1580290 reported by
Michal Predotka
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
webbrowser-app (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
bq M10 rc-proposed OS build 100
If I have few tabs open and in the first tab is a youtube video, it will start playing even if that tap is in the background after restarting the Browser.
Steps to reproduce:
1. Start Browser
2. Open a tab with a youtube video in it, for example http://
3. Open few more tabs with other websites
4. If necessary move the tab with the video so it's the first from the left
5. Select any other tab
6. Close Browser
7. Start Browser again
Expected result:
I don't hear the sound from the video in the background tab.
What happens instead:
I hear the sound from the video in the background tab.
Related branches
lp://staging/~osomon/webbrowser-app/session-restore-tab-load
- system-apps-ci-bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 51 lines (+12/-4)1 file modifiedsrc/app/webbrowser/Browser.qml (+12/-4)
lp://staging/~osomon/webbrowser-app/xenial-sru-1
- Ubuntu Phablet Team: Pending requested
-
Diff: 905 lines (+274/-86)27 files modifieddebian/changelog (+15/-0)
debian/control (+2/-1)
src/Ubuntu/CMakeLists.txt (+4/-0)
src/Ubuntu/Web/UserAgent02.qml (+4/-10)
src/Ubuntu/Web/plugin.cpp (+7/-0)
src/Ubuntu/Web/ua-overrides-desktop.js (+5/-0)
src/Ubuntu/Web/ua-overrides-mobile.js (+6/-1)
src/app/browserapplication.cpp (+32/-24)
src/app/browserapplication.h (+1/-2)
src/app/config.h.in (+0/-1)
src/app/single-instance-manager.cpp (+39/-3)
src/app/single-instance-manager.h (+1/-1)
src/app/webbrowser/Browser.qml (+21/-15)
src/app/webbrowser/BrowserTab.qml (+3/-2)
src/app/webbrowser/NavigationBar.qml (+1/-2)
src/app/webbrowser/webbrowser-app.cpp (+1/-1)
src/app/webcontainer/WebApp.qml (+1/-0)
src/app/webcontainer/WebViewImplOxide.qml (+28/-14)
src/app/webcontainer/WebappContainerWebview.qml (+3/-1)
src/app/webcontainer/webapp-container.cpp (+32/-1)
src/app/webcontainer/webapp-container.h (+1/-0)
src/app/webcontainer/webapp-container.qml (+2/-0)
tests/autopilot/webapp_container/tests/__init__.py (+4/-0)
tests/autopilot/webapp_container/tests/fake_servers.py (+29/-0)
tests/autopilot/webapp_container/tests/test_popup_webview_overlay.py (+19/-0)
tests/autopilot/webapp_container/tests/test_saml_url_patterns.py (+9/-3)
tests/unittests/single-instance-manager/tst_SingleInstanceManagerTests.cpp (+4/-4)
Changed in webbrowser-app (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Bill Filler (bfiller) |
milestone: | none → 12 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can reliably reproduce the issue. What seems to happen is that the first tab in the list is always loaded at startup, regardless of whether there are other open tabs and regardless of the current tab index. This is an unexpected behaviour, only the current tab should be reloaded.