Opened 2 years ago

Last modified 15 months ago

#3403 assigned enhancement

Show which operations comply to computational region

Reported by: wenzeslaus Owned by: wenzeslaus
Priority: normal Milestone: 8.0.0
Component: wxGUI Version: svn-trunk
Keywords: g.region, computational region, beginners, forms, module dialogs Cc:
CPU: Unspecified Platform: Unspecified

Description

The general rule is that everything follows computational region, however in GUI it is actually not the case and it is not when novice user expects. My suggestion is to add a notice to all places in GUI saying how computational region applies.

For module dialogs, I think all dialogs can just have same general note. This may be confusing for vectors and general, so we may alter the message for those. In GUI, 3D uses resolution. Many things like r.report, r.univar, r.colors, histograms have unclear relation to region in GUI.

I have a simple patch for the module dialogs, but some discussion may be needed. Line like this may be in couple of other places so the compromise is between additional information for greater understanding and more clutter in GUI.

  • gui_core/forms.py

     
    649649        accelTable = wx.AcceleratorTable(accelTableList)
    650650        self.SetAcceleratorTable(accelTable)
    651651
     652        # tell user about computational region
     653        self.region_info = wx.StaticText(
     654            parent=self.panel,
     655            label=_('Most operations follow computational region with the exception of vector operations'),
     656            style=wx.NO_BORDER)
     657        guisizer.Add(self.region_info, proportion=0,
     658                     flag=wx.EXPAND | wx.LEFT | wx.RIGHT | wx.BOTTOM,
     659                     border=5)
     660
    652661        if self._giface and self._giface.GetLayerTree():
    653662            addLayer = False
    654663            for p in self.task.params:

Attachments (1)

note_region_r_slope_aspect.png (57.9 KB) - added by wenzeslaus 2 years ago.
Example note about computational region in module dialog

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by wenzeslaus

Example note about computational region in module dialog

comment:1 Changed 22 months ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:2 Changed 18 months ago by neteler

Milestone: 7.4.17.4.2

comment:3 Changed 15 months ago by wenzeslaus

Keywords: g.region forms module dialogs added; g.region. removed
Milestone: 7.4.28.0.0
Note: See TracTickets for help on using tickets.