Closed Bug 1786336 Opened 2 years ago Closed 2 years ago

Messaging Surface Triggers: Idle

Categories

(Firefox :: Messaging System, enhancement, P1)

Firefox 108
Desktop
Unspecified
enhancement

Tracking

()

VERIFIED FIXED
108 Branch
Tracking Status
firefox106 --- wontfix
firefox107 --- wontfix
firefox108 --- verified

People

(Reporter: lsmith, Assigned: aminomancer)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Attachments

(2 files)

As a team, we want to trigger messaging surfaces when in scenarios where users could be more efficiently using their bookmarks so that we can present relevant messaging surfaces to them and be contextual.

Priority: -- → P1
No longer blocks: mr-onboarding
Iteration: 106.1 - Aug 22 - Sept 2 → 106.2 - Sept 5 - Sept 16
Priority: P1 → P2
Iteration: 106.2 - Sept 5 - Sept 16 → 107.1 - Sept 19 - Sept 30
Iteration: 107.1 - Sept 19 - Sept 30 → 107.2 - Oct 3 - Oct 14
Iteration: 107.2 - Oct 3 - Oct 14 → ---

Add a new message surface trigger and corresponding documentation that meets the following criteria:

  • Idle is triggered after 20mins of inactivity
  • If there are multiple windows/tabs open, the message will surface on the active tab
  • If there is a video playing in the background, idle will not be triggered (P2)
Priority: P2 → P1
Version: Firefox 106 → Firefox 108
Assignee: nobody → shughes
Status: NEW → ASSIGNED
Pushed by shughes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd2a99189b8a
Add idle message surface trigger. r=mviar
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit auto_nag documentation.

Some more work on this incoming

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #9301918 - Attachment description: WIP: Bug 1786336 - Resolve some idle trigger issues. → Bug 1786336 - Resolve some idle trigger issues. r=mviar

For reference, D161237 adds some new behavior to the idle trigger:

  1. The idle trigger is completely disabled in permanent private browsing mode
  2. If the user becomes active in a private window after an idle period, the trigger will not fire. Only resuming activity in a non-private window will fire this trigger. There isn't really a technical reason for this, it was just intended to avoid any perception that one's inputs are being unduly tracked in private windows.
  3. If the user minimizes Firefox (or hides the window in some other way at the OS level), goes idle, then resumes activity without any Firefox window being visible, the trigger will not fire. Instead, the trigger will listen for Firefox windows to become visible. Once a window is visible, the trigger will fire (provided no sound is playing). Visibility changes will not normally fire the trigger though. They will only fire the trigger if an "active" notification was previously fired and "fizzled" due to every window being hidden.
Pushed by shughes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f66d7cd78401
Resolve some idle trigger issues. r=mviar

(In reply to Shane Hughes [:aminomancer] from comment #6)

Some more work on this incoming

It's probably better to open a new bug for followups if it's already resolved fixed.

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
  • I have verified the feature on Firefox Nightly 108.0a1 (Build ID: 20221109164728) and Beta 108.0b2 (Build ID: 20221115200658) on Windows 10 x64, macOS 12.6 and Ubuntu 20.04 x64.

  • The targeted message is triggered after the computer is in an idle state for at least 1 minute (value set for testing purposes) and the user interacts with the pc (through keyboard or mouse).

  • The message is not triggered if audio is played within the browser.

  • The message is not triggered when Private Browsing Mode is enabled.

  • The message is not triggered if Firefox is minimized and not visible on the Desktop. After Firefox is maximized and visible, the message is triggered and displayed.

Status: RESOLVED → VERIFIED
Depends on: 1802865
See Also: → 1835175
See Also: → 1835178
See Also: → 1836211
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: