Opened 9 years ago

Last modified 6 years ago

#3023 new defect

Change default behavior of d.title to draw instead of output text

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: blocker Milestone: 8.0.0
Component: Display Version: svn-releasebranch70
Keywords: d.title, interface Cc:
CPU: Unspecified Platform: Unspecified

Description

Currently this outputs text:

d.title elevation
.C black
.S 4.000000
LOCATION: nc_spm_08_grass7
elevation in carto
South-West Wake county: Elevation NED 10m
North:  228500.00  South:  215000.00
West:   630000.00  East:   645000.00
Resolution: n-s:   10.00  e-w:   10.00

To actually display something one need to do:

d.title elevation -d

This is unexpected behavior for a display module and -d behavior should be the default one.

I suggest to switch the default for 8.0. We can introduce in 7.x a new flag to turn on the text (it would do nothing special in 7.x) to be forward compatible with 8.0. Alternatively, we can also drop the text behavior completely but I can imagine that somebody is (mis)using d.title for just the text (as alternatively formatted r.info).

Change History (2)

comment:1 by wenzeslaus, 9 years ago

Component: DefaultDisplay
Keywords: d.title added
Priority: normalminor
Version: unspecifiedsvn-releasebranch70

comment:2 by wenzeslaus, 6 years ago

Keywords: interface added
Priority: minorblocker

This is change of interface and this it must be resolved before the release, so blocker.

Note: See TracTickets for help on using tickets.