Closed Bug 315878 Opened 19 years ago Closed 17 years ago

changing url in location bar with drop-down does not always update correctly

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: thevoges, Unassigned)

References

Details

(Whiteboard: CLOSEME 06/27)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5

When choosing a url in the location bar drop-down, at times, the system reverts back to the previous url instead of the new one.  There is no rhyme or reason to when this happens.  Pulling down the drop-down and reselecting the new url then takes me to the correct location.

Reproducible: Sometimes

Steps to Reproduce:
1.Click down-arrow on location bar
2.Select new url from listing
3.at times, system will revert to the previous url instead of new url.  very sporadic


Actual Results:  
as discussed in details

Expected Results:  
new website should have been loaded
*** Bug 324275 has been marked as a duplicate of this bug. ***
After some additional testing it appears to affect tablet mode more than notebook mode.  From a distant view it appears that firefox is marking a highlighted URL in memory and jumping to that URL then the mouse is clicked. In tablet mode the URL's are hardly ever selected and hence I see this more. Additional evidence is that selecting through the URL list causes the desired functionality.
line 261, function HandleEnter in:

seamonkey/ toolkit/ components/ autocomplete/ src/ nsAutoCompleteController.cpp 

This code does not work with no selected index:

269     if (popup) {
270       PRInt32 selectedIndex;
271       popup->GetSelectedIndex(&selectedIndex);
272       *_retval = selectedIndex >= 0;
273     }

I haven't found the mouse driving events for this yet, as technically this section is ok, but the driver appears as onmouseup() and it ignores any mouse location.
Flash demo of bug moved:

http://fnjordy.umcus.org/mozilla/tablet.swf
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 06/27
Version: unspecified → 1.5.0.x Branch
I can't reproduce using Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a6pre) Gecko/20070701 Minefield/3.0a6pre ID:2007070104. Closing as WFM.

Reporter, if you're still seeing this, please comment with details and reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.