Closed
Bug 1343571
Opened 7 years ago
Closed 7 years ago
The delay is not applied and the action is triggered from the first click on a notification when the window is refocus
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect)
Tracking
(firefox54 wontfix, firefox55 verified)
VERIFIED
FIXED
mozilla55
People
(Reporter: Ovidiu, Assigned: florian)
References
(Depends on 1 open bug)
Details
(Whiteboard: [fxprivacy])
Attachments
(1 file)
1.26 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
This bug was filled after a discussion with Florian on https://bugzilla.mozilla.org/show_bug.cgi?id=1335985#c19 It is a specific issue, reproducible only on Linux. [Affected versions]: Tested on Nightly 54.0a1(2017-03-01) [Affected platforms]: Only Linux, tested on Ubuntu 16.04 x64 [Steps to reproduce]: 1. From about:config, set security.notification_enable_delay to a higher value. 2. Open 2 browser windows. 3. In 1 window go to http://permission.site/ and click the 'microphone' button 4. Move focus to the second window. 5. Click on "Allow" in the first window. [Expected result]: The delay is applied and only on the second click on "Allow" the button is triggered [Actual result]: The "Allow" button is triggered on the first click.
Assignee | ||
Updated•7 years ago
|
Component: Add-ons Manager → Notifications and Alerts
Whiteboard: [fxprivacy]
Assignee | ||
Comment 1•7 years ago
|
||
I think detecting that the window isn't focused, ignoring the click and focusing the window is all we need to do. I don't think this edge case is important enough to be worth uplifting, and I'm also not convinced it's worth spending time to write a test for this.
Assignee: nobody → florian
Attachment #8847719 -
Flags: review?(past)
Comment 2•7 years ago
|
||
Comment on attachment 8847719 [details] [diff] [review] Patch Review of attachment 8847719 [details] [diff] [review]: ----------------------------------------------------------------- Agreed.
Attachment #8847719 -
Flags: review?(past) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/34554df9f50cb34482838c1200fea11cb87b9095 Bug 1343571 - When clicking an action button of a PopupNotification in an inactive window, focus the window instead of performing the action, r=past.
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/34554df9f50c
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Reporter | ||
Comment 5•7 years ago
|
||
I verified this on Ubuntu 16.04 with FF Nightly 55.0a1(2017-04-10) and I can't reproduce the issue. I will mark this as a verified fix.
Status: RESOLVED → VERIFIED
(In reply to Wes Kocher (:KWierso) from comment #4) > https://hg.mozilla.org/mozilla-central/rev/34554df9f50c Please beware that the above "fix" caused the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1399937
Updated•10 months ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•