[bidi] Title Bar Caption of Window and Dialog Missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+2.0 (Ubuntu) |
Invalid
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
OS: Ubuntu 8.04
Problem:
I am creating window or dialog using GTK library, and setting title of the window or dialog. I am experiencing a problem that caption of the title bar can not be shown when I set the locale with bi-directional languages(bidi).
Details:
Compile the source code gtk_dialog_test.cpp below in en_US, and then change the locale to Hebrew or Arabic, and run the executable file that I just compiled. Title bar caption is missing.
This problem does not happen on neither Redhat nor SUSE.
//file gtk_dialog_test.cpp
# include <gtk/gtk.h>
int main( int argc, char *argv[] )
{
GtkWidget *gtkmsgDialog;
gtk_init (&argc, &argv);
gtkmsgDialog = gtk_dialog_new();
gtk_
gtk_
gtk_
gtk_
gtk_main();
return 0;
}
description: | updated |
description: | updated |
description: | updated |
Changed in gtk+2.0: | |
assignee: | nobody → desktop-bugs |
importance: | Undecided → Low |
If I set title of the window or dialog in Hebrew, caption of the title bar can be shown in Hebrew locale. Source code is following.
//file gtk_dialog_ text_he. cpp
# include <gtk/gtk.h>
int main( int argc, char *argv[] )
{
GtkWidget *gtkmsgDialog;
gtk_init (&argc, &argv);
gtkmsgDialog = gtk_dialog_new();
gtk_ window_ set_title( GTK_WINDOW( gtkmsgDialog) ,"מחשב" ); window_ set_position( GTK_WINDOW( gtkmsgDialog) , GTK_WIN_ POS_CENTER) ; window_ resize( GTK_WINDOW( gtkmsgDialog) , 200,50);
gtk_
gtk_
gtk_ widget_ show(gtkmsgDial og);
gtk_main();
return 0;
}