ALTGR+Enter opens a canonized URL rather than opening in a new tab
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | wontfix |
firefox-esr68 | --- | wontfix |
firefox56 | --- | wontfix |
firefox57 | --- | wontfix |
firefox62 | --- | wontfix |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | wontfix |
firefox70 | --- | verified |
firefox71 | --- | verified |
People
(Reporter: ezh, Assigned: bbassi, Mentored)
References
(Depends on 1 open bug, Regressed 1 open bug)
Details
(Keywords: regression, Whiteboard: [fxsearch] [good first bug])
Attachments
(2 files)
1.66 KB,
patch
|
Details | Diff | Splinter Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Comment 1•8 years ago
|
||
![]() |
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Reporter | ||
Comment 4•8 years ago
|
||
![]() |
||
Updated•8 years ago
|
Updated•8 years ago
|
Reporter | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Reporter | ||
Comment 7•8 years ago
|
||
Reporter | ||
Comment 8•8 years ago
|
||
Reporter | ||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Updated•8 years ago
|
Reporter | ||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Updated•8 years ago
|
Comment 17•8 years ago
|
||
Comment 18•8 years ago
|
||
Reporter | ||
Comment 19•8 years ago
|
||
Comment 20•8 years ago
|
||
Reporter | ||
Comment 21•8 years ago
|
||
Comment 22•8 years ago
|
||
Comment 23•7 years ago
|
||
Reporter | ||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Reporter | ||
Comment 26•7 years ago
|
||
Reporter | ||
Comment 27•7 years ago
|
||
Reporter | ||
Comment 28•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 30•7 years ago
|
||
Reporter | ||
Comment 31•7 years ago
|
||
Reporter | ||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Reporter | ||
Comment 34•7 years ago
|
||
Comment 35•7 years ago
|
||
Comment 36•7 years ago
|
||
Comment 37•7 years ago
|
||
Comment 38•7 years ago
|
||
Comment 39•7 years ago
|
||
Comment 40•7 years ago
|
||
Reporter | ||
Comment 41•7 years ago
|
||
So, not in FF65?
Comment 42•7 years ago
|
||
Doesn't look like it :/
mak, after checking the spec I've found a way that allows setting the modifier state[1], but I don't know if it works the same way in the test harness:
(new KeyboardEvent("", {code: "Enter", key: "Enter", modifierAltGraph: true})).getModifierState("AltGraph")
Since you already have a patch locally and I won't have the time to figure out the test harness for a while I'm unassigning myself.
Updated•7 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 44•6 years ago
|
||
I repeat my proposal:
When someone fixes this, I would contribute 25 € to Mozilla foundation. I really suffer from this... :(
FF66 and still not fixed. :(
Reporter | ||
Comment 45•6 years ago
|
||
Please... :((( It is not really hard to fix. The fix is here:
Here's a very simple fix for this issue. Maybe it could be checked in to FF tree?
http://forums.mozillazine.org/viewtopic.php?f=23&t=3041472&p=14809159#p14809159
[] Unzip omni.ja to a temporary directory
[] Change the _whereToOpen
function at line ~719 chrome/browser/content/browser/urlbarBindings.xml
as follows:
Code: Select all
let altEnter = event && (event.altKey || event.getModifierState("AltGraph"));
[*] Re-zip the omni.ja, place it back and start the browser with the -purgecaches
argument to make sure the old bindings aren't cached anywhere (not sure if this is still needed).
Updated•6 years ago
|
Assignee | ||
Comment 46•6 years ago
|
||
Is someone working on this? If not, I can take this. This is my first bug, so I might need some help with this.
Assignee | ||
Comment 48•6 years ago
|
||
Is it okay if I email you with specific questions about the bug?
Assignee | ||
Comment 49•6 years ago
|
||
I am using Firefox 68.0.1 on Windows 10, and I am not able to reproduce this bug. It works fine for me.
Reporter | ||
Comment 50•6 years ago
|
||
It does not work. Your keyb layout must be set to not English.
English keyboard layout - OK, works fine.
Estonian (Russian, German etc) keyboard layout - it opens the desired URL in same tab, instead of new one.
Here is the fix:
http://forums.mozillazine.org/viewtopic.php?f=23&t=3041472&p=14809159#p14809159
[] Unzip omni.ja to a temporary directory
[] Change the _whereToOpen function at line ~719 chrome/browser/content/browser/urlbarBindings.xml as follows:
Code: Select all
let altEnter = event && (event.altKey || event.getModifierState("AltGraph"));
[*] Re-zip the omni.ja, place it back and start the browser with the -purgecaches argument to make sure the old bindings aren't cached anywhere (not sure if this is still needed).
Comment 51•6 years ago
|
||
@Eugene: I have just checked whether this issue was fixed in the latest Nightly. I verified the functionality using an RO language build.
I only assume that Bhopesh Bassihas already fixed it. Can you confirm this?
Assignee | ||
Comment 52•6 years ago
|
||
I haven't fixed it yet. I wasn't able to reproduce it earlier but after trying out different layouts, I can finally reproduce this.
Assignee | ||
Comment 53•6 years ago
|
||
@danibodea It is not fixed on the latest nightly. I can reproduce it there.
Comment 54•6 years ago
|
||
Bhopesh, thanks for volunteering to work on this. The code has changed a lot since the comments above. I think all you need to do now is change this line: https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/browser/components/urlbar/UrlbarInput.jsm#1282
To this:
if (
!isMouseEvent &&
event &&
(event.altKey || event.getModifierState("AltGraph"))
) {
Updated•6 years ago
|
Comment 55•6 years ago
|
||
Also, there are a few tests related to the alt key. You should run them and make sure they pass with your change. You should also add cases for testing AltGraph.
https://searchfox.org/mozilla-central/source/browser/components/urlbar/tests/browser/browser_urlbar_whereToOpen.js
https://searchfox.org/mozilla-central/source/browser/components/urlbar/tests/browser/browser_locationBarCommand.js
https://searchfox.org/mozilla-central/source/browser/components/urlbar/tests/browser/browser_urlbarEnter.js
Let us know here in the bug when you have questions.
Assignee | ||
Comment 56•6 years ago
|
||
Hi Drew, Thanks a lot for this info. I will do as suggested by you.
I was looking at my local installation of Firefox and I saw that there is an xml file, urlbarBindings.xml, with the same function, _whereToOpen, as in UrlbarInput.jsm linked above. This file is located in zip file C:\Program Files\Mozilla Firefox\browser\omni.ja. Path inside omni.ja is chrome\browser\content\browser\urlbarBindings.xml. Can you please give some details on role of this xml file?
Comment 57•6 years ago
|
||
urlbarBindings.xml is a file that we stopped using in Firefox 68 (and removed in 70). So if you make the change there, it won't appear to have any effect in 68 and later. In 68, we rewrote the urlbar, and UrlbarInput.jsm is one of the files of the new implementation.
You'll need to set up a development environment on your computer in order to make and submit your patch and run tests. Please see the documentation here for more info: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide You might start at the Getting Started link.
Assignee | ||
Comment 58•6 years ago
|
||
I see. Thank you. Working on it.
Assignee | ||
Comment 59•6 years ago
|
||
Hi Drew, I have made the change and it fixed the issue. I have some questions on writing and running new tests.
- How do I simulate AltGR key press? Online search suggests that both alt and ctrl key should be set to true while creating new KeyboardEvent. Is that correct?
- In this file, should I file altGrReturnKeypress as new function or just add test to the existing altReturnKeypress function? https://searchfox.org/mozilla-central/source/browser/components/urlbar/tests/browser/browser_urlbarEnter.js
- Does build run tests by default? I guess not. If no, then should I just run "./mach firefox-ui-functional" ?
Comment 60•6 years ago
•
|
||
I should have posted this sooner, so let me do that now, it's useful information we should not lose
On 2018/10/19 22:22, Marco Bonardo wrote:
Hello Masayuki-san,
I have a few questions regarding AltGraph.I'm trying to write a js test generating a KeyboardEvent that has
getModifierState("AltGraph") set. I've tried various methods but I seem
unable to generate such an event. Do you have any suggestions on how to
do that?If you'd like to synthesize in mochitests, you need to do as:
synthesizeKey("]", { altGrKey: true, code: "BracketRight", keyCode: 171});
This emulates '+' key of Spanish keyboard layout on Windows.
Unfortunately, we need to specify .code value and .keyCode value
explicitly for emulating non-US keyboard layout's specific key.If you need to create untrusted event, you can create is as:
let keydownEvent = new KeyboardEvent("keydown", { key: "]", code:
"BracketRight", keyCode: 171, which: 171, modifierAltGraph: true });
let keypressEvent = new KeyboardEvent("keypress", { key: "]", code:
"BracketRight", charCode: 93, which: 93, modifierAltGraph: true });
let keyupEvent = new KeyboardEvent("keyup", { key: "]", code:
"BracketRight", keyCode: 171, which: 171, modifierAltGraph: true });You can check proper value with this test tool:
https://w3c.github.io/uievents/tools/key-event-viewer.htmlHow does the event change on Linux and Mac? If I understood correctly on
Windows CTRL and ATL modifiers are false when AltGraph modifier is set,
what about the other OSes?On Linux, it's really complicated. Roughly speaking, if a modifier key
is mapped to GDK_ISO_Level3_Shift (this is typically mapped to AltRight
key with some Europe keyboard languages), it activates "AltGraph" state
of each event.On macOS, option key activates "AltGraph" state (with "Alt" state).
Although I don't know how other browsers treat it on macOS.
Comment 61•6 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #36)
Thanks, I already had a version of this patch locally (also fixing the
Quantum Bar code), but I'm indeed having problems simulating the AltGraph
key in our test harness, for which I sent an e-mail today to get some hints
about it. I'll report when I hear back about that.
I am having quite a hard time reproducing this issue now. Do you have any other tips on how to reproduce it or other tips that can help my manual testing?
These are my steps, taken from the comments above:
- Download and install the latest Nightly with RU language.
- Open browser.
- Access the "www.menelon.ee" page a few times so it appears as a suggestion.
- Open "www.google.com" page.
- While the Google tab is focused, click inside the address bar, and input "mene using the keyboard.
Observe: The menelon.ee suggestion is displayed. - Tap "AltGr"+"Enter" keyboard buttons.
Observe: The menelon.ee page is being opened in another tab. (works exactly like when used the left Alt button)
Please note that I have verified it on Romanian and English languages with no differences; Also, the test has been performed on a desktop with a keyboard that has "Alt Gr" key and on an HP ProBook 430 G1 (also having an alt gr key on its keyboard).
In conclusion, I am not sure I understood the issue or there is something different between out steps to reproduce. Opinions?
Updated•6 years ago
|
Comment 62•6 years ago
|
||
I can reproduce easily the fact it opens in the current tab, not in another tab, it may indeed depend on the OS and the keyboard layout. My system is Win10, all italian and italian layout.
I don't know what causes the different behavior.
Comment 63•6 years ago
|
||
(In reply to Bhopesh Bassi from comment #59)
Hi Drew, I have made the change and it fixed the issue.
Great!
- How do I simulate AltGR key press? Online search suggests that both alt and ctrl key should be set to true while creating new KeyboardEvent. Is that correct?
Please see Marco's comment 60 (thanks Marco). The synthesizeKey
key call described in that comment sounds like the way to go.
- In this file, should I file altGrReturnKeypress as new function or just add test to the existing altReturnKeypress function? https://searchfox.org/mozilla-central/source/browser/components/urlbar/tests/browser/browser_urlbarEnter.js
I would probably add a new function just for this.
- Does build run tests by default? I guess not. If no, then should I just run "./mach firefox-ui-functional" ?
mach build
doesn't run tests, no. Those three tests are all browser chrome mochitests. Details here: https://developer.mozilla.org/en-US/docs/Mozilla/Browser_chrome_tests
You can run each by doing:
mach test <path to test>
You can also do mach mochitest
(as the doc says), but mach test
is used to run all the various kinds of tests and figures out that these files are mochitests.
Assignee | ||
Comment 64•6 years ago
|
||
Hi Marco, I have few questions about your suggestions:
- Why are we simulating right bracket( "]" ) key? Where is it coming from?
- Why are we using 'charCode' and 'which'? Both of these are deprecated according to documentation here. https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent
- Where is this modifierAltGraph property coming from? I don't see it documentation of KeyboardEvent.
Assignee | ||
Comment 65•6 years ago
|
||
Hi Bodea,
- I can reproduce it on German layout. Can you try that?
- Can you try it on regular Firefox instead of nightly build?
- How are you adding layouts to Windows 10? I am adding it at Windows level from settings and then switching between them using button on right bottom of taskbar.
Comment 66•6 years ago
|
||
(In reply to Bhopesh Bassi from comment #64)
Hi Marco, I have few questions about your suggestions:
- Why are we simulating right bracket( "]" ) key? Where is it coming from?
it was just an example that Masayuki-san made on that mail, it's not strictly related to our case.
- Why are we using 'charCode' and 'which'? Both of these are deprecated according to documentation here. https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent
- Where is this modifierAltGraph property coming from? I don't see it documentation of KeyboardEvent.
What is exposed to Firefox chrome is not necessarily exposed to the Web. Anyway, in our case we don't need an untrusted event, so that part likely doesn't apply to our case. I just copied the ful e-mail for simplicity.
Assignee | ||
Comment 67•6 years ago
|
||
Hi Drew, I have added the tests in all three files that you suggested. New tests in browser_urlbar_whereToOpen.js are working but new tests in browser_locationBarCommand.js and browser_urlbarEnter.js are failing due to some timeout and reference errors. Can you please help figure this out? What is the best way to share my code and tests with you? Should I just commit?
Comment 68•6 years ago
|
||
Please post the patch to phabricator, our code-review tool, as described here:
Assignee | ||
Comment 69•6 years ago
|
||
Before this change, AltGr+Enter wouldn't open url in new tab on non-English layouts on Windows. This happened because non-English layouts generated AltGr event on pressing right Alt key. Checking for this event in _whereToOpen function fixes the issue.
Assignee | ||
Comment 70•6 years ago
|
||
Hi Drew, I have started a review request. Here is the url. https://phabricator.services.mozilla.com/D39466
I haven't removed the older code but just commented it. I will remove it when I update the patch after you take a look at failing tests.
I have few questions:
- I used arc but documentation referred to moz-phab as a better alternative. I couldn't find instructions on how to use moz-phab on Windows. Can you please point me to right documentation?
- I never did "hg push". I just did "hg commit" and then "arc diff". Is this how it is supposed to be? I am little confused because I come from git world and there the standard procedure is to commit on a new branch and then push that branch. Here, while following instructions, I committed on default branch and then never pushed to remote repo but did "arc diff".
Comment 71•6 years ago
|
||
./mach boostrap works on Windows and can setup most of your needs, IIRC included moz-phab
Comment 72•6 years ago
|
||
I finally understood the issue. It is not specific to builds of certain languages. The OS keyboard layout is the cause. What I mean is that the issue reproduces on any Firefox build, while the Windows' keyboard layout is set as any other than standard English. When the keyboard layout is set as Deutch or Russian (as an example), the Right Alt will be treated as Alt Graph rather than just like the Left Alt, hence the issue's appearance.
In Fx55:
The final result of the steps from comment 61 is that the "menelon.ee" page would be opened in a new tab; the expected/correct result.
I have found two changes related to this area:
- Somewhere in Fx56, regressing the change gave me this: "2019-07-26T12:14:49: INFO : Narrowed nightly regression window from [2017-07-22, 2017-07-24] (2 days) to [2017-07-22, 2017-07-23] (1 days) (~0 steps left)" The bisection could not be finished due to lack of builds.
With this change, the final result of the steps from comment 61 would be that the right Alt will be treated as Alt Graph (on Windows 10) so when the steps from comment 61 were performed, the final observation is that "meme.com" page would be opened in a new tab. (bad/wrong result) - Somewhere in Fx63 I found another change relating this area, regressing it gave me this: "2019-07-26T14:18:11: INFO : Narrowed nightly regression window from [2018-06-23, 2018-06-26] (3 days) to [2018-06-25, 2018-06-26] (1 days) (~0 steps left)" The bisection could not be finished due to lack of builds.
With this change, the final result of the steps from comment 61 would be that the right Alt will be treated as Alt Graph (on Windows 10) so when the steps from comment 61 were performed, the final observation is that "memelon.ee" page would be opened in the same tab. (still bad/wrong result)
Hope this helps.
Assignee | ||
Comment 74•6 years ago
|
||
Yes Daniel, that is the correct issue. I wasn't aware that you were testing something else earlier.
Assignee | ||
Comment 75•6 years ago
|
||
Can some please take my patch and run it once? I am having some issues with test cases and need help with that.
Reporter | ||
Comment 76•6 years ago
|
||
I cat test only full .exe version, I'm not a programmer...
Assignee | ||
Comment 77•6 years ago
|
||
Then I will wait for Drew or Marco to run the tests once.
Comment 78•6 years ago
|
||
I spent some time trying to figure out how to synthesize AltGraph. Masayuki's suggestions in comment 60 don't seem to work, but according to the date in that comment, they're 9 months old, so maybe something has changed. Or maybe I'm doing it wrong.
I did get EventUtils.synthesizeNativeKey
to work. But synthesizeNativeKey
only works on Windows and Mac, not Linux. So for the two failing tests, you can do something like this (untested), and let's just skip the AltGraph checks on Linux unfortunately.
// From EventUtils.js
const KEYBOARD_LAYOUT_SPANISH = {
name: "Spanish",
Mac: 12,
Win: 0x0000040A,
hasAltGrOnWin: true,
};
// From NativeKeyCodes.js
const WIN_VK_RETURN = 0x001C000D;
const MAC_VK_Return = 0x24;
let keyCode;
switch (AppConstants.platform) {
case "win":
keyCode = WIN_VK_RETURN;
break;
case "macosx":
keyCode = MAC_VK_Return;
break;
default:
// synthesizeNativeKey not supported, return or throw or something
}
EventUtils.synthesizeNativeKey(KEYBOARD_LAYOUT_SPANISH, keyCode,
{ altGrKey: true }, "", "");
Comment 79•6 years ago
|
||
(In reply to Bhopesh Bassi from comment #70)
- I used arc but documentation referred to moz-phab as a better alternative. I couldn't find instructions on how to use moz-phab on Windows. Can you please point me to right documentation?
In addition to what Marco said, there's some documentation here: https://github.com/mozilla-conduit/review/blob/master/README.md
- I never did "hg push". I just did "hg commit" and then "arc diff". Is this how it is supposed to be? I am little confused because I come from git world and there the standard procedure is to commit on a new branch and then push that branch. Here, while following instructions, I committed on default branch and then never pushed to remote repo but did "arc diff".
That's pretty much right. arc diff
will complain if you try to make a diff with multiple commits (I think?) so you'll need to squash your commits or hg commit --amend
. And moz-phab (I think?) can submit multiple commits, but it will submit each commit as a different revision, which is not what we want here. We want one revision that's updated as you address review comments.
Assignee | ||
Comment 80•6 years ago
|
||
Hi Drew, Currently we are using EventUtils.synthesizeKey, do you want to use EventUtils.synthesizeNativeKey instead?
The code snippet you shared above will only test Spanish layout, what about other layouts? Shouldn't we try to keep tests layout independent?
What else can we try? Can you refer me to some documentation on testing framework? Tests for whereToOpen are using javascript KeyboardEvent, why can't we use same for other tests?
Comment 81•6 years ago
|
||
to merge multiple already existing changesets you can also use hg rebase -s source -d dest --collapse
For the test, the only thing we are trying to do is to generate a keyboard event having getModifierState("AltGraph") set, the way we generate it doesn't matter much, as well as the keybord layout, because we are basically unit testing our handling of the AltGraph modifier. We are not testing the platform code that generates the event, we are just testing the effect of an AltGraph event.
Assignee | ||
Comment 82•6 years ago
|
||
But shouldn't we try to generate it in keyboard independent way? and why can't we use Javascript KeyboardEvent like we used for whereToOpen tests.
Comment 83•6 years ago
|
||
We can't test every combination, it would be too expensive, so we unit test the specific fix, that is handling getModifierState("AltGraph"), it doesn't really matter how we generate it provided it's reasonably close to a real user action.
I don't know the answer to your question, because that's in the scope of resolving this bug, it requires the assignee (or someone else) to investigate those possibilities, like for example Drew did for comment 78. I didn't have time to look into it yet.
Comment 84•6 years ago
|
||
I guess we could just create KeyboardEvents and dispatch them to the input. That might work. I suggested synthesizeNativeKey because those two tests are already using synthesizeKey. If you want to create and dispatch KeyboardEvents in those tests instead, then you may have to work around the frameworks that those tests are already using, which is fine but a little more work.
Updated•6 years ago
|
Assignee | ||
Comment 85•6 years ago
|
||
Looking at documentation of EventUtils.synthesizeKey, I figured that it expects {'altGraphKey' : true} instead of {'altGrKey' : true}. Please see this https://searchfox.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/EventUtils.js#837
After making this change, tests started working. I have updated the revision, please take a look once. Please also advise on next steps.
Comment 86•6 years ago
|
||
Great, thanks! I've accepted your patch and pushed it to tryserver to make sure it passes our tests. If it does, then I'll commit it. The link to see the tryserver results is: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1e3cce1cfc0a54cfe585d537fd06dc77f40b4c20
I'd also like to ask Eugene to test it before committing, but we need to wait for tryserver to finish building it first.
Reporter | ||
Comment 87•6 years ago
|
||
I'm ready to test a build! Just give me a download URL.
Praying that it works...
Comment 88•6 years ago
|
||
From your comments above, it sounds like you're using Windows? This is a Windows 10 x64 build: https://queue.taskcluster.net/v1/task/GG0zRK0YQBOJfRT1El8ohQ/runs/0/artifacts/public/build/target.zip
Please let me know if you need a build for a different platform.
Reporter | ||
Comment 90•6 years ago
|
||
BTW Tested with Russian and Estonian keyb language.
Comment 91•6 years ago
|
||
Comment 92•6 years ago
|
||
Thanks. I just landed this, so it should be on a Nightly tomorrow or the next day.
Thanks, Bhopesh!
Updated•6 years ago
|
Assignee | ||
Comment 93•6 years ago
|
||
Hi Drew, I have few questions.
- I see some tests failing here for completely unrelated reason. What are these about? https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=1e3cce1cfc0a54cfe585d537fd06dc77f40b4c20
- What is the bug opened by Tara above? I don't completely get it.
Comment 94•6 years ago
|
||
(In reply to Bhopesh Bassi from comment #93)
- I see some tests failing here for completely unrelated reason. What are these about? https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=1e3cce1cfc0a54cfe585d537fd06dc77f40b4c20
Unfortunately we have a lot of intermittent test failures. We open bugs for them so we can track them. Intermittent failures usually happen on every landing, but not the same failures.
- What is the bug opened by Tara above? I don't completely get it.
It looks like your patch might have caused a new intermittent failure, possibly specifically the browser_urlbarEnter.js addition. I really doubt it since that addition is not doing anything that the test already wasn't doing. I searched Bugzilla and found a couple of identical intermittent failure bugs, but they were both closed since they happened very rarely and not recently. (I marked those bugs as see-also's on the new bug.) So I would guess that there's something about this test that causes this failure very rarely. I don't immediately see what it could be. It's possible your patch made it more frequent, or maybe your push was just unlucky and it happened to occur. We can keep an eye on the bug to see if it keeps happening.
Comment 95•6 years ago
|
||
bugherder |
Comment 96•6 years ago
|
||
Thank you again for looking into this bug and patching it.
Reporter | ||
Comment 97•6 years ago
|
||
As promised, donated to Mozilla 25 €.
Tnx, Bhopesh Bassi !
Reporter | ||
Comment 98•6 years ago
|
||
In nightly it is fixed for URLbar, but not for searchbar.
Comment 99•6 years ago
|
||
(In reply to Eugene Savitsky from comment #98)
In nightly it is fixed for URLbar, but not for searchbar.
Search bar is probably bug 1391239.
Assignee | ||
Comment 100•6 years ago
|
||
Do we still have to different bars? I thought the same bar worked as url and search!!
Comment 101•6 years ago
|
||
You can toggle the separate search bar in Firefox's preferences, in the Search tab.
Reporter | ||
Comment 102•6 years ago
|
||
I prefer the separate one. So the URL bar dropdown list is clean from the search suggestions.
Updated•6 years ago
|
Comment 103•6 years ago
|
||
I have verified this issue on Nighly v71.0a1 from 2019-09-15 and Beta v70.0b6 using e desktop and a laptop test machines (that have an Alt Gr key) with Windows 10 x64 and Windows 7 x32, with system keyboard input language set to Deutch. It does not reproduce on Nightly or Beta, but it reproduces in Release.
Thank you!
Reporter | ||
Comment 104•4 months ago
|
||
It is broken for Firefox Linux Wayland (works fine in X11 session).
https://bugzilla.mozilla.org/show_bug.cgi?id=1827615
Could someone take a look, please?
Description
•