bugGNU Octave - Bugs: bug #55267, gtk message on GUI file-open

 
 

bug #55267: gtk message on GUI file-open

Submitted by:  Hartmut <hardy>
Submitted on:  Sat 22 Dec 2018 07:57:28 PM UTC  
 
Category:  GUI Severity:  2 - Minor
Priority:  3 - Low Item Group:  Unexpected Error
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  5.0.1 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sat 26 Jan 2019 01:11:18 PM UTC, comment #8: 

I have recompiled Octave (the 5.0.90 tar ball) on the same Ubuntu PC, and did a proper "make install". Now this behavior is GONE for me as well. Maybe it was just a side effect of starting Octave from the build directory, without a proper 'make install' done.

In my opinion we could now CLOSE this issue.

Hartmut <hardy>
Mon 24 Dec 2018 06:20:36 AM UTC, comment #7: 

No, not later, I am on Ubuntu 18.04, Gnome 3.22, Qt 5.9.5.

Torsten Lilge <ttl>
Project Member
Sun 23 Dec 2018 08:42:20 PM UTC, comment #6: 

Torsten - are you on a later Ubuntu than 18.04, which version? If so, seems to confirm that this is fixed with newer versions of either Qt or Gtk or both.

Mike Miller <mtmiller>
Project Administrator
Sun 23 Dec 2018 09:03:42 AM UTC, comment #5: 

The default branch (and now the stable branch) still contains a lot of untranslated strings related to new features. These will be translated soon and definitely before the 5.0.0 release.

Regarding the gtk-warning issue (it does not occur on y ubuntu/gnome system), there is really not much we can do. One possibility might be to turn the native dialogs off by default. I have currently no idea if it might be possible to redirect these messages to /dev/null.

Torsten Lilge <ttl>
Project Member
Sat 22 Dec 2018 09:44:31 PM UTC, comment #4: 

Yes, this gtk messages goes away, when I untick the option "use native file dialogs" in the Octave GUI preferences.

And yes, this is a good workaround for me personally.

But I am unsure how appreciated this "warning message" will be by other users. If this happens on most (vanilla) Ubuntu versions, then I would think this is not so nice. If it's just on my personal PC (with maybe too many dev packages installed), then it's OK. Let's just wait if there will be more people complaining about this...

By the way: There is cucrrently no translation of this GUI string in the settings. Also in my german GUI (where everything else is nicely translated to german), this option has an english name. But this might be part of the normal pre-release cycle that has just started for Octave 5.0

Hartmut <hardy>
Sat 22 Dec 2018 09:19:48 PM UTC, comment #3: 

In Octave 4.4.1, we forced Qt to use non-native file dialogs for almost everything. In Octave 5, we use native file dialogs instead (the Qt default scenario). This means that if you are in GNOME (Ubuntu default desktop), Qt will load a plugin to use Gtk file dialogs to blend with your desktop environment. If you are in KDE, Qt will load a plugin to use KDE file dialogs, etc. This warning comes from how your version of Qt uses your version of Gtk to open a file dialog. I don't see it with my versions of Qt and Gtk.

Please try unchecking the "Use native file dialogs" checkbox in the Octave preferences to see if that gets rid of the warning for you. If so, that option is entirely where these warnings come from, and that is your workaround to get rid of the warning with your versions of Qt and Gtk.

Mike Miller <mtmiller>
Project Administrator
Sat 22 Dec 2018 08:54:07 PM UTC, comment #2: 

I do NOT see this message with my (self compiled) Octave 4.4.1 on the very same PC. This leads me to the conclusion, that we CAN do something in Octave to avoid this warning (because we previously did).

Or do I need to pick a different qt or gtk version via some config option? (Has the default value for those changed between Octave 4.4 and 5.0?)

Hartmut <hardy>
Sat 22 Dec 2018 08:04:40 PM UTC, comment #1: 

I used to see this message, but I think it has now disappeared on my system (Debian testing). I don't think Octave can do anything about this, it is between Qt and GTK. My guess is it has to do with the GTK native file dialog plugin for Qt.

Mike Miller <mtmiller>
Project Administrator
Sat 22 Dec 2018 07:57:28 PM UTC, original submission:  

Here is how to reproduce this behavior:

  • I self compiled the Octave stable branch (hg-id 9644c0b7efd8) under Ubuntu 18.04 without any special config options (the only one was --prefix=)
    • make check passes with no failing tests
    • I did see some warnings about creating links when doing "make install" afterwards. Maybe they were relevant?
  • I start Octave from the build folder with "./run-octave --gui"
  • In the GUI I use the menu option "file" - "open"
  • result: In the GUI console I see the following message appear:

>> Gtk-Message: 20:51:10.800: GtkDialog mapped without a transient parent. This is discouraged.

Have I done something wrong during the compile / install process? Or do we need to fix this?

Hartmut <hardy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by hardy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-26 mtmiller Open/ClosedOpen => Closed
    2019-01-24 mtmiller Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        StatusNone => Works For Me
        Release5.0.0 => 5.0.1

    Back to the top


    Powered by Savane 3.5