Bug 272550 - Benchmark - Failure to give focus to anchors, not triggering event listeners
Summary: Benchmark - Failure to give focus to anchors, not triggering event listeners
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml part (show other bugs)
Version: 4.4.2
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 18:08 UTC by John A. Bilicki III
Modified: 2018-11-08 23:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Minimal testcase of the benchmark. (23.64 KB, application/xhtml+xml)
2011-05-05 18:15 UTC, John A. Bilicki III
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John A. Bilicki III 2011-05-05 18:08:49 UTC
Version:           4.4.2 (using KDE 4.4.5) 
OS:                Linux

The benchmark tests how quickly a browser can give focus to each anchor on the
color pallet, when focus is given an event listener is supposed to be
triggered.

Konqueror now fails to either trigger the event listeners or perhaps even give
focus to the anchors.

Reproducible: Always

Steps to Reproduce:
Run the benchmark.

Actual Results:  
Konqueror does not give focus to anchors and therefore does not trigger their associated event listeners.

Expected Results:  
Each anchor should be given focus and the background-color should change. I've uploaded a demonstration video displaying Firefox 3.6 passing the benchmark, Opera 11.1 skipping anchors and failing and other browsers outright failing the benchmark here...
http://www.youtube.com/watch?v=q8YMpzeNwJs

To emulate what the benchmark should look like manually go to the editor, enable advanced controls, enable the keypress event and tab through. Unfortunately Konqueror does not actually trigger the focus event so   when tabbing through the color pallet anchors you'll have to press enter each time, at least in the version that I have.
Comment 1 John A. Bilicki III 2011-05-05 18:15:25 UTC
Created attachment 59658 [details]
Minimal testcase of the benchmark.

A simplified version of the benchmark. Opera 11.1 blasts through this correctly, Firefox 3.6 executes it competently and other browsers fail to change the background-color except the last color which means the test fails. The test only passes if all the colors are applied visually.
Comment 2 Andrew Crouthamel 2018-11-05 03:18:31 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 John A. Bilicki III 2018-11-08 20:24:27 UTC
The benchmark is no longer up and I don't have the time to restore it. If I were working on bugs I would have given a bug with the word benchmark top priority as people take such criteria in to consideration when choosing which browser to use.

All I can do at this point is explain what happened. A while script would give focus to anchors. Each anchor should have had it's onfocus attribute trigger and that would have changed the background-color of the page. Only Firefox 3.6 and older (and I think (real) Opera at that time actually correctly triggered the focus event for the anchors.
Comment 4 Andrew Crouthamel 2018-11-08 21:16:05 UTC
Thanks for the update!
Comment 5 John A. Bilicki III 2018-11-08 23:55:48 UTC
No problem. Looks like I attached the benchmark as intended. I would test it in Firefox 3.6 to see what you should expect. Just look up Firefox FTP to find those older versions, they're not hidden like Chrome.