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.

Review, plan, and overhaul tab behavior

See original GitHub issue

Related issues: #522, #520, #467, #434, #542, #457, #431, #529, #546, #539, #484, #450,

Before addressing these issues (some of which are closed), I think we should first agree on expected tab behavior so that we know what to test for; also including tests for all the edge cases that QA has found.

Some of these edge cases are due to unexpected webview behavior. For example, webview may trigger several did-fail-load events with a 0 error code and OK error description during the loading process, although loading hasn’t failed.

I’d like to more fully understand the differences between did-stop-loading, did-finish-load, and did-fail-load events, because although the documentation is straightforward to understand, the actual behavior is not and that is a cause for some of our unexpected tab behavior.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
joshuefcommented, Jan 28, 2019

@hunterlester I think part of tabbing issues arises from using activeTab<whatever> actions. I think we need to squash this and always pass a tab index. (Which in turn means that each tab needs its own address bar etc, (right now there’s one that’s updated).

I’d do that probably first.

So checking for things like, going back triggers back on the correct tab, and cycling tabs and updating the address triggers correct tab window.

We’ll also need to ensure that updateTab, if it changes a tabs active status, that that updates whatever tab was considered active before… (which is handled by setAsActiveTab right now, but not by updateTab

Hmmm, there’s some other considerations that don’t come to me now. But I’ll come back and note down any that do 👍

0reactions
calumcraigcommented, Mar 15, 2019

Following on from my previous comment, a related issue can be seen.

    • Open one or more new tabs as above so that they open in multiple windows.
    • Close all but original SAFE browser instance.
    • Continue to browse - open subsequent new tabs.
    • Observe behaviour of tabs opened previously in multiple windows:

CTRL + TAB to cycle through tabs - this skips any tab which was opened as described.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Behavior Education Plan Toolkit
Behavior Education Plan Toolkit. Policy to Practice; School-Wide Systems & Practices; Classroom Systems & Practices; Targeted & Intensive Intervention ...
Read more >
Course Description for Fundamentals of Bridge Maintenance ...
Review the fundamentals of bridge mechanics and behaviors. Review the fundamental steps involved in using concrete as a repair material.
Read more >
Tab 7: OASIS Questions and Answers - CMS
How do the OASIS regulations apply to Medicaid HHA programs? ... the patient in the normal assessment process, or through review of discharging...
Read more >
DHS: Building Plan Review - IN.gov
Plan Review Information. There are four steps in the building plan review process: application, input, review and release. All applications are submitted ...
Read more >
Claim invitation issue: opening/closing tab or switching to ...
Claim invitation issue: opening/closing tab or switching to another tab opens invite url in clearnet ... Review, plan, and overhaul tab behavior #557....
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

No results found

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