Bug 266766 - [PATCH] Painting issues in Task Editor
Summary: [PATCH] Painting issues in Task Editor
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-rememberthemilk (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 22:55 UTC by Alexey Chernov
Modified: 2011-06-12 00:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch which fixes the bug (534 bytes, patch)
2011-02-20 23:01 UTC, Alexey Chernov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Chernov 2011-02-20 22:55:37 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

Task Editor part is painted with stroking vertical and horizontal black lines when hovering the option with mouse (see the screenshot). I've tested it on ATI (radeon driver), Intel (both with 2D) and NVIDIA (proprietary driver) with 3D.

Reproducible: Always

Steps to Reproduce:
1. Open a task.
2. Move the mouse all over the form.
3. Notice black lines appearing and disappearing here and there.
Comment 1 Alexey Chernov 2011-02-20 22:58:22 UTC
The problem is in TaskEditor::paint function. It uses partial repainting to optimize the process but don't void the painter's pen (according to documentation it's QPalette::Text color which is black usually). So the boundaries of repainted areas are painted with black lines.
The patch with the fix is attached.
Comment 2 Alexey Chernov 2011-02-20 23:01:50 UTC
Created attachment 57407 [details]
Patch which fixes the bug
Comment 3 Alexey Chernov 2011-03-13 19:38:20 UTC
Git commit 1caa2e69f94f9e2fd4c6fd24dfcceacfa356d479 by Alexey Chernov.
Committed on 13/03/2011 at 19:09.
Pushed by chernov into branch 'master'.

Set NoPen for painter in TaskEditor
BUG: 266766

M  +1    -0    applets/rememberthemilk/taskeditor.cpp     

http://commits.kde.org/kdeplasma-addons/1caa2e69f94f9e2fd4c6fd24dfcceacfa356d479
Comment 4 Alexey Chernov 2011-03-13 20:38:22 UTC
Git commit b70e638e929383517ac605854eab607cff25c20e by Alexey Chernov.
Committed on 13/03/2011 at 20:35.
Pushed by chernov into branch 'KDE/4.6'.

Set NoPen for painter in TaskEditor
BUG: 266766

M  +1    -0    applets/rememberthemilk/taskeditor.cpp     

http://commits.kde.org/kdeplasma-addons/b70e638e929383517ac605854eab607cff25c20e
Comment 5 Alexey Chernov 2011-06-12 00:47:46 UTC
Git commit fac18d84b0cfd9af86a1dc37d553b950775aec7d by Alexey Chernov.
Committed on 13/03/2011 at 19:09.
Pushed by chernov into branch '4.6'.

Set NoPen for painter in TaskEditor
BUG: 266766

M  +1    -0    applets/rememberthemilk/taskeditor.cpp     

http://commits.kde.org/kdeplasma-addons/fac18d84b0cfd9af86a1dc37d553b950775aec7d