You are not logged in.

#1 2015-01-24 02:17:34

budkin
Member
Registered: 2015-01-24
Posts: 15

Gnome-sudoku doesn't show the grid

Hi! I have a problem with sudoku game. You can see it on the screenshot
gnome-sudoku

Offline

#2 2015-01-24 10:19:03

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Gnome-sudoku doesn't show the grid

Hello
Yes I can see a badly drawn grid, but what I can't guess is if it worked before and stopped to after an upgrade, if you see drawing problems with other graphical applis, your graphical driver, and so on.
As an aside note, I play sudoku with the AUR sudoku-savant package, which is good in my opinion; did you try it?

Offline

#3 2015-01-24 11:22:16

budkin
Member
Registered: 2015-01-24
Posts: 15

Re: Gnome-sudoku doesn't show the grid

Thank you for the response. No, I don't have any problems with other graphical apps. My laptop is powered by Nvidia Optimus, so I have two video cards, I tried playing the game with both and the results are the same. It's a fresh install, so I've never updated yet

I prefer gnome-sudoku, I like it better aesthetically

Offline

#4 2015-01-24 16:19:05

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Gnome-sudoku doesn't show the grid

Did you try to change the theme in Gnome?

Offline

#5 2015-01-25 02:05:45

budkin
Member
Registered: 2015-01-24
Posts: 15

Re: Gnome-sudoku doesn't show the grid

No, I didn't try that, I don't use Gnome, I'm on XFCE

I changed the theme in Settings -> Appearance -> Style and it worked! I had the Greybird-master theme previously which can be found here. It's the default theme on Xubuntu, I like it and don't want to change. What should I do?

Last edited by budkin (2015-01-25 02:14:50)

Offline

#6 2015-01-25 16:08:56

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Gnome-sudoku doesn't show the grid

How did you install the Greybird-master theme?
Xfce4 is gtk2 dependent and gnome-sudoku is a gtk3 appli, so I am surprised that changing the theme in Xfce worked for the gnome game.
All this is not very clear to me.

Personally I use some gtk3 applis and I have this '$HOME/.config/gtk-3.0/settings.ini' file:

[Settings]
gtk-theme-name = oxygen-gtk
gtk-font-name = DejaVu Sans 10
gtk-icon-theme-name= oxygen
gtk-fallback-icon-theme = gnome

The theme comes from the oxygen-gtk3 package which is installed like that:

$ pacman -Ql oxygen-gtk3
oxygen-gtk3 /usr/
oxygen-gtk3 /usr/bin/
oxygen-gtk3 /usr/bin/oxygen-gtk3-demo
oxygen-gtk3 /usr/lib/
oxygen-gtk3 /usr/lib/gtk-3.0/
oxygen-gtk3 /usr/lib/gtk-3.0/3.0.0/
oxygen-gtk3 /usr/lib/gtk-3.0/3.0.0/theming-engines/
oxygen-gtk3 /usr/lib/gtk-3.0/3.0.0/theming-engines/liboxygen-gtk.so
oxygen-gtk3 /usr/share/
oxygen-gtk3 /usr/share/themes/
oxygen-gtk3 /usr/share/themes/oxygen-gtk/
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/argb-apps.conf
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/gtk-csd.css
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/gtk-spinner.css
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/gtk.css
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/icons4
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/kdeglobals
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/oxygenrc
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/special-icons/
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/special-icons/standardbutton-closetab-16.png
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/special-icons/standardbutton-closetab-down-16.png
oxygen-gtk3 /usr/share/themes/oxygen-gtk/gtk-3.0/special-icons/standardbutton-closetab-hover-16.png

If you install your theme manually, you can do something like that for the gtk3 part of the theme.
Don't forget the necessary engine of the theme:

Dependencies of gtk3.2-branch (for Gtk3.2)
– gtk2-engines-murrine (v0.90)
- gtk3-engines-unico (v1.0.1)

As an aside again here is a screenshot of sudoku-savant:
sudoku-savant game
I don't find that so ugly and there is a solver and the 'expert' level is pretty hard to solve.

Last edited by berbae (2015-01-25 16:12:07)

Offline

#7 2015-01-25 16:44:28

nagaseiori
Member
Registered: 2012-09-22
Posts: 72

Re: Gnome-sudoku doesn't show the grid

Did you change the window scaling at all? Use gnome-tweak-tool to check.

Offline

#8 2015-01-26 06:08:57

budkin
Member
Registered: 2015-01-24
Posts: 15

Re: Gnome-sudoku doesn't show the grid

I installed the theme via AUR.

>$HOME/.config/gtk-3.0/settings.ini
I didn't have that file, but even when I created it and filled it with what you provided and installed the oxygen-gtk3 theme nothing changed. I have both unico and murrine engines installed.

>Did you change the window scaling at all? Use gnome-tweak-tool to check.
No, I didn't change anything except the theme. It's a fresh install, I would remember for sure if I changed something like that

Offline

#9 2015-01-26 15:46:43

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Gnome-sudoku doesn't show the grid

I installed gnome-sudoku and I made some tests in my openbox environment.

Without a settings.ini file, gnome-sudoku uses the default gtk3 theme:
gnome-sudoku default gtk3 theme
It looks good.
With the settings.ini posted above, the game uses the oxygen-gtk3 theme as expected:
gnome-sudoku oxygen-gtk3 theme
It looks good too.

Then I built and installed the Greybird-master theme from AUR;
I use the settings.ini file changing the line for the theme to:
gtk-theme-name = Greybird
gnome-sudoku Greybird gtk3 theme
Then I get the same bad looking as you in your first post.

(I reduced the screenshots size by half)

So my conclusion is that the Greybird gtk3 theme is the culprit, and you can report it as a bug to the developers upstream.

I don't see another solution than to use another gtk3 theme for the gnome-sudoku game.
Greetings.

Offline

#10 2015-01-28 13:25:43

budkin
Member
Registered: 2015-01-24
Posts: 15

Re: Gnome-sudoku doesn't show the grid

Thank you, berbae

Offline

Board footer

Powered by FluxBB