MCDE dtphoto: every menu entry does something, and the test proves it
-menutest read only the command table against itself, so a menu line with no command stayed invisible: it could be green while an entry did nothing. It now reads dtphoto.menu and counts what resolves to no command -- 206 items, 0 unbound. Counter-check: Select/Grow set to CMD_NONE makes it print "1 unbound" and FAIL. Four entries only refused before and now work: Window > Show Commands opens a palette listing the command table itself (206 rows, measured 206x26 px of text in the widget, so it cannot drift from the menu), Publisher Options sets the EPS resolution (72 and 288 dpi, the %%BoundingBox scales with it), Adjustment Options the default for new adjustment layers, and Show Channels/Show Paths show measurements from the picture and the lasso path. File > Acquire still refuses: there is no scan source, and saying so beats a button that does nothing. Real bug found on the way: Layer > Type > Horizontal/Vertical switched to tool 7, which is crop; type is slot 8. Measured on both depths (TrueColor :91, PseudoColor :98): 14 tests x 2 = 28 green, 0 red -- filtertest optest drawtest seltest movetest croftest croptest typetest retouchtest selecttest selmodtest menutest exporttest placetest printtest (the last with MCDE_PRINT_COMMAND=/tmp/dtpbin/lp, 230454 bytes spooled).
This commit is contained in:
1 parent
1abb2d5e03
commit
9e88c59fe9
4 files changed
+1504
-204
No files matched your search
@@ -5,7 +5,7 @@ bin_PROGRAMS = dtphoto
|
||||
dtphoto_CPPFLAGS = -I$(top_srcdir)/include \
|
||||
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
|
||||
|
||||
dtphoto_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
|
||||
dtphoto_LDADD = $(LIBMCDESYS) $(DTCLIENTLIBS) $(XTOOLLIB)
|
||||
|
||||
if SOLARIS
|
||||
dtphoto_LDADD += -lintl
|
||||
|
||||
+1494
-203
File diff suppressed because it is too large.
Load diff
@@ -8,3 +8,5 @@ $set 1
|
||||
4 The picture could not be opened.
|
||||
5 The picture could not be saved.
|
||||
6 Tool Options
|
||||
7 Nothing could be placed.
|
||||
8 The picture could not be exported.
|
||||
Reference in new issue
Block a user