Closed
Bug 1205895
Opened 9 years ago
Closed 9 years ago
[Messaging] Copy and Pasting pasting text, triggers MMS to download automatically.
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P3)
Tracking
(blocking-b2g:2.5+, b2g-v2.2 unaffected, b2g-master affected)
Tracking | Status | |
---|---|---|
b2g-v2.2 | --- | unaffected |
b2g-master | --- | affected |
People
(Reporter: vbelonenko, Assigned: TYLin)
References
(Blocks 1 open bug, )
Details
(Keywords: regression, Whiteboard: [2.5-Daily-Testing], [spark])
Attachments
(2 files)
Description: When you receive Multimedia message and you copy and paste image, it automatically downloads an image. Repro Steps: 1) Open Messaging Settings--> Select Auto Retrieve off. 2) Send MMS to your mobile device. 3) Receive a Multimedia message ( testing device) 4) Tap on MMS text and copy and paste into text field. 5) Observe that when you copy and paste Multimedia message, it automatically downloads an image. Actual: Automatically downloads Multimedia message when you copy and paste. Expected: When user downloads Multimedia message, it should not automatically download MMS. Environmental Variables: Device: Aries 2.5 kk Full Flash (319 mb) Build ID: 20150917133514 Gaia: aede8622d780ec71f766a3ecccbff74c04aaba4e Gecko: 8d4c37a86b576db4ef150dff715a89ff77e84bf5 Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd Version: 43.0a1 (2.5) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0 Notes: Messaging Settings: Select Auto Retrieve off Repro frequency: 5/5 See attached: Logcat and Video
Reporter | ||
Comment 1•9 years ago
|
||
This issue also occurs on Flame 2.5 Result: Copy and Pasting pasting text, triggers MMS to download automatically. Environmental Variables: Device: Flame 2.5 kk Build ID: 20150916030229 Gaia: 994ff1537c2d7ca4d1658806c50f3ceba1053f9b Gecko: 3e8dde8f8c174cce2c0b65c951808f88e35d1875 Gonk: c4779d6da0f85894b1f78f0351b43f2949e8decd Version: 43.0a1 (2.5) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0 This issue does not occurs on Flame 2.2 Result: Copy and Pasting pasting text did not trigger MMS to download. Environmental Variables: Device: Flame 2.2 kk Build ID: 20150811123013 Gaia: 102f1299e9eafe3760e1deb44d556b5c4f36b5af Gecko: 9295034c0ee3 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 37.0 (2.2) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
QA Whiteboard: [QAnalyst-Triage+]
status-b2g-v2.2:
--- → unaffected
status-b2g-master:
--- → affected
Flags: needinfo?(ktucker)
Keywords: regression
Comment 2•9 years ago
|
||
It looks like that when we tap on the 'paste' icon, it triggers also the link below. Ting-Yu, could you please have a look ?
Flags: needinfo?(tlin)
Updated•9 years ago
|
blocking-b2g: --- → 2.5?
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to [:VladimirBelonenko] from comment #0) > Created attachment 8662682 [details] > logcat_20150917_1622.txt > > Description: > When you receive Multimedia message and you copy and paste image, it > automatically downloads an image. > > Repro Steps: > 1) Open Messaging Settings--> Select Auto Retrieve off. > 2) Send MMS to your mobile device. > 3) Receive a Multimedia message ( testing device) > 4) Tap on MMS text and copy and paste into text field. > 5) Observe that when you copy and paste Multimedia message, it automatically > downloads an image. > > Actual: > Automatically downloads Multimedia message when you copy and paste. > > > Expected: > When user downloads Multimedia message, it should not automatically download > MMS. > > Environmental Variables: > Device: Aries 2.5 kk Full Flash (319 mb) > Build ID: 20150917133514 > Gaia: aede8622d780ec71f766a3ecccbff74c04aaba4e > Gecko: 8d4c37a86b576db4ef150dff715a89ff77e84bf5 > Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd > Version: 43.0a1 (2.5) > Firmware Version: D5803_23.1.A.1.28_NCB.ftf > User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0 > > Notes: Messaging Settings: Select Auto Retrieve off > > Repro frequency: 5/5 > See attached: Logcat and Video (In reply to [:VladimirBelonenko] from comment #1) > This issue also occurs on Flame 2.5 > Result: Copy and Pasting pasting text, triggers MMS to download > automatically. > > Environmental Variables: > Device: Flame 2.5 kk > Build ID: 20150916030229 > Gaia: 994ff1537c2d7ca4d1658806c50f3ceba1053f9b > Gecko: 3e8dde8f8c174cce2c0b65c951808f88e35d1875 > Gonk: c4779d6da0f85894b1f78f0351b43f2949e8decd > Version: 43.0a1 (2.5) > Firmware Version: v18D > User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0 > > This issue does not occurs on Flame 2.2 > Result: Copy and Pasting text did not trigger MMS to download. > > Environmental Variables: Device: Flame 2.2 kk Build ID: 20150918002506 Gaia: d52d714afd14c6253ddac8fab63f29b8bcf59f2b Gecko: 3ee82451dd67 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 37.0 (2.2) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Updated•9 years ago
|
Flags: needinfo?(ktucker)
Assignee | ||
Comment 5•9 years ago
|
||
Re comment #2: This bug is strange. This doesn't happen on browser app where the text selection dialog covers a url link.
Blocks: AccessibleCaret
Flags: needinfo?(tlin)
Comment 6•9 years ago
|
||
we may need add evt.stopPropagation in click/mousedown event to not triggers the link below
Comment 7•9 years ago
|
||
By the way, it's totally unrelated to settings though :/
Component: Gaia::Settings → Gaia::System
Summary: [Messaging][Settings] Copy and Pasting pasting text, triggers MMS to download automatically. → [Messaging] Copy and Pasting pasting text, triggers MMS to download automatically.
Updated•9 years ago
|
Component: Gaia::System → Selection
Product: Firefox OS → Core
Assignee | ||
Comment 8•9 years ago
|
||
I cannot reproduce this issue on master. However I found that the click event still propagates after handling the commands (cut, copy, etc.) in app_text_selection_dialog.js. Only preventDefault() is called in [1]. https://github.com/mozilla-b2g/gaia/blob/4d4948cfe29cd16bb45314f15a07fe34e6746619/apps/system/js/app_text_selection_dialog.js#L336
Comment 9•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8673600 -
Flags: review?(etienne)
Comment 11•9 years ago
|
||
Comment on attachment 8673600 [details] [review] [gaia] aethanyc:bug1205895 > mozilla-b2g:master r=me with a small unit-test added (we already have a fake stopPropagation method, we just need to spy on it at assert that it gets called)
Attachment #8673600 -
Flags: review?(etienne) → review+
Assignee | ||
Updated•9 years ago
|
Component: Selection → Gaia::System
Product: Core → Firefox OS
Assignee | ||
Comment 12•9 years ago
|
||
Etienne, Thank you for the review. Your hint for adding unit-test is very helpful. I've updated my PR with a test added.
Keywords: checkin-needed
Comment 13•9 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/20f795aaa4c98a87b8fb595a3dbaa91c340d0fc3
Status: NEW → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S9 (16Oct)
You need to log in
before you can comment on or make changes to this bug.
Description
•