octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37498] Main tool bar settings are not saved.


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #37498] Main tool bar settings are not saved.
Date: Thu, 04 Oct 2012 07:02:17 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.6.24-1.fc14 Firefox/3.6.24

URL:
  <http://savannah.gnu.org/bugs/?37498>

                 Summary: Main tool bar settings are not saved.
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Thu 04 Oct 2012 07:02:16 AM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The main tool bar settings are not being stored when the GUI/IDE exits.  The
message that is sent to STDERR upon exit is:

QMainWindow::saveState(): 'objectName' not set for QToolBar 0x120a4c0 'Main'

but this is not visible but perhaps momentarily because STDERR is redirected
to the GUI/IDE terminal window and that window is gone upon exit.

The attached patch sets the name of the main_tool_bar object to "MainToolBar"
immediately after its creation.  Before this change, the qt-settings file
looks like (snippet):

address@hidden(\x1\xd9\xd0\xcb\0\x1\0\0\xff\xff\xfb\xb4\xff\xff\xfc\x63\xff\xff\xfe\v\xff\xff\xfe\v\xff\xff\xfb\xb4\xff\xff\xfc\x63\xff\xff\xfe\v\xff\xff\xfe\v\0\0\0\0\0\0)

and after

address@hidden(\x1\xd9\xd0\xcb\0\x1\0\0\xff\xff\xfb\xb4\xff\xff\xfc\x63\xff\xff\xfe\v\xff\xff\xfe\v\xff\xff\xfb\xb4\xff\xff\xfc\x63\xff\xff\xfe\v\xff\xff\xfe\v\0\0\0\0\0\0)
address@hidden(address@hidden@\0\0\0\0\0\0)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 04 Oct 2012 07:02:16 AM GMT  Name:
octave-toolbar_objectname-2012oct04.patch  Size: 1kB   By: sebald

<http://savannah.gnu.org/bugs/download.php?file_id=26695>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37498>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]