Bug 286927 - kmahjongg select the wrong Stone if i click on the shadow of another stone
Summary: kmahjongg select the wrong Stone if i click on the shadow of another stone
Status: RESOLVED FIXED
Alias: None
Product: kmahjongg
Classification: Applications
Component: general (show other bugs)
Version: 0.8
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Mauricio Piacentini
URL:
Keywords:
: 188357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-18 14:29 UTC by Christian Krippendorf
Modified: 2011-12-14 14:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Solved the bug. (2.32 KB, patch)
2011-11-18 14:29 UTC, Christian Krippendorf
Details

Note You need to log in before you can comment on or make changes to this 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. ***