[bidi] Title Bar Caption of Window and Dialog Missing

Bug #235770 reported by guoyi
2
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_window_set_title(GTK_WINDOW(gtkmsgDialog),"GTK Dialog Test");
    gtk_window_set_position(GTK_WINDOW(gtkmsgDialog), GTK_WIN_POS_CENTER);
    gtk_window_resize(GTK_WINDOW(gtkmsgDialog), 200,50);

    gtk_widget_show(gtkmsgDialog);

    gtk_main();

    return 0;
}

Revision history for this message
guoyi (whuguoyi) wrote :
guoyi (whuguoyi)
description: updated
description: updated
Revision history for this message
guoyi (whuguoyi) wrote :

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),"מחשב");
    gtk_window_set_position(GTK_WINDOW(gtkmsgDialog), GTK_WIN_POS_CENTER);
    gtk_window_resize(GTK_WINDOW(gtkmsgDialog), 200,50);

    gtk_widget_show(gtkmsgDialog);

    gtk_main();

    return 0;
}

guoyi (whuguoyi)
description: updated
Revision history for this message
guoyi (whuguoyi) wrote :
Changed in gtk+2.0:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

does this works fine in jaunty now? otherwise would be worth to send it directly to upstream at bugzilla.gnome.org, thanks.

Changed in gtk+2.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

did you try on jaunty? do you use the desktop effects option? the title is not a gtk widget

Revision history for this message
Sebastien Bacher (seb128) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in gtk+2.0 (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.