Closed
Bug 1386222
Opened 7 years ago
Closed 7 years ago
Text in URL/location/address bar is garbled/overlapping/corrupted/not rendered correctly
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | verified |
People
(Reporter: ajfhajf, Assigned: ehsan.akhgari)
References
Details
(Keywords: regression, steps-wanted)
Attachments
(2 files)
5.34 KB,
image/png
|
Details | |
5.98 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170801100311
Steps to reproduce:
Create new profile, enable menu bar, open new tab, go to (menu bar) Bookmarks - Planet Mozilla
Actual results:
Text in the url bar is not rendered correctly, it looks like there are two URLs one on top of the other. Screenshot attached
Expected results:
Just one URL that is readable
Comment 1•7 years ago
|
||
Setting to NEW confirming - all tabs that are open are corrupted...
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression,
regressionwindow-wanted
OS: Unspecified → Windows 10
Reporter | ||
Comment 2•7 years ago
|
||
I've reproduced this bug on Windows 8.1 x64.
Updated•7 years ago
|
Component: Untriaged → Location Bar
Hardware: Unspecified → All
Comment 3•7 years ago
|
||
"Speedy" Regression window (mozilla-central)
Good:
https://ftp.mozilla.org/pub/firefox/nightly/2017/07/2017-07-31-17-59-27-mozilla-central/
Bad:
https://ftp.mozilla.org/pub/firefox/nightly/2017/08/2017-08-01-10-03-11-mozilla-central/
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=87824406b9feb420a3150720707b424d7cee5915&tochange=51ffb9283f0c7c00e08eb8c39b33fbee218c370d
Suspected:
Bug #1385407
Bug #1374477
Bug #1384756
status-firefox54:
--- → unaffected
status-firefox55:
--- → unaffected
status-firefox56:
--- → affected
status-firefox-esr52:
--- → affected
OS: Windows 10 → Windows
Updated•7 years ago
|
OS: Windows → All
Comment 5•7 years ago
|
||
Per bug #1386227 Comment #3
(In reply to Pascal Chevrel:pascalc from bug #1386227 Comment #3)
> Last good revision: fa81cd2510dbadd71d657258c7e76de6d74775cc
> First bad revision: 3377c3b7a86da2a6bcd8644b7cd4805fc2bfa22e
>
> Pushlog:
> https://hg.mozilla.org/integration/mozilla-inbound/
> pushloghtml?fromchange=fa81cd2510dbadd71d657258c7e76de6d74775cc&tochange=3377
> c3b7a86da2a6bcd8644b7cd4805fc2bfa22e
>
> Ehsan, it seems one of your recent patches caused this regression, could you
> check please? Thanks
Flags: needinfo?(ehsan)
Assignee | ||
Comment 7•7 years ago
|
||
A more accurate regression range would be helpful.
Flags: needinfo?(ehsan)
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to ajfhajf from comment #0)
> Create new profile, enable menu bar, open new tab, go to (menu bar)
> Bookmarks - Planet Mozilla
I tried to reproduce, but there isn't any link called Planet Mozilla under bookmarks. And I can't reproduce using any other links.
Comment 9•7 years ago
|
||
(In reply to :Ehsan Akhgari (needinfo please, extremely long backlog) from comment #7)
> A more accurate regression range would be helpful.
It's in Comment #6
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=fa81cd2510dbadd71d657258c7e76de6d74775cc&tochange=3377c3b7a86da2a6bcd8644b7cd4805fc2bfa22e
Updated•7 years ago
|
Blocks: 1385525
Keywords: regressionwindow-wanted
Assignee | ||
Comment 10•7 years ago
|
||
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #9)
> (In reply to :Ehsan Akhgari (needinfo please, extremely long backlog) from
> comment #7)
> > A more accurate regression range would be helpful.
>
> It's in Comment #6
> https://hg.mozilla.org/integration/mozilla-inbound/
> pushloghtml?fromchange=fa81cd2510dbadd71d657258c7e76de6d74775cc&tochange=3377
> c3b7a86da2a6bcd8644b7cd4805fc2bfa22e
Oh, sorry, didn't see that! Then this is almost certainly caused by bug 1385525. I just need someone to tell me how to reproduce it now. :-)
Assignee | ||
Updated•7 years ago
|
Keywords: steps-wanted
Comment 11•7 years ago
|
||
STR
1. Open https://www.mozilla.org/en-US/firefox/nightly/firstrun/
2. Open a new tab (click new tab button)
3. Alt > Bookmarks > then open "Planet Mozilla"
Comment 12•7 years ago
|
||
Oh, we're also skipping nsITransactionListener calls.
https://searchfox.org/mozilla-central/rev/bbc1c59e460a27b20929b56489e2e55438de81fa/editor/txmgr/nsTransactionManager.cpp#460-472
This is called by nsTransactionManager::DoTransaction():
https://searchfox.org/mozilla-central/rev/bbc1c59e460a27b20929b56489e2e55438de81fa/editor/txmgr/nsTransactionManager.cpp#60,66
And looks like that PlacesUtils is one of the listener:
https://searchfox.org/mozilla-central/rev/bbc1c59e460a27b20929b56489e2e55438de81fa/toolkit/components/places/PlacesUtils.jsm#600,602,632-633
Updated•7 years ago
|
Component: Location Bar → Editor
Product: Firefox → Core
Assignee | ||
Comment 13•7 years ago
|
||
Oh of course, that makes sense.
I can write a fix based on that description, but I'd still like to try to reproduce this so that I can verify the fix... :/
Assignee | ||
Comment 15•7 years ago
|
||
OK, finally managed to reproduce! The key to reproducing this is to use the keyboard to activate the menu item it seems.
This is the JS stack leading to the .value setter call on our input element:
(gdb) js
0 set_value(val = "https://planet.mozilla.org") ["chrome://global/content/bindings/autocomplete.xml":328]
this = [object XULElement]
1 URLBarSetURI(aURI = [xpconnect wrapped nsIURI @ 0x7fffb745d460 (native @ 0x7fff9f25ac08)]) ["chrome://browser/content/browser.js":2780]
this = [object ChromeWindow]
2 onLocationChange(aWebProgress = [xpconnect wrapped nsIWebProgress @ 0x7fffb69d7860 (native @ 0x7fffb5defd60)], aRequest = [xpconnect wrapped nsIRequest @ 0x7fffb745d400 (native @ 0x7fffb69cec40)], aLocationURI = [xpconnect wrapped nsIURI @ 0x7fffb745d460 (native @ 0x7fff9f25ac08)], aFlags = 0) ["chrome://browser/content/browser.js":4728]
this = [object Object]
3 callListeners(listeners = [object Object], args = [xpconnect wrapped nsIWebProgress @ 0x7fffb69d7860 (native @ 0x7fffb5defd60)],[xpconnect wrapped nsIRequest @ 0x7fffb745d400 (native @ 0x7fffb69cec40)],[xpconnect wrapped nsIURI @ 0x7fffb745d460 (native @ 0x7fff9f25ac08)],0) ["chrome://browser/content/tabbrowser.xml":492]
this = [object ChromeWindow]
4 _callProgressListeners(aBrowser = [object XULElement], aMethod = "onLocationChange", aArguments = [xpconnect wrapped nsIWebProgress @ 0x7fffb69d7860 (native @ 0x7fffb5defd60)],[xpconnect wrapped nsIRequest @ 0x7fffb745d400 (native @ 0x7fffb69cec40)],[xpconnect wrapped nsIURI @ 0x7fffb745d460 (native @ 0x7fff9f25ac08)],0) ["chrome://browser/content/tabbrowser.xml":507]
this = [object XULElement]
5 _callProgressListeners([object XULElement], "onLocationChange") ["chrome://browser/content/tabbrowser.xml":595]
this = [object Object]
6 onLocationChange(aWebProgress = [xpconnect wrapped nsIWebProgress @ 0x7fffb69d7860 (native @ 0x7fffb5defd60)], aRequest = [xpconnect wrapped nsIRequest @ 0x7fffb745d400 (native @ 0x7fffb69cec40)], aLocation = [xpconnect wrapped nsIURI @ 0x7fffb745d460 (native @ 0x7fff9f25ac08)], aFlags = 0) ["chrome://browser/content/tabbrowser.xml":875]
this = [object Object]
7 _callProgressListeners(type = 128, methodName = "onLocationChange", args = [object Object],[obje
Assignee: nobody → ehsan
Assignee | ||
Comment 17•7 years ago
|
||
Attachment #8892508 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 18•7 years ago
|
||
Comment on attachment 8892508 [details] [diff] [review]
Ensure that we always respect the undo/redo transaction history when modifying the <xul:textbox>.value dynamically through script
Approval Request Comment
[Feature/Bug causing the regression]: Bug 1385525
[User impact if declined]: Comment 0 and the dupes
[Is this code covered by automated tests?]: Yes
[Has the fix been verified in Nightly?]: No
[Needs manual test from QE? If yes, steps to reproduce]: No
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: Not really
[Why is the change risky/not risky?]: Because the patch is quite simple, it restores the old behavior for XUL text boxes
[String changes made/needed]: None
Attachment #8892508 -
Flags: approval-mozilla-beta?
Comment 19•7 years ago
|
||
Comment on attachment 8892508 [details] [diff] [review]
Ensure that we always respect the undo/redo transaction history when modifying the <xul:textbox>.value dynamically through script
r=me
Attachment #8892508 -
Flags: review?(bzbarsky) → review+
Comment 21•7 years ago
|
||
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/373c6ebaad86
Ensure that we always respect the undo/redo transaction history when modifying the <xul:textbox>.value dynamically through script; r=bzbarsky
Comment 25•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Comment 26•7 years ago
|
||
Comment on attachment 8892508 [details] [diff] [review]
Ensure that we always respect the undo/redo transaction history when modifying the <xul:textbox>.value dynamically through script
Made it in before tomorrow's uplift :)
Attachment #8892508 -
Flags: approval-mozilla-beta?
Updated•7 years ago
|
Summary: Text in url bar is not rendered correctly → Text in URL/location/address bar is garbled/overlapping/corrupted/not rendered correctly
Comment 29•7 years ago
|
||
[bugday-20170801]
status-ff56.0a1 : VERIFIED & NOT FIXED.
Managed to reproduce the issue on Firefox Nightly under Windows 10 X 64.
The issue is still reproducible on Firefox latest Nightly [BuildID : 20170801100311 , 56.0a1 (2017-08-01) (32-bit)]
Comment 30•7 years ago
|
||
That's yesterday's nightly, not today's (there's been infra issues delaying the builds). That build isn't expected to have the fix yet.
Flags: needinfo?(madhuri.mittal99)
Comment 31•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #30)
> That's yesterday's nightly, not today's (there's been infra issues delaying
> the builds). That build isn't expected to have the fix yet.
You are correct but today is bug verification day and i have this build id ( 20170801100311 )as latest with no new notification (or green icon) available for the new build with the fix :-). In the comments above, it is mentioned FIXED hence i added a comment. :-)
Flags: needinfo?(madhuri.mittal99)
Comment 32•7 years ago
|
||
Adding a comment that a build that's not expected to have a fix is still broken doesn't seem very helpful. It only adds confusion to the bug. I'm not arguing against verifying a fixed bug, but you can't do that usefully if you aren't testing the right builds.
Comment 33•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #32)
> Adding a comment that a build that's not expected to have a fix is still
> broken doesn't seem very helpful. It only adds confusion to the bug. I'm not
> arguing against verifying a fixed bug, but you can't do that usefully if you
> aren't testing the right builds.
okay. Thanks for guiding me :-) I will consider this thing ahead.
Comment 37•7 years ago
|
||
VERIFIED as fixed.
Comment 38•7 years ago
|
||
(In reply to Madhuri from comment #29)
> [bugday-20170801]
>
> status-ff56.0a1 : VERIFIED & NOT FIXED.
>
> Managed to reproduce the issue on Firefox Nightly under Windows 10 X 64.
>
> The issue is still reproducible on Firefox latest Nightly [BuildID :
> 20170801100311 , 56.0a1 (2017-08-01) (32-bit)]
[bugday-20170802] // due to updates on etherpad link.
Comment 39•7 years ago
|
||
[bugday-20170809]
status-ff57.0a1 : VERIFIED & FIXED.
Managed to reproduce the issue on Firefox Nightly under Windows 10 X 64.
The issue is no more reproducible on Firefox latest Nightly [BuildID : 20170808114032 , 57.0a1 (2017-08-08) (32-bit)]
You need to log in
before you can comment on or make changes to this bug.
Description
•