I just restarted Firefox with add-ons disabled. The behaviour is the same: it misses the third occurrence of “addEventListener” (using Ctrl+g), and the 8th, 13th, and 16th for “function”, but no miss for “Sw”. As far as I can tell, the behaviour is the same whether add-ons are on or not. This was unexpected.
Something interesting that I did not notice before: I searched for “addEventListener” three times, to get to the fourth occurrence of it, then started searching for “function”. The next occurrence of “function” is then the 16th one, and it did reach it. When pressing Ctrl+G, it however missed the 17th to go directly to the first. Then, going through the loop of Ctrl+G reaches all occurrences except the 8th, 13th, and 16th, as before. So there is nothing special about the number 16 when looking for “function”: it only misses it when starting from the first occurrence. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1835467 Title: Repeatingly looking for the next occurrence of a word search in a webpage misses one occurrence. Status in firefox package in Ubuntu: Incomplete Bug description: Hi, This is probably the most unexpected bug that I have ever seen. Fortunately, it is benign. How to reproduce: - Go to the webpage https://www.w3schools.com/howto/howto_js_autocomplete.asp - Type Ctrl+f to look for a word through the webpage. - Search for addEventListener. Firefox successfully found 4 occurrences on the webpage. - Using the arrows next to the search box, loop through all occurrences. Firefox then jumps to the following occurrences, in order: 1. inp.addEventListener("input", function(e) { 2. b.addEventListener("click", function(e) { 3. inp.addEventListener("keydown", function(e) { (In my screen is, it was hidden by the message about cookies: scrolling down by 1cm makes it appear.) 4. document.addEventListener("click", function (e) { 5. First occurrence again: inp.addEventListener("input", function(e) { 6. Second occurrence again: b.addEventListener("click", function(e) { 7. Firefox then directly jumps to the fourth occurrence, missing the third one: document.addEventListener("click", function (e) { 8. (goes back to 5). In other words, although the first cycle through all occurrences was correct, the following cycles completely miss the third occurrence! I have restarted Firefox and still get this behaviour. If instead of clicking on the “down” arrow to look for the second occurrence one looks backwards with the “up” arrow, then it is “b.addEventListener("click", function(e) {” instead of “inp.addEventListener("keydown", function(e) {” which is missing from the loop: it seems that whenever cycling through all occurrences of a search in a webpage, if there are only four occurrences, then the third one is never reached except in the first cycle. I am sending a screenshot of the situation. This is a very unexpected behaviour, but of very minor consequence: there is no need to place a high level of importance for this bug, I guess. Regards, Martin. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: firefox 67.0.4+build1-0ubuntu0.18.04.1 ProcVersionSignature: Ubuntu 4.15.0-54.58-generic 4.15.18 Uname: Linux 4.15.0-54-generic x86_64 AddonCompatCheckDisabled: False AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.15.0-54-generic. ApportVersion: 2.20.9-0ubuntu7.6 Architecture: amd64 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: martin 1585 F.... pulseaudio BuildID: 20190620092152 Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0x90910000 irq 95' Mixer name : 'Realtek ALC233' Components : 'HDA:10ec0235,17aa3825,00100002 HDA:80862882,80860101,00100000' Controls : 33 Simple ctrls : 14 Channel: Unavailable CurrentDesktop: LXDE Date: Thu Jul 4 23:24:35 2019 Extensions: extensions.sqlite corrupt or missing ForcedLayersAccel: False IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) InstallationDate: Installed on 2016-12-05 (941 days ago) InstallationMedia: Lubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) IpRoute: default via 192.168.1.1 dev wlp4s0 proto dhcp metric 600 192.168.1.0/24 dev wlp4s0 proto kernel scope link src 192.168.1.3 metric 600 Locales: extensions.sqlite corrupt or missing MostRecentCrashID: bp-7e1f310f-034d-4a7b-b742-54df41180319 Plugins: Shockwave Flash - /usr/lib/flashplugin-installer/libflashplayer.so PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:1151 PrefSources: prefs.js Profiles: Profile0 (Default) - LastVersion=67.0.4/20190620092152 (In use) RunningIncompatibleAddons: False SourcePackage: firefox SubmittedCrashIDs: bp-7e1f310f-034d-4a7b-b742-54df41180319 bp-daebd85b-34c2-4ab9-88ea-1fc091180208 bp-dd2282e2-f0cb-47f7-a13a-a16c20180102 Themes: extensions.sqlite corrupt or missing UpgradeStatus: Upgraded to bionic on 2018-08-29 (309 days ago) dmi.bios.date: 01/12/2016 dmi.bios.vendor: LENOVO dmi.bios.version: CCCN19WW(V2.05) dmi.board.asset.tag: NO Asset Tag dmi.board.name: Lenovo B50-10 dmi.board.vendor: LENOVO dmi.board.version: SDK0J40700 WIN dmi.chassis.asset.tag: NO Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo B50-10 dmi.modalias: dmi:bvnLENOVO:bvrCCCN19WW(V2.05):bd01/12/2016:svnLENOVO:pn80QR:pvrLenovoB50-10:rvnLENOVO:rnLenovoB50-10:rvrSDK0J40700WIN:cvnLENOVO:ct10:cvrLenovoB50-10: dmi.product.family: IDEAPAD dmi.product.name: 80QR dmi.product.version: Lenovo B50-10 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1835467/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp