RESOLVED INVALID 56822
[Qt][Symbian] Part of the border of icon-box/image gets cut-off for a while
https://bugs.webkit.org/show_bug.cgi?id=56822
Summary [Qt][Symbian] Part of the border of icon-box/image gets cut-off for a while
vijaysharma
Reported 2011-03-22 03:30:22 PDT
Created attachment 86452 [details] Sample code and gif to demonstrate the issue Steps to reproduce this issue with attached code. 1. Open the attached index.html 3. Tap smiley box to focus that element 4. Tap "Press me" box Observed behavior: A part of the border of icon box gets cut-off for a while. Expected behavior: Border should be solid as long it is visible. Please have a look at attached gif for better understanding of the issue. Note: Make sure that you really tap the "Press me" box. Otherwise this issue cannot be reproduce.
Attachments
Sample code and gif to demonstrate the issue (60.70 KB, application/x-zip-compressed)
2011-03-22 03:30 PDT, vijaysharma
no flags
Patch proposal (2.49 KB, patch)
2011-05-02 01:27 PDT, Johannes Oikarinen
no flags
Joel Parks
Comment 1 2011-03-22 16:03:23 PDT
adding InTSW keyword for tracking by QtWebKit EM blocks 55056 = targeting QtWebKit 2.2
Joel Parks
Comment 2 2011-03-22 16:06:44 PDT
sandhya.a
Comment 3 2011-03-28 22:28:46 PDT
Hi Joel, This MUST be fixed for 1.3 Vasco PS2. Usecase : Check box comes in Sign-up & Sign-in pages.
Johannes Oikarinen
Comment 4 2011-04-20 07:42:38 PDT
RenderBox::repaintLayerRectsForImage might be the cause of the problem. This function is called in cases where the borders are defined and the borders are larger than the background image. The problem is that the function calculates the update area to be only the size of the background image, but doesn't include the borders. This causes the cut-off of the border image. Instead, giving the border rectangle as update area won't cause the cut-off.
Joe Wild
Comment 5 2011-04-26 14:11:01 PDT
This sample code test case works fine for my on Symbian 15.05 (w15) Vasco. So it looks like I have to continue to investigate on PS2.
Janne Koskinen
Comment 6 2011-04-27 02:17:05 PDT
(In reply to comment #5) > This sample code test case works fine for my on Symbian 15.05 (w15) Vasco. > > So it looks like I have to continue to investigate on PS2. Johannes is on vacation, but he showed me what the issue is and yes the image was eventually drawn correctly in week 13 image where he tested. What you can see is that it is drawn twice if clicked on the "press me" - button. First draw happens on focus loss and second draw on button down state of "press me". And in the first draw the borders are corrupted. Also the fix suggestion is correct, draw invalidate rectangle should not be calculated from the border image as it is not in correct scale.
Johannes Oikarinen
Comment 7 2011-05-02 01:27:20 PDT
Created attachment 91897 [details] Patch proposal
Laszlo Gombos
Comment 8 2011-06-06 07:52:28 PDT
Is this issue really specific to Symbian or QtWebKit ?
sandhya.a
Comment 9 2011-06-06 21:56:13 PDT
This issue is related to QtWebKit
Jocelyn Turcotte
Comment 10 2014-02-03 03:17:25 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.