Bug 120573

Summary: .gtk_qt_engine_rc unexpected character error
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Rodrigo Guerra <tioguerra>
Component: GNOMEAssignee: Lukas Tinkl <ltinkl>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: i386   
OS: SUSE Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Rodrigo Guerra 2005-10-06 04:05:05 UTC
This problem seems to do with Gtk Qt Theme Engine but I'm reporting separately
because I could see no connection to the description of bug 114770. There is
chance also of this being a problem with a third party, non-supported
application, in which case I apologise.

I upgraded from SUSE 9.2 to SUSE 10.0 RC1. In SUSE 9.2 I used to run the acrobat
reader 7.0 installed from rpms instead of the distribution supplied pdf reader.

Since I upgraded, when I try to run the acroread application I get the following
error message:
~> acroread
/home/guerra/.gtk_qt_engine_rc:33: error: unexpected character `{', expected
character `}'

And the application doesn't start.

I've checked the file .gtk_qt_engine_rc (which is appended in the end of the
message) and cannot find the supposed mismatching braces. Although, I found some
inconsistencies in the nested braces: sometimes the sub-braces in the nested
group are separated by comma whereas other times they are separated simply by
carriage return.

I have another computer running SUSE 9.2 and it seems to run despite the
inconsistency.

I've tried to separate all nested braces with comma instead of carriage return
and then I got no error messages anymore, but the application still didn't run.

If I delete the file, it is automatically re-generated and the error persists.
If I remove all lines of the file it doesn't complain but also doesn't work.

I've tried to re-install the application Acrobat Reader 7.0 both from rpm and
also using the tar.gz version and the problem is still there. I'm not sure if
the problem is with this application or with this Gtk Qt Theme Engine.

.gtk_qt_engine_rc :
# Outline, thinkeramik

# This file was generated by the Gtk Qt Theme Engine
# It will be recreated when you change your KDE icon theme or widget style

style "gtk-qt-dynamic-1" { GtkScrollbar::has-backward-stepper = 1 } widget_class
"*" style "gtk-qt-dynamic-1"
style "gtk-qt-dynamic-2" { GtkScrollbar::has-forward-stepper = 1 } widget_class
"*" style "gtk-qt-dynamic-2"
style "gtk-qt-dynamic-3" { GtkScrollbar::has-secondary-forward-stepper = 0 }
widget_class "*" style "gtk-qt-dynamic-3"
style "gtk-qt-dynamic-4" { GtkScrollbar::has-secondary-backward-stepper = 1 }
widget_class "*" style "gtk-qt-dynamic-4"
style "gtk-qt-dynamic-5" { GtkScrollbar::stepper-size = 16 } widget_class "*"
style "gtk-qt-dynamic-5"
style "gtk-qt-dynamic-6" { GtkScrollbar::min-slider-length = 15 } widget_class
"*" style "gtk-qt-dynamic-6"
style "gtk-qt-dynamic-7" { GtkScrollbar::slider-width = 14 } widget_class "*"
style "gtk-qt-dynamic-7"
style "gtk-qt-dynamic-8" { GtkButton::child-displacement-x = 0 } widget_class
"*" style "gtk-qt-dynamic-8"
style "gtk-qt-dynamic-9" { GtkButton::child-displacement-y = 1 } widget_class
"*" style "gtk-qt-dynamic-9"
style "gtk-qt-dynamic-10" { GtkScale::slider-length = 12 } widget_class "*"
style "gtk-qt-dynamic-10"
style "gtk-qt-dynamic-11" { GtkButton::default-border = { 0, 0, 0, 0 } }
widget_class "*" style "gtk-qt-dynamic-11"
style "gtk-qt-dynamic-12" { xthickness = 1 } widget_class "*.GtkMenu" style
"gtk-qt-dynamic-12"
style "gtk-qt-dynamic-13" { ythickness = 1 } widget_class "*.GtkMenu" style
"gtk-qt-dynamic-13"
style "gtk-qt-dynamic-14" { xthickness = 5 } widget_class
"*.GtkMenu.Gtk*MenuItem" style "gtk-qt-dynamic-14"
style "gtk-qt-dynamic-15" { xthickness = 3 } widget_class "*.GtkNotebook" style
"gtk-qt-dynamic-15"
style "gtk-qt-dynamic-16" { ythickness = 3 } widget_class "*.GtkNotebook" style
"gtk-qt-dynamic-16"
style "gtk-qt-dynamic-17" { ythickness = 1 } widget_class "*.GtkButton" style
"gtk-qt-dynamic-17"

pixmap_path "/home/guerra/.kde//share/icons/Outline/"

style "KDE-icons" {
stock["gtk-cdrom"]={
	{ "32x32/devices/cdrom_unmount.png", *, *, "gtk-dnd" },
	{ "32x32/devices/cdrom_unmount.png", *, *, "gtk-dialog" }
}
stock["gtk-copy"]={
	{ "22x22/actions/editcopy.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/editcopy.png" }
}
stock["gtk-cut"]={
	{ "22x22/actions/editcut.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/editcut.png" }
}
stock["gtk-dnd"]={
	{ "32x32/mimetypes/empty.png", *, *, "gtk-dnd" },
	{ "32x32/mimetypes/empty.png", *, *, "gtk-dialog" },
	{ "16x16/mimetypes/empty.png", *, *, "gtk-button" },
	{ "16x16/mimetypes/empty.png", *, *, "gtk-menu" },
	{ "16x16/mimetypes/empty.png", *, *, "gtk-small-toolbar" }
}
stock["gtk-find"]={
	{ "22x22/actions/find.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/find.png" }
}
stock["gtk-go-back"]={
	{ "22x22/actions/back.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/back.png" }
}
stock["gtk-go-forward"]={
	{ "22x22/actions/forward.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/forward.png" }
}
stock["gtk-go-up"]={
	{ "22x22/actions/up.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/up.png" }
}
stock["gtk-home"]={
	{ "32x32/filesystems/folder_home.png", *, *, "gtk-dnd" },
	{ "32x32/filesystems/folder_home.png", *, *, "gtk-dialog" },
	{ "16x16/filesystems/folder_home.png", *, *, "gtk-button" },
	{ "16x16/filesystems/folder_home.png", *, *, "gtk-menu" },
	{ "16x16/filesystems/folder_home.png", *, *, "gtk-small-toolbar" }
}
stock["gtk-new"]={
	{ "22x22/actions/filenew.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/filenew.png" }
}
stock["gtk-paste"]={
	{ "22x22/actions/editpaste.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/editpaste.png" }
}
stock["gtk-preferences"]={
	{ "22x22/actions/configure.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/configure.png" }
}
stock["gtk-print"]={
	{ "22x22/actions/fileprint.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/fileprint.png" }
}
stock["gtk-properties"]={
	{ "22x22/actions/configure.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/configure.png" }
}
stock["gtk-quit"]={
	{ "22x22/actions/exit.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/exit.png" }
}
stock["gtk-refresh"]={
	{ "22x22/actions/reload.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/reload.png" }
}
stock["gtk-save"]={
	{ "22x22/actions/filesave.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/filesave.png" }
}
stock["gtk-save-as"]={
	{ "22x22/actions/filesaveas.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/filesaveas.png" }
}
stock["gtk-stop"]={
	{ "22x22/actions/stop.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/stop.png" }
}
stock["gtk-zoom-100"]={
	{ "22x22/actions/viewmag1.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/viewmag1.png" }
}
stock["gtk-zoom-fit"]={
	{ "22x22/actions/viewmagfit.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/viewmagfit.png" }
}
stock["gtk-zoom-in"]={
	{ "22x22/actions/viewmag+.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/viewmag+.png" }
}
stock["gtk-zoom-out"]={
	{ "22x22/actions/viewmag-.png", *, *, "gtk-large-toolbar" }
	{ "22x22/actions/viewmag-.png" }
}
} class "*" style "KDE-icons"
Comment 1 Rodrigo Guerra 2005-10-06 04:18:56 UTC
*** Bug 120574 has been marked as a duplicate of this bug. ***
Comment 2 JP Rosevear 2005-10-06 12:29:28 UTC
Re-assigning to qt engine theme maintainers.
Comment 3 Stephan Kulow 2005-10-06 14:01:39 UTC
looks familiar  
Comment 4 Lukas Tinkl 2005-10-06 16:43:41 UTC
Already fixed in #63853 
 
The problem is not the unbalanced brace but a missing comma 

*** This bug has been marked as a duplicate of 63853 ***
Comment 5 Rodrigo Guerra 2005-10-07 04:03:07 UTC
I cannot access the records for bug 63853. I cannot enjoy the solution of the
bug if I don't have access to it.

About the comma, if the solution was meant to be just putting the commas between
the nested brace groups, like this:
blah[blah] = {
	{ "blah", "blah" } , <-- Put comma here!
	{ "blah", "blah" }
}
Then, as I mention in the report, it didn't solve the problem, because the
application still didn't run.

Is it a separate problem?