Bug 346143

Summary: Allow all similar number to be highlighted
Product: [Applications] ksudoku Reporter: tbohaning
Component: generalAssignee: Ian Wadham <iandw.au>
Status: RESOLVED FIXED    
Severity: wishlist CC: aacid, codestruct, kde-games-bugs-null, roy, tbohaning
Priority: NOR    
Version First Reported In: 1.2.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.12.0
Sentry Crash Report:
Attachments: attachment-3298506-0.html

Description tbohaning 2015-04-13 16:43:08 UTC
HI,

I'd like to ask if you could modify ksudoku to highlight all of the same numbers when one of the numbers on the left side is right clicked.

For example, if I were to right click the number 5 in the left column of numbers this would cause all of the 5's to highlight.

This would help when I'm looking over the puzzle.

Reproducible: Always
Comment 1 Roy Wright 2025-04-03 00:03:40 UTC
Please check if this is what you had in mind:  https://invent.kde.org/games/ksudoku/-/merge_requests/39
Comment 2 tbohaning 2025-04-03 01:45:39 UTC
Created attachment 179954 [details]
attachment-3298506-0.html

Hi Roy,

That was exactly what I was looking for.

Thanks!

On Wed, Apr 2, 2025 at 6:03 PM Roy Wright <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=346143
>
> --- Comment #1 from Roy Wright <roy@wright.org> ---
> Please check if this is what you had in mind:
> https://invent.kde.org/games/ksudoku/-/merge_requests/39
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
Comment 3 Albert Astals Cid 2025-08-15 09:54:28 UTC
Git commit 47e301afe85327863de19941e1859cec8c9deb97 by Albert Astals Cid, on behalf of Roy Wright.
Committed on 15/08/2025 at 09:54.
Pushed by aacid into branch 'master'.

Add option to highlight cells with the selected value. 
Related: bug 217324

M  +13   -0    src/gui/configgame.ui
M  +4    -0    src/gui/ksudoku.kcfg
M  +10   -8    src/gui/views/renderer.cpp
M  +2    -1    src/gui/views/renderer.h
M  +40   -0    src/gui/views/view2d.cpp
M  +1    -0    src/gui/views/view2d.h

https://invent.kde.org/games/ksudoku/-/commit/47e301afe85327863de19941e1859cec8c9deb97