wiki:wxGUIDevelopment

Version 104 (modified by lindakladivova, 2 years ago) ( diff )

--

wxGUI Development

This page contains wxGUI developer-related issues. It is updated as needed, so it may not reflect all ongoing efforts.

For user-related information see:

Major todos

This is a list of major tasks to be done for wxGUI. Many of them are not assigned to any developer or require cooperation of more developers. Please, don't hesitate to join the wxGUI development group and contact them via mailing list.

  • New startup (window or procedure)
  • Rewrite thread-based class (see, forms.py, gconsole.py, etc.)
  • Refactoring
  • Map rendering
  • Single Window
  • Redesigning Map Display statusbar
  • Improving Single-Window GUI user experience
  • Integration of imagery modules and wxGUI
  • 3D view mode
  • Vector querying
    • Allowing interactive queries using a line or polygon drawn by the user on the display canvas. This would be facilitated by improvements to v.what that allows it to find all vector objects within (or optionally intersecting) a line or polygon defined by a set of coordinate pairs. This could be done via v.select but it sounds like v.select might be problematic to use in this way.
  • Thematic mapping
    • Create a new python wrapper script for thematic mapping. This would include d.thematic for areas, and scripting code (possibly salvaged from d.vect.thematic) for points and lines.
    • It also would need legend generating code.
  • Times series / voxel slices visualizer
    • Given the increasing need to support extensive time series of data from simulations or remote sensing, it should combine and enhance capabilities currently available through combination of xganim, d.slide.show, ImageMagic and various custom scripts to visually analyze series of raster and vector data using animations, frame browsing and series management. In addition to the current xganim (or its tcltk version) + d.slide.show capabilities the following would be desirable:
    • interactively delete and add frames to the series (similar to moviemaker or iMovie tools)
    • add dynamic time bar, static scale bar and legend to the animation
    • save series of maps as series of png images or an animated gif or other movie format if feasible
    • query the raster series - click on a grid cell will return graph that shows evolution of values in that cell (similar to the profile tool but this runs through time)
    • animate/browse horizontal (or vertical) slices through voxel model without the user having to convert the voxel data into series of 2D raster files.
    • WxGUI Animation Tool provides some of the functionality mentioned here

wxGUI components development

Other wxGUI development

Major source code changes

Changing GUI modules directory layout

Done in r49347 (trunk) r49621 (devbr6).

GUI modules from directory gui_modules have been moved to the new GUI packages:

  • core for core non-GUI classes (gcmd, debug, etc.)
  • gui_core for core GUI classes (goutput, prompt, menuform, etc)
  • lmgr for Layer Manager
  • mapdisp for Map Display
  • vdigit for Vector Digitizer
  • gcp for Georectifier
  • nviz for 3D view (wxNviz)
  • gmodeler for Graphical Modeler
  • psmap for Cartographic Composer
  • dbm for DataBase Manager
  • location_wizard for Location Wizard
  • wxplot for wx.plot-based classes

Source code

New bugs/wishes

#215
digitizer: let add attributes to category-less features
#312
wxNVIZ prints debug to terminal
#463
Display error in wxdigit
#497
Add keyboard shortcuts to v.digit (like pre-6-GRASS
#509
wxgui: startup menu crunched on small display
#592
wxGUI: allow location wizard to set DMS bounds
#632
d.vect.thematic doesn't re-run upon zoom in the GUI
#663
Zooming in too far causes vector weirdness
#668
export and share region settings
#694
Add point option as input for v.overlay
#717
Vector digitizer tool in wx-Python GUI crashes after changing mapsets.
#805
i.spectral in GRASS6.4
#893
wx command prompt + d.*: add a new layer
#918
i.atcorr lacks add to layer
#939
wxGUI mapcalc composer: add code highlighting to r.mapcalc
#945
wxGUI: g.setproj fails
#952
'Highlight selected features and zoom' gives error when SQL display query is in effect
#966
wx attribute table manger fails on wingrass with >188 dbf tables
#977
WxGUI "Save display to graphic file" should write out an World file
#988
Wx-Gui-manual tab: copying text
#989
wx georectify: implement best features of i.points
#992
GRASS startup screen should provide metadata about available locations
#1048
wxgui: g.region: can't reset `rows=' nor `cols='
#1056
OverflowError : long int too large to convert to int
#1075
Better default values in GUI function
#1100
Trim mapset name from maps list in wxGUI
#1176
r.out.gdal does not browse groups
#1205
let users save/load query statements
#1252
wx location wizard fails to create a winkel tripel location
#1291
Profile tool fails to close if legend text contains non-latin letters
#1293
Creating mapset with non-latin letter gives python ascii error
#1381
wxgui: add monitor calibrate option to prefs
#1420
wxGUI: modeller
#1424
Profile tool always casts to integers (incl. csv output)
#1435
Quotes are stripped from command display
#1437
Recalled command has quotes stripped
#1447
wxGUI wingrass scripts need whitespace in path
#1472
wxgui layer manager output pane breaks PRIMARY X selection
#1490
Canvas of Graphical Modeler does not resize
#1510
Querying external PostGIS-layer with multiple geometries crashes wxpython-GUI
#1514
wingrass - different wingrass-modes are differently translated
#1520
'Next to use' erroneously increases cat number in wxdigitizer settings
#1537
option for the maximum extends as region settings in location wizard
#1607
WXGUI regression - attribute query fails to display text attribute values
#1608
WXGUI attribute query might lead to accidental attribute data editing
#1609
WXGUI doesn't offer a supported encodings for "Attribute data encoding" setting
#1669
wxgui: linked displays
#1735
WXGUI attribute table manager doesn't meet with 1 normal form
#1770
Wxnviz settings not storaged in project file
#1771
Map flips horizontally in wxNVIZ
#1790
gui modeler: complete crash of gui when .gxm file modified in vi while modeler is active
#1809
Groups dragging in wxpython GUI
#1810
Loading gxm file does not load Model, Items and Variables tabs
#1811
Save details from graphical modeler variables panel as g.parser comments in Python file
#1856
wxGUI with LANG=pl_PL.utf8 throws "'ascii' codec can't decode byte"
#1870
Calling back r.mapcalc statement in command console - parsing error
#1917
map selector too narrow
#1922
use IPython for python Shell in wxGui if installed
#1931
wxGUI: after editing vector bar remains red
#1937
rfe: make wx vdigit a bit more self-documenting
#1953
wingrass: GRASS6\wx file has \r\r\n newline
#1959
wingrass wx carto composer: Image causes traceback
#1969
wxPy loc'n wiz: hardcoded colors not compatible with random desktop themes
#1978
module GUIs: "or enter values interactively" should be opt-in
#1992
wxNviz: confusing to add raster3d isosurfaces
#2000
wxGUI: Add command layer becomes unusable
#2001
wxGUI: traceback when using alternate projection for map display coords
#2022
wxGUI: r.in.wms wrapper tool not parsing section titles correctly
#2027
Automatically generated UI triggers IA__gtk_widget_set_size_request assertion
#2037
i.gensig cannot create signature file
#2050
After GRASS started xml.etree.ElementTree raises ParseError when clicking any GUI element on Win 7 Simplified Chinese
#2070
Saving NVIZ image in GRASS 7: changing image dimensions is only possible through manually resizing display window
#2076
3D polygons distorted in NVIZ
#2082
Unable to remove display of 3D polygons (in 3D view) when layer unticked (GRASS 7)
#2124
Browser data in Table Attribute Manager, avoid to load all the dataset
#2126
g.gui.vdigit: allow adding a background map
#2142
Make GUI toolboxes mechanism independent on wxGUI
#2160
wxPython 3: assertion 'width >= -1' failed
#2195
"Query raster/vectors maps" tool fails while saving modified attribute
#2203
wxGUI module dialogs should provide "reset to default value" for each of parameters
#2204
Double click on measuring tools fires an event of previous tool
#2215
wxGUI file type option. File path corrupt if contained backslash
#2226
Get python command from copy-button
#2232
Add text to each animation slide based on the result of a query on a vector layer
#2233
wxGUI d.mon and g.gui monitor command line support
#2240
wxGUI: measurement tool does not show line after first click
#2241
wxGUI: measurement tool may show angle to north
#2249
handling manual pages with external links within the GUI
#2254
Option to save bivariate scatterplot as svg file
#2323
g.gui.gcp: add settings option to change vector overlay color
#2371
Vector digitizer does not colourize isles correctly
#2379
g.gui.animation causes fatal IO error 11 (Resource temporarily unavailable) on X server
#2415
Checking date format is missing when inserting record in attribute table manager
#2446
wxGUI histogram tool: allow selection of multiple rasters
#2464
g.gui.iclass: show output of signature creation
#2467
wxGUI: zoom out in latlong location confused by global wrap around
#2523
wxGUI digitiser - GRASS 7.0.0beta4 / persists in 7.1.svn (r64690M)
#2525
Unable to open sqlite database if path contains non-latin letters
#2604
recently open workspace in wxGUI
#2607
Python shell hint results in OSError error(None): None
#2656
GRASS freezes for 5-10 mins before eventually showing attribute table
#2699
g.gui.iclass doesn't run after selecting training areas
#2700
scatterplots in g.gui.iclass don't work on Windows
#2749
Integrate 'Change mapset' dialog in manager toolbar
#2766
GUI not able to create dropdown lists of columns for more than one map or table
#2805
wxGUI: attribute table opening bug when driver is undefined
#2810
wxGUI modeler: encoding error when "save as..." from python editor
#2816
Save animation configuration in g.gui.animation
#2830
Error zooming in into display
#2838
d.labels placement issue
#2857
d.rast.num fails in GUI because the constrain display resolution fails
#2889
wxGUI: paste into modeller "Add GRASS coomand" dialog hangs it
#2890
wxGUI.PsMap error loading two types north arrow and grass gis logo in the cartographic composer layout
#2897
copy a Map Display to create a new identical one
#2907
g.gui.gmodeler - dialog for adding data is not destroyed with "x"
#2910
not possible to destroy dialog with "x" when changing location and mapset
#2926
g.gui.gmodeler - renaming variables
#2953
g.gui.gmodeler - g.message shown as g.manual
#2954
g.gui.gmodeler - order of variables is changed after model reopening
#2955
g.gui.gmodeler - stop button does not stop process immediately
#2958
g.gui.gmodeler - possibility to add python code to model (enhancement)
#2976
g.gui.gmodeler, loop dialog - items without check mark are still visible in model after unticking
#2977
g.gui.gmodeler - add support (diagram) for temporal data: strds, str3ds, stvds
#2978
g.gui.gmodeler - no python script exported
#2983
g.gui.gmodeler - add support for importing files from the folder using loop
#2987
add grid and geogrid support in g.gui.psmap
#2990
g.gui.gmodeler - multiple relocation of model components
#2991
g.gui.gmodeler - indexation does not change after adding/deleting model components
#3024
Add any image from a file to a map display
#3037
r.import - output name should not be required with -e flag
#3051
Allow image to be saved in Map Display even when there is no map
#3111
v.clean: add "error" and "layer" option in "Set up vector cleaning tools" GUI
#3113
g.gui.scatterplot: create startup script for scatterplot tool
#3116
wxGUI WMS dialog: Source projection selector blocked
#3124
d.northarrow incosistent placement when rendering to file/screen
#3141
wxGUI GCP Manager - toggle to (de-)select all control points in the GCP list at once
#3143
Scroll to description in the help tab in module forms
#3154
support for d.legend.vect in g.gui.animation
#3160
g.gui.animation: enhance display of stvds that contain time periods with no-data
#3174
vector querying in GUI should respect layers selected in d.vect
#3183
form for editing vector attributes without going through the digitizer
#3188
query selection option in wx map viewer
#3204
Profile tool lacks a stop profiling entry in right mouse button
#3206
wxgui saving 3d display to file contains save as dialog
#3253
Main GUI fails to start when g.extension fails when fetching the addons
#3259
r.mapcalc graphical versio does not work with eval
#3279
Add Region tab to the main GUI
#3281
region boundaries rendering
#3288
GUI highlight ghost
#3297
Add sorting capabilities to color table editor
#3299
Translate m.nviz.image command into 3D view state in GUI
#3303
vertex manipulation issue
#3307
"Illegal filename <map@>" warning when displaying a vector map from a different mapset in GUI
#3310
GUI raster query: allow more choices in output of information
#3329
d.erase requires a delay to actually clear the monitor
#3347
Account for length limit of the PATH variable on MS Windows
#3348
wxGTK3: Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
#3373
Lock file message
#3376
Rendering failed: Expecting image 390x240 but got 10x10
#3378
add support for raster legends in g.gui.mapswipe
#3379
add support for decorations in all the panels of g.gui.animation
#3382
d.text align does not work in wx0 and Map Display
#3383
d.rast.num is not saved from d.mon wx0
#3406
g.gui.animation: save to workspace
#3451
module GUIs: selected subgroup not taken into account in created command line
#3458
A vector consistently crashes digitizer
#3479
command line history access
#3494
r.thin crashes the wxGUI after 84 passes
#3503
Map Display control button highlights do not reflect active mode
#3517
UnicodeDecodeError in OnRenderDone (core/render.py)
#3520
colorize vector layers in GUI by default
#3521
wxGUI datacatalog: allow actions on multiple selected files
#3532
g.gui.tplot: add zonal statistics support
#3540
graphical modeler problems with sql in v.extract
#3576
Show recent GRASS Databases in the Data tab
#3580
Show info about a Location in Datacatalog
#3581
Show info about a Mapset in Datacatalog
#3584
Remember recent mapsets
#3588
Minor cleanup items
#3595
d.rast.edit: entering new value requires ENTER to be hit, GUI should be changed
#3596
d.rast.edit: aspect map editing broken with AttributeError: 'module' object has no attribute 'NamedColor'
#3623
wxGUI Layer Manager: changed display name of layer gets lost when layer properties are changed
#3633
wxGUI: wording of menu entries for data import
#3660
wxGUI fails to parse correctly Addons composed by more commands
#3661
Data Catalog should show also space time datasets
#3663
Histogram tool does not create histogram but a line plot
#3664
d.text: background color cannot be disabled
#3668
gselect for space-time dataset stops working when creating a new mapset
#3671
Multiple map frames in cartographic composer
#3678
Map Display is not updated after r.mask in executed in the Console
#3744
Vector query error
#3750
Grass 7.7.svn (r74061): CLI location creation: cannot read .prj file for new location
#3778
where field in wxgui layer manager d.vect display missing value on workspace import
#3809
Imported map name not editable in r|v.import
#3824
grass python editor: add templates based on pygrass
#3843
cartographic composer only previews and outputs in profile aspect (no landscape)
#3847
Bivariate scatterplot mapset handling and color preferences
#3884
items selected on drop-down controls not inserted into GRASS command
#3886
Importing vector training areas in g.gui.iclass (interactive)
#3910
nviz: Switching to 3d view kills the wxGUI
#3923
g.gui.gmodeler: scroll bar not shown or too short
#3940
Error Reading settings from Roaming file
#3956
Allow interface text to be copyable with mouse
#4017
run addon failed > name 'unicode' is not defined

GRASS 6.4

No results

GRASS 6.5

#215
digitizer: let add attributes to category-less features
#497
Add keyboard shortcuts to v.digit (like pre-6-GRASS
#668
export and share region settings
#694
Add point option as input for v.overlay
#918
i.atcorr lacks add to layer
#952
'Highlight selected features and zoom' gives error when SQL display query is in effect
#989
wx georectify: implement best features of i.points
#1100
Trim mapset name from maps list in wxGUI
#1381
wxgui: add monitor calibrate option to prefs

GRASS 7.0

No results

Assigned bugs/wishes

#278
wxGUI: don't allow for negative column number
#2951
g.gui.gmodeler - unreadable mish-mash after some changes in list of items
#3403
Show which operations comply to computational region

GRASS 6.4

No results

GRASS 6.5

No results

GRASS 7.0

No results

Reopened bugs/wishes

#686
wxgui: georectify need to set region in XY location to extension of map to be able to see it
#1723
G_OPT_DB_COLUMNS does not allow input of multiple column names
#1759
Selecting maps in dropdown menu: slider to move up/down maps does not work
#2117
GRASS 7: NVIZ: Transparency error for constant surface in
#2247
bivariate scatterplot: undefined variable issue
#2524
wxGUI v.in.ogr wrapper fails to find any layers if file path contains non-latin letters
#2989
g.gui.gmodeler - not possible to rename existing variable in model
#3117
d.mon wx0: GtK issues
#3294
g.gui.tplot: error when trying to plot a STVDS
#3304
db.copy GUI does not allow to enter from_table name
#3471
Custom dropdown control doesn’t recognize mouse events

GRASS 6.4

No results

GRASS 6.5

#686
wxgui: georectify need to set region in XY location to extension of map to be able to see it

GRASS 7.0

No results

Closed bugs/wishes

Closed tickets (link)

Note: See TracWiki for help on using the wiki.