After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731140 - Restore original behavior of "warn about unfillable squares"
Restore original behavior of "warn about unfillable squares"
Status: RESOLVED FIXED
Product: gnome-sudoku
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-sudoku-maint
gnome-sudoku-maint
Depends on:
Blocks:
 
 
Reported: 2014-06-03 02:57 UTC by Michael Catanzaro
Modified: 2014-06-26 20:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Restore original behavior of "warn about unfillable squares" (965 bytes, patch)
2014-06-15 10:58 UTC, Parin Porecha
needs-work Details | Review
Not working (34.01 KB, image/png)
2014-06-16 19:54 UTC, Mario Wenzel
  Details
autosave file (4.97 KB, text/plain)
2014-06-24 23:05 UTC, Michael Catanzaro
  Details
screenshot of new version (24.09 KB, image/png)
2014-06-24 23:06 UTC, Michael Catanzaro
  Details
screenshot of original version (45.01 KB, image/png)
2014-06-24 23:07 UTC, Michael Catanzaro
  Details
Restore original behavior of "warn about unfillable squares" (1.20 KB, patch)
2014-06-26 16:41 UTC, Parin Porecha
committed Details | Review

Description Michael Catanzaro 2014-06-03 02:57:20 UTC
Currently we show the word None in red text when warnings are on and a square is unfillable. I prefer the big red X from the Python version, it's much more clear.
Comment 1 Parin Porecha 2014-06-15 10:58:57 UTC
Created attachment 278481 [details] [review]
Restore original behavior of "warn about unfillable squares"

Patch shows 'X' instead of None - http://i.imgur.com/Brb5hrj.png
Comment 2 Mario Wenzel 2014-06-16 19:47:50 UTC
Do we have any chance of reproducing that easily?
Comment 3 Mario Wenzel 2014-06-16 19:54:33 UTC
Created attachment 278556 [details]
Not working

Somehow, it doesn't work for me (there are a few unfillable squares) and also my color is borked.

This may be another issue with a non-dark theme.
Comment 4 Parin Porecha 2014-06-24 17:33:48 UTC
(In reply to comment #3)
> Created an attachment (id=278556) [details]
> Not working
> 
> Somehow, it doesn't work for me (there are a few unfillable squares) and also
> my color is borked.
> 
> This may be another issue with a non-dark theme.

This isn't a problem with this patch.
Maybe in the detecting an unfillable square implentation, but since thats out of this bug's scope I'll try to reproduce it and file a bug.
Comment 5 Parin Porecha 2014-06-24 17:42:31 UTC
and can you or Michael please review it ?

Thanks !
Comment 6 Mario Wenzel 2014-06-24 21:48:59 UTC
Without beeing able to reproduce the feature? What happens with different font and DPI settings? I can't test that for functionality. Using fonts sounds "dangerous" to me, that's why I wanted to test it beforehand.
Comment 7 Michael Catanzaro 2014-06-24 23:05:26 UTC
Created attachment 279161 [details]
autosave file

Place in ~/.local/share/gnome-sudoku

Works for me.  Mario, are you sure you had this option enabled?  It's in the app menu.  If you're sure, please file a different bug.
Comment 8 Michael Catanzaro 2014-06-24 23:06:18 UTC
Created attachment 279162 [details]
screenshot of new version
Comment 9 Michael Catanzaro 2014-06-24 23:07:26 UTC
Created attachment 279163 [details]
screenshot of original version
Comment 10 Michael Catanzaro 2014-06-24 23:08:21 UTC
Review of attachment 278481 [details] [review]:

I like this, but I think it would look better if the X was smaller, like in 3.12.
Comment 11 Parin Porecha 2014-06-26 16:41:49 UTC
Created attachment 279321 [details] [review]
Restore original behavior of "warn about unfillable squares"

Patch updated.

Here's how the 'X' looks now - http://i.imgur.com/sSW2M6j.png
Comment 12 Michael Catanzaro 2014-06-26 18:11:17 UTC
Review of attachment 279321 [details] [review]:

Yay!
Comment 13 Parin Porecha 2014-06-26 20:33:37 UTC
Comment on attachment 279321 [details] [review]
Restore original behavior of "warn about unfillable squares"

Pushed as fa4db02