[Bug 235770] Re: [bidi] Title Bar Caption of Window and Dialog Missing

2008-06-01 Thread guoyi

** Attachment added: "screen snapshot"
   http://launchpadlibrarian.net/14878794/F%3A%5Che_title.gif

-- 
[bidi] Title Bar Caption of Window and Dialog Missing
https://bugs.launchpad.net/bugs/235770
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 235770] Re: [bidi] Title Bar Caption of Window and Dialog Missing

2008-05-29 Thread guoyi

** Attachment added: "screen snapshot"
   
http://launchpadlibrarian.net/14795183/D%3A%5C%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9%5Clocale_compare.gif

-- 
[bidi] Title Bar Caption of Window and Dialog Missing
https://bugs.launchpad.net/bugs/235770
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 235770] [NEW] [bidi] Title Bar Caption of Window and Dialog Missing

2008-05-29 Thread guoyi
Public bug reported:

OS: Ubuntu 8.04 LTS

Problem:
Create window and dialog using GTK library, and set their titles, but their 
title bar caption does not display on locales with bi-directional 
languages(bidi). 

Details:
Compile the source code gtk_dialog_text.cpp below on locale of EN_US, and then 
change locale to Hebrew or Arabic, and run the executable file which you 
compiled. Title bar caption missing. 

This problem does not happen on neither Redhat nor SUSE.

//file gtk_dialog_text.cpp
# include 

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;
}

** Affects: ubuntu
 Importance: Undecided
 Status: New

-- 
[bidi] Title Bar Caption of Window and Dialog Missing
https://bugs.launchpad.net/bugs/235770
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 235770] Re: [bidi] Title Bar Caption of Window and Dialog Missing

2008-05-29 Thread guoyi
** Description changed:

  OS: Ubuntu 8.04 LTS
  
  Problem:
- Create window and dialog using GTK library, and set their titles, but their 
title bar caption does not display on locales with bi-directional 
languages(bidi). 
+ 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_text.cpp below on locale of EN_US, and 
then change locale to Hebrew or Arabic, and run the executable file which you 
compiled. Title bar caption missing. 
+ Compile the source code gtk_dialog_text.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_text.cpp
  # include 
  
  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;
  }

** Description changed:

- OS: Ubuntu 8.04 LTS
+ 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_text.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_text.cpp
  # include 
  
  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;
  }

-- 
[bidi] Title Bar Caption of Window and Dialog Missing
https://bugs.launchpad.net/bugs/235770
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 235770] Re: [bidi] Title Bar Caption of Window and Dialog Missing

2008-05-29 Thread guoyi
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 

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;
}

-- 
[bidi] Title Bar Caption of Window and Dialog Missing
https://bugs.launchpad.net/bugs/235770
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 235770] Re: [bidi] Title Bar Caption of Window and Dialog Missing

2008-05-29 Thread guoyi
** Description changed:

  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_text.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. 
+ 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_text.cpp
+ //file gtk_dialog_test.cpp
  # include 
  
  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;
  }

-- 
[bidi] Title Bar Caption of Window and Dialog Missing
https://bugs.launchpad.net/bugs/235770
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343111] Re: gnome-open can not open log files

2009-03-15 Thread guoyi
Is there any workaround to open a log file in an application?

-- 
gnome-open can not open log files
https://bugs.launchpad.net/bugs/343111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343111] [NEW] gnome-open can not open log files

2009-03-15 Thread guoyi
Public bug reported:

I tried to use gnome-open in a terminal to open an log file and I got an error:
desktop:~/test$ gnome-open 1.log
Error showing url: There is no default action associated with this location.

I noticed that the file ~/.local/share/applications/mimeapps.list
contained an entry for the log filetype: text/x-log=gedit.desktop. But
it had no effect to gnome-open. When I double click on a log file, it
will be opened by gedit.

My system is Ubuntu 8.04, Gnome 2.22.3.
uname -a
Linux guoyibj-desktop 2.6.24-23-generic

** Affects: ubuntu
 Importance: Undecided
 Status: New

-- 
gnome-open can not open log files
https://bugs.launchpad.net/bugs/343111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343111] Re: gnome-open can not open log files

2009-03-16 Thread guoyi
I can open the log file by gedit.

I want to use "gnome-open" to open all types of files in an application written 
by ourselves. We thought gnome-open can open all types of files by default. But 
it seems that log files can not be opened by gnome-open on Ubuntu. And also cs 
files can not be opened by gnome-open either, there is a related Bug: 
https://bugs.launchpad.net/ubuntu/+source/gnome-utils/+bug/225827.
My last question is that is there any ways to open all types of files in my 
application?

-- 
gnome-open can not open log files
https://bugs.launchpad.net/bugs/343111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs