Bug 286927

Summary: kmahjongg select the wrong Stone if i click on the shadow of another stone
Product: [Applications] kmahjongg Reporter: Christian Krippendorf <CerebrosuS>
Component: generalAssignee: Mauricio Piacentini <piacentini>
Status: RESOLVED FIXED    
Severity: normal CC: CerebrosuS, kde-games-bugs, milamby
Priority: NOR    
Version: 0.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Solved the bug.

Description Christian Krippendorf 2011-11-18 14:29:41 UTC
Created attachment 65817 [details]
Solved the bug.

Version:           0.8 (using KDE 4.7.3) 
OS:                Linux

kmahjongg display different tiles which throws shadown over other stone. If i want to click on a stone and click on the shadow of another stone (that is placed on the stone i want to select) the stone throwing the shadow gets selected.

Reproducible: Always

Steps to Reproduce:
Find two Stones that are side by side and have a different depth of 1. The click on the shadow that is over the other stone.

Actual Results:  
The stone i want to sleected should select.

Expected Results:  
The stone the shadow is from gets selected.

I added a diff file which solved the bug.
Comment 1 Christian Krippendorf 2011-12-14 11:06:18 UTC
SVN commit 1268717 by krippendorf:

BUG: 286927
FIXED-IN: KDE SC 4.8
REVIEW: 6839

Fixes selecting the wrong stone if clicking on a shadow of a stone.



 M  +46 -0     boardwidget.cpp  
 M  +8 -0      boardwidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1268717
Comment 2 Frederik Schwarzer 2011-12-14 14:26:42 UTC
*** Bug 188357 has been marked as a duplicate of this bug. ***