Bug 441844 - Incorrect highlight of hint
Summary: Incorrect highlight of hint
Status: RESOLVED WORKSFORME
Alias: None
Product: kpat
Classification: Applications
Component: solver (other bugs)
Version First Reported In: 3.6
Platform: Slackware Linux
: NOR minor
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-01 07:10 UTC by brian.skeggs.uk+KDE
Modified: 2021-10-16 04:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot showing incorrect hint. (514.80 KB, image/png)
2021-09-01 07:10 UTC, brian.skeggs.uk+KDE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brian.skeggs.uk+KDE 2021-09-01 07:10:55 UTC
Created attachment 141205 [details]
Screenshot showing incorrect hint.

SUMMARY
It's only an invalid hint, so doesn't affect the game itself. See screenshot.

STEPS TO REPRODUCE
1. Play as normal.
2. Had "Winnable" showing.
3. Clicked the next set of cards to lay across. One set is still to play.
4. "Winnable" still showing.
5. Clicked "Hint". See screenshot.

OBSERVED RESULT
non-movable card suggested by Hint

EXPECTED RESULT
Moveable cards to be suggested.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: Platform Version 4.14.38
KDE Frameworks Version: 
Qt Version: qt-4.8.7-x86_64-4

ADDITIONAL INFORMATION
I had "Winnable" until the final set of cards was played when it went to "Unwinnable".
I was going back and forth trying to find sequence that didn't end up as "Unwinnable" when I spotted this bug.
=============================================
DETAIL

The card (5 Hearts) the hint suggests is behind a card of a different suit (8 Spades), so cannot be moved.

After taking both of the legitimate moves: -
   10 Spades to Jack Spades, (hint shows valid cards) undo
   Queen Spades to King Spades, (hint shows valid cards) undo
Then undo, redo to get back to the same position, "Unable to determine ..." shows instead of "Winnable" and the hint still includes the 5 Hearts.

By trying various sequences this bug eventually doesn't show. The game finished successfully.
Comment 1 Albert Astals Cid 2021-09-01 21:04:40 UTC
You're using something that is *mega old*.

Please update to something more relatively modern and see if it still is problematic, we can't fix decade old software anyway.
Comment 2 Bug Janitor Service 2021-09-16 04:35:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 brian.skeggs.uk+KDE 2021-09-16 08:01:45 UTC
(In reply to brian.skeggs.uk+KDE from comment #0)
> Created attachment 141205 [details]
> Screenshot showing incorrect hint.
> 
> SUMMARY
> It's only an invalid hint, so doesn't affect the game itself. See screenshot.
> 
> STEPS TO REPRODUCE
> 1. Play as normal.
> 2. Had "Winnable" showing.
> 3. Clicked the next set of cards to lay across. One set is still to play.
> 4. "Winnable" still showing.
> 5. Clicked "Hint". See screenshot.
> 
> OBSERVED RESULT
> non-movable card suggested by Hint
> 
> EXPECTED RESULT
> Moveable cards to be suggested.
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: Platform Version 4.14.38
> KDE Frameworks Version: 
> Qt Version: qt-4.8.7-x86_64-4
> 
> ADDITIONAL INFORMATION
> I had "Winnable" until the final set of cards was played when it went to
> "Unwinnable".
> I was going back and forth trying to find sequence that didn't end up as
> "Unwinnable" when I spotted this bug.
> =============================================
> DETAIL
> 
> The card (5 Hearts) the hint suggests is behind a card of a different suit
> (8 Spades), so cannot be moved.
> 
> After taking both of the legitimate moves: -
>    10 Spades to Jack Spades, (hint shows valid cards) undo
>    Queen Spades to King Spades, (hint shows valid cards) undo
> Then undo, redo to get back to the same position, "Unable to determine ..."
> shows instead of "Winnable" and the hint still includes the 5 Hearts.
> 
> By trying various sequences this bug eventually doesn't show. The game
> finished successfully.

This version is the one included with the current Slackware. I hadn't realised it is  *mega old* , sorry.
As I play frequently and this is the only time I've seen any problem in years of use, I will get around to updating.... one day.
Comment 4 Bug Janitor Service 2021-10-01 04:35:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-10-16 04:35:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!