Bug 459856 - I discovered the game while playing on a laptop using the touchpad. When I hover over a number the area around the short one I want to open, then you do this by double-clicking on the touch and or dragging, then sometimes neighboring areas simply disappea
Summary: I discovered the game while playing on a laptop using the touchpad. When I ho...
Status: REPORTED
Alias: None
Product: kmines
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.0.21123
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Suzdalev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-30 12:27 UTC by Anchar
Modified: 2022-10-09 22:06 UTC (History)
3 users (show)

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


Attachments
The screenshot shows an example, I clicked on 1 under the mine and 2 opened and the cell next to 2 also became invisible. (10.29 KB, image/png)
2022-09-30 12:27 UTC, Anchar
Details
another example of the neighboring tile mine count being wrong (308.01 KB, image/png)
2022-10-07 00:51 UTC, dacoch215@estudiantec.cr
Details
Screenshot of wrong mine count (279.11 KB, image/png)
2022-10-09 08:32 UTC, dacoch215@estudiantec.cr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anchar 2022-09-30 12:27:38 UTC
Created attachment 152518 [details]
The screenshot shows an example, I clicked on 1 under the mine and 2 opened and the cell next to 2 also became invisible.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
When I try right-click to automatically open empty areas where there are definitely no mines, some of the cells with and without mines, around the number, disappear - that is, only the background of the program is visible. After a few more clicks on neighboring cells, the disappeared cells are displayed again.

OBSERVED RESULT
I cells with mines or without properly disappear, the background of the application remains.

EXPECTED RESULT
I cells with or without mines to open.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Anchar 2022-09-30 12:29:52 UTC
I apologize in advance if I'm filling out the bug report incorrectly.
Comment 2 dacoch215@estudiantec.cr 2022-10-07 00:51:38 UTC
Created attachment 152625 [details]
another example of the neighboring tile mine count being wrong
Comment 3 dacoch215@estudiantec.cr 2022-10-07 00:52:49 UTC
(In reply to dacoch215@estudiantec.cr from comment #2)
> Created attachment 152625 [details]
> another example of the neighboring tile mine count being wrong

I'm seeing this in manjaro, kmines version 4.0.22081
Comment 4 Albert Astals Cid 2022-10-07 20:45:09 UTC
(In reply to dacoch215@estudiantec.cr from comment #2)
> Created attachment 152625 [details]
> another example of the neighboring tile mine count being wrong

What's wrong?
Comment 5 dacoch215@estudiantec.cr 2022-10-08 02:24:54 UTC
(In reply to Albert Astals Cid from comment #4)
> (In reply to dacoch215@estudiantec.cr from comment #2)
> > Created attachment 152625 [details]
> > another example of the neighboring tile mine count being wrong
> 
> What's wrong?

near the mine that ended the game there's a tile with 1, but it should have a 2, because 2 of the 8 neighboring tiles have mines
Comment 6 Albert Astals Cid 2022-10-08 23:32:06 UTC
(In reply to dacoch215@estudiantec.cr from comment #5)
> (In reply to Albert Astals Cid from comment #4)
> > (In reply to dacoch215@estudiantec.cr from comment #2)
> > > Created attachment 152625 [details]
> > > another example of the neighboring tile mine count being wrong
> > 
> > What's wrong?
> 
> near the mine that ended the game there's a tile with 1, but it should have
> a 2, because 2 of the 8 neighboring tiles have mines

Can you please point with the tile with an arrow so i can see which one you think it's wrong?
Comment 7 dacoch215@estudiantec.cr 2022-10-09 08:32:42 UTC
Created attachment 152655 [details]
Screenshot of wrong mine count

of the 8 green neighbors, 2 are mines, so the count should be 2, right?
Comment 8 Albert Astals Cid 2022-10-09 21:12:24 UTC
(In reply to dacoch215@estudiantec.cr from comment #7)
> Created attachment 152655 [details]
> Screenshot of wrong mine count
> 
> of the 8 green neighbors, 2 are mines, so the count should be 2, right?

There's only 1 neighbor that is a mine, the mine that has an X over the mine isn't you made a mistake there.
Comment 9 dacoch215@estudiantec.cr 2022-10-09 22:06:08 UTC
(In reply to Albert Astals Cid from comment #8)
> (In reply to dacoch215@estudiantec.cr from comment #7)
> > Created attachment 152655 [details]
> > Screenshot of wrong mine count
> > 
> > of the 8 green neighbors, 2 are mines, so the count should be 2, right?
> 
> There's only 1 neighbor that is a mine, the mine that has an X over the mine
> isn't you made a mistake there.

I think I misunderstood the X over the mine, which I guess means there wasn't a mine there, so in my screenshot I did click on a mine, but the original screenshot by Anchar does show a miscount, there's a 2, when it should be a 1