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 574118 - Resizing the window leaves some ugly artifact
Resizing the window leaves some ugly artifact
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: gnomine
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jason Clinton
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-04 16:49 UTC by Vincent Untz
Modified: 2009-08-24 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (11.16 KB, image/png)
2009-03-04 16:52 UTC, Vincent Untz
Details

Description Vincent Untz 2009-03-04 16:49:58 UTC
(smoketesting 2.25.92)

See screenshot. Could be an theming engine issue.
Comment 1 Vincent Untz 2009-03-04 16:52:18 UTC
Created attachment 130036 [details]
Screenshot
Comment 2 Thomas Andersen 2009-03-04 17:17:26 UTC
Looks to me like a clearlooks specific thing. I only see it there. I tried the following with no errors:
crux, darkroom, glider, glossy, human, and mist,

Comment 3 Matthias Clasen 2009-08-23 05:03:09 UTC
This is caused by the following code in gnomine.c:

  /* This is evil, but the normal button focus indicator 
   * interferes with the face (but we still want the button
   * to be the default). */
  gtk_rc_parse_string
    ("style \"gnomine\" { GtkButton::interior-focus = 0 } class \"GtkButton\" style \"gnomine\"");


Removing it has no obvious bad effect with current themes, and makes the redraw problems with Clearlooks go away.
Comment 4 Jason Clinton 2009-08-23 18:13:27 UTC
Looks sane to me. I'll commit your fix today.
Comment 5 Jason Clinton 2009-08-24 16:55:32 UTC
commit ede2f338ef9a2ac0a32f88561d5db40b28bcaa45
Author: Jason D. Clinton <me@jasonclinton.com>
Date:   Mon Aug 24 11:52:33 2009 -0500

    gnomine: Fix resizing button theme artifact, #574118, Matthias Clasen

diff --git a/gnomine/gnomine.c b/gnomine/gnomine.c
index 37567fe..f773a4f 100644
--- a/gnomine/gnomine.c
+++ b/gnomine/gnomine.c
@@ -1067,12 +1067,6 @@ main (int argc, char *argv[])
 
   verify_ranges ();
 
-  /* This is evil, but the normal button focus indicator 
-   * interferes with the face (but we still want the button
-   * to be the default). */
-  gtk_rc_parse_string
-    ("style \"gnomine\" { GtkButton::interior-focus = 0 } class \"GtkButton\" s
-
   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   gtk_window_set_title (GTK_WINDOW (window), _(APP_NAME_LONG));