[GRASS-git] [OSGeo/grass] 4743d5: wxGUI: New, simplified, unified window titles (#1216)

Vaclav Petras noreply at github.com
Sun Jan 10 20:33:55 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 4743d531f77edf3cd976de947fa1627ab65ab827
      https://github.com/OSGeo/grass/commit/4743d531f77edf3cd976de947fa1627ab65ab827
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-01-10 (Sun, 10 Jan 2021)

  Changed paths:
    M gui/wxpython/animation/frame.py
    M gui/wxpython/animation/g.gui.animation.py
    M gui/wxpython/datacatalog/frame.py
    M gui/wxpython/datacatalog/g.gui.datacatalog.py
    M gui/wxpython/dbmgr/base.py
    M gui/wxpython/dbmgr/g.gui.dbmgr.py
    M gui/wxpython/dbmgr/manager.py
    M gui/wxpython/gcp/mapdisplay.py
    M gui/wxpython/gmodeler/frame.py
    M gui/wxpython/gmodeler/g.gui.gmodeler.py
    M gui/wxpython/gui_core/dialogs.py
    M gui/wxpython/gui_core/forms.py
    M gui/wxpython/gui_core/pyedit.py
    M gui/wxpython/iclass/frame.py
    M gui/wxpython/iclass/g.gui.iclass.py
    M gui/wxpython/iscatt/frame.py
    M gui/wxpython/lmgr/frame.py
    M gui/wxpython/lmgr/layertree.py
    M gui/wxpython/mapdisp/frame.py
    M gui/wxpython/mapswipe/frame.py
    M gui/wxpython/mapswipe/g.gui.mapswipe.py
    M gui/wxpython/modules/histogram.py
    M gui/wxpython/modules/mcalc_builder.py
    M gui/wxpython/psmap/frame.py
    M gui/wxpython/psmap/g.gui.psmap.py
    M gui/wxpython/rdigit/g.gui.rdigit.py
    M gui/wxpython/rlisetup/frame.py
    M gui/wxpython/rlisetup/g.gui.rlisetup.py
    M gui/wxpython/startup/locdownload.py
    M gui/wxpython/timeline/frame.py
    M gui/wxpython/timeline/g.gui.timeline.py
    M gui/wxpython/tplot/frame.py
    M gui/wxpython/tplot/g.gui.tplot.py
    M gui/wxpython/vdigit/g.gui.vdigit.py
    M gui/wxpython/vnet/dialogs.py
    M gui/wxpython/wxgui.py
    M gui/wxpython/wxplot/histogram.py

  Log Message:
  -----------
  wxGUI: New, simplified, unified window titles (#1216)

The 'lmgr' window is considered the main one, so it is no longer
called (GRASS GIS) Layer Manager, but just GRASS GIS. This fits well with this
window being the main GRASS GIS component for many users, although it is not
technically completely precise.

The lmgr window title previously included only workspace name after its base title.
Now it includes workspace name (if applicable), followed by
mapset/location (previously in map display title) and that is followed by the base title,
separated by dashes. This follows common practice of document before application name,
or from most specific information to most general. This also brings the titles closer
to what a single window interface would use. It also may improve the situation reported by a beginner:
*Once I open the GRASS GIS console...it opens another application called Layer Manager*, reported in
[Trac Ticket 3474](https://trac.osgeo.org/grass/ticket/3474).

The version number of is no longer included in the title. This is again a common practice
and it makes making release screenshots easier. Bug reports need a more complete info anyway.
Users which have multiple installations are likely advanced anyway and can always check if needed.

Map display does not include mapset/location at the end as before,
nor GRASS GIS as prefix. Titles of tabs in the Display tab are fully synchronized
with the titles regardless of the title being the default or custom,
so the tabs now say Map Display, not just Display. This simplifies the code
significantly and clarifies the interface. (Small change to rename item
in menu is included for further clarification.)

Database manager which includes vector name in the title follows the same practice
as the main window lmgr, i.e., document before tool/app name.
The read-only info is included with more common spelling and standard case
(applied in the table tab title).

Dialogs started from main GUI don't show GRASS GIS as first part of the title.
This basic title is usually set as default in the frame.
The corresponding g.gui.* tools (if any) set their own title using
a tool - program name syntax and are considered to be somewhat standalone,
so they include GRASS GIS after a dash.

The GUI forms/dialogs for modules no longer include keywords in (square) brackets.
Module name is therefore more highlighted as the actual tool name.
Keywords are not meant to be used this way. (A useful title might be menu item
label, but that's not readily available.)

wxgui.py now sets the application name and vendor which improves how the program
is titled on some platforms. (Making no distinction between internal and display
name because there is no current use case for that.)

Use Histogram Tool instead of Histogramming Tool because Histogram tool is much more
common (74500 Google results) than Histogramming Tool (567). It is also shorter and easier to spell.
Leaving the word histogramming in statusbar where it is used as a verb.

The d.histogram based tool title now has the module name in square brackets
(preceded by two spaces) following the practice from menus and Modules tab.




More information about the grass-commit mailing list