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

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

[Octave-bug-tracker] [bug #52790] Octave Windows not properly identified


From: Bryan Poling
Subject: [Octave-bug-tracker] [bug #52790] Octave Windows not properly identified with application launcher
Date: Tue, 2 Jan 2018 13:09:42 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36

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

                 Summary: Octave Windows not properly identified with
application launcher
                 Project: GNU Octave
            Submitted by: poli0048
            Submitted on: Tue 02 Jan 2018 06:09:41 PM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Bryan Poling
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Under Gnome, if I launch Octave using the ".desktop" launcher, as is done when
you launch from your Applications menu or from your dash, a new window is
created with a generic icon. This represents the running instance of Octave.
The correct behavior is for the Octave icon to become associated with the
running instance of the program so that, for instance, clicking the launcher
again will bring the currently running instance to focus instead of creating a
new instance.

This is because the ".desktop" file included with Octave (as it exists in the
Debian Repo anyways) does not give any hints to the window manager as to which
windows should be associated with the program. The easiest fix is for the
".desktop" file to include the line:
StartupWMClass=octave-gui

This will give the window manager what it needs to do proper window
association. I don't know if this is an issue with Octave exactly, or with the
Debian package, but if it is in Octave this small change could improve the
user experience for lots of Linux users. Thanks.

Bryan




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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