Bug 223450

Summary: background "Plain Color" has no Preview
Product: [Applications] kmahjongg Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: Mauricio Piacentini <piacentini>
Status: RESOLVED FIXED    
Severity: normal CC: kde-games-bugs
Priority: NOR    
Version First Reported In: 0.8   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Toralf Förster 2010-01-19 20:23:43 UTC
Version:           0.8 (using 4.3.3 (KDE 4.3.3), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.32.4

Go to 
Settings -> Configure - KMahjongg -> Background

BTW "Description" is empty too.
Comment 1 Toralf Förster 2010-04-20 20:06:58 UTC
Same in 4.4.2, the preview from the previously choosen background instead is displayed which might confuse people.
Comment 2 Stefan Majewsky 2010-08-23 11:34:13 UTC
SVN commit 1167011 by majewsky:

Fix rendering of color_plain background in kmahjongg, kshisen, and libkmahjongg.

In the process, I had to remove the manual double-buffering from
KShisen's Board class, in order to make the painting work in cases
without a background brush. This is not so bad, however, because Qt has
internal double-buffering since quite some time.

Also, add a "Description" on libkmahjongg/backgrounds/color_plain.desktop

BUG: 223450

 M  +2 -8      kshisen/src/board.cpp  
 M  +4 -4      libkmahjongg/backgrounds/color_plain.desktop  
 M  +17 -2     libkmahjongg/kmahjonggbackground.cpp  
 M  +5 -0      libkmahjongg/kmahjonggbackgroundselector.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1167011