https://bugs.kde.org/show_bug.cgi?id=422862
Bug ID: 422862
Summary: SVG gradient inside ellipse does not work in all
cases.
Product: konqueror
Version: 5.0.97
Platform: Kubuntu Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: khtml svg
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 129252
--> https://bugs.kde.org/attachment.cgi?id=129252&action=edit
HTML file to reproduce bug, and to show correct operation
SUMMARY
STEPS TO REPRODUCE
1.
2.
3.
OBSERVED RESULT
<!-- WORKS: cx="20%" cy="30%" r="37%" fx='50%' fy="50%" -->
<!-- FAILS: cx="20%" cy="30%" r="36%" fx='50%' fy="50%" -->
<radialGradient id="grad2" cx="20%" cy="30%" r="37%" fx='50%' fy="50%">
Using the Parameters above marked "FAILS:" (Note r="36%") the gradient appears
as a flat "pie chart" sort of thing.
EXPECTED RESULT
Ellipse containing a "headlights on the road" internal ellipse gradient. Using
the Parameters above marked "WORKS:" (Note r="37%") the gradient appears as
expected.
OK, I'm not a great mathematician. I may be doing something wrong, but I don't
see how. I change the angle of the gradient by 1 degree and it fails. This is
the entire HTML I'm using (I'm learning how to use SVG, and I believe in
learning it old school - writing the code without an IDE.).
Is it some kind of degrees-to-Radians mistake? or is it a legit bug?
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: 5.12.9
(available in About System) <<== Doesn't allow copy-paste from the INFO.
<<== So I had to type in all the numbers by hand.
Why was this one display made uncopyable?????????
KDE Plasma Version: 5.12.9
KDE Frameworks Version:5.44.0
Qt Version: Qt: 5.9.5
Kernel: 5.3.0-59-generic
OS Type: 64-bit
Processors: 8 x Intel Core i5-8265U
Konqueror: Version 5.0.97
ADDITIONAL INFORMATION
"About KDE" in Konqueror help menu doesn't show version.
--
You are receiving this mail because:
You are watching all bug changes.