Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

190 lines
8.0 KiB

  1. Issues wrt Specs
  2. -----------------
  3. preamble - pls list your issues below. Be sure to explain
  4. problems & suggest alternatives.
  5. chuck, 4/28/91
  6. JonN 5/1/91 Added some items relating to Test Driver code review.
  7. JohnL 5/3/91 Added own take on field updates, magic group behaviour
  8. JohnL 5/14/91 Added Message popup on top of Set focus dialog
  9. ------------------------------------------------------------------------------
  10. =========
  11. STANDARDS
  12. =========
  13. Saving App coordinates & sizes in DS. Problems include:
  14. a) extra access DS slows things down.
  15. b) need extend schema, another thing to install correctly
  16. c) different display monitors make things messy, yet more
  17. code needed to do the right thing. Ditto if errors when
  18. accessing DS.
  19. d) if bring app up, shutdown & bring up again, good chance we
  20. dont get same result unless we hit master always, which is
  21. not acceptable.
  22. Suggest we store the stuff locally. Wont follow user about, but then
  23. none of the other apps (like WinFile, PrintMan) do anyway! None of the
  24. above will be an issue.
  25. Saving parameters
  26. Are parameters like fConfirmation shared between PrintMan,
  27. UserTool, etc.? Should we have an internal WINNET API to handle
  28. this?
  29. We need a master list of every configuration parameter, eventually
  30. we will have to define an LM_GUI_CONFIG DS class.
  31. Saving attributes one at a time. We can do this at moderate coding cost
  32. with ParmNums, but a few other issues arise:
  33. a) if user has multiple select & sets several items, the number
  34. of times we hit the net can be pretty high.
  35. b) if we set all at once, and get an error, the object is
  36. unchanged. If we set one at a time, and get an error halfway,
  37. the object is half changed. This makes it much harder to explain
  38. to the user. Backing out is not a solution either. We have hit
  39. an error and there is good change we cannot backout.
  40. c) DS efficiency issues?
  41. The problem we are trying to solve is what happens if 2 admins modify the
  42. same object. The proposed solution of only setting the attributes that have
  43. been modified partially solves the problem, but introduces some other
  44. problems that need to be looked at carefully. Suggest further investigation.
  45. John's addition to the above: So we are going to force the majority of
  46. the admins to suffer from slower data entry/editting for a situation
  47. that *might* happen once in a blue moon? There *are* worst case scenarios,
  48. but if we are really concerned about the user losing data, then we should
  49. do some type of record locking mechanism (is this possible?) which prevents
  50. multiple admins from editting the same record. The proprosed scheme
  51. doesn't really give the user anything except a slower program
  52. and a *lower* chance of losing data.
  53. Timer Refresh in main window issues
  54. With automatic refresh, we run the risk of calling for refresh more
  55. frequently than we can perform them. Do we have some uniform way of
  56. detecting and handling this? [both FuncSpec and CDD issue]
  57. The behavior specced on lines 198-200 is not consistent with lines
  58. 444-446. The behavior specced on lines 198-200 is difficult to
  59. implement, since a window does not typically know whether it is in
  60. the foreground of an application. 444-446 is much easier to
  61. implement, and seems to me to be good enough. If this is necessary,
  62. would it be acceptable if this applies only to dialogs we display
  63. (i.e. not to dialogs displayed by the Print Manager proper)?
  64. Logon Dialog position
  65. I had previously understood that the Logon Dialog was centered only
  66. when called during Windows startup. Should it always be centered as
  67. per line 60?
  68. MsgPopup on top of SetFocus dialog
  69. The current spec. states that when an admin app encounters one of the
  70. following:
  71. 1) an invalid domain/server on the command line
  72. 2) The user running the application doesn't have the
  73. necessary authority on the specified server or
  74. 3) An error occurs when getting initial data from the domain or
  75. server given
  76. (these are all during start up) the Setfocus dialog appears, then, on
  77. *top* of the setfocus dialog, a message popup appears stating the
  78. given error has occurred with the prompt: Do you want to select another
  79. domain or server to administer? If the user selects "No", then
  80. everything goes away, else the user is placed on the setfocus dialog.
  81. I propose changing the behavior to the following:
  82. Error occurs
  83. Show Message popup with same contents as above, if the user presses
  84. "No" then everything goes away, else the Set focus dialog
  85. is brought up.
  86. This is primarily a development issue. The implementation is easier
  87. of we can just put up an error message then the setfocus dialog. The
  88. current behavior doesn't add anything for the user (in fact, the
  89. MsgPopup will probably cover the Setfocus dialog).
  90. =============
  91. PRINT MANAGER
  92. =============
  93. Move queue from one server to another. This is very hard to get right:
  94. a) we need to worry not just about the Queue, but all its
  95. associated stuff: printers, drivers, ports, permissions,
  96. auditing, etc. Not all of this info is remotely available, so
  97. it is very easy to go wrong.
  98. b) How often will users do this? Unlike DFS volumes, people do not
  99. move printers from one server to another frequently, since there
  100. is a physical element of the print hardware involved.
  101. Suggest we nuke this. To properly setup a printer, the user needs to
  102. setup from Print Man anyway, so just have the user to delete and recreate.
  103. When the user pauses a printing print job, it is the print _destination_
  104. which should be paused, rather than the print queue (thx Chuck).
  105. Please spec default setting of "Admin Menus" preference if DS access
  106. fails. I assume TRUE for now.
  107. WN31.DOC still contains a reference to the WNetViewQueueDialog API. Is
  108. this obsolete?
  109. If a job was submitted locally (from an OS/2 app running on the server),
  110. the job's username is NULL. Should we pass some string, perhaps
  111. "LOCAL"?
  112. Is it important to seperate the devicenames with commas in the
  113. compat-mode properties field? It makes my life slightly easier to
  114. seperate them with spaces (as does the API).
  115. While we're at it, why is this read-only? It seems to me that the user
  116. may well want to change the list of ports in the compat-mode dialogs,
  117. and it isn't difficult to support.
  118. Lines 387-391: This implies that if the server is down, we cannot move
  119. the share to another server. This was one of the reasons we wanted to
  120. provide the capability to change servers in the first place. Another
  121. good reason to nuke this functionality!
  122. Lines 483-484: I don't think we should create a new DosPrintQueue unless
  123. it is necessary, possibly if we change the list of ports, certainly if we
  124. change the server. Remember that DS propagation delay will make the
  125. new queue unreachable for a while. There are also more failure modes on
  126. creating a new queue and deleting the old one.
  127. Lines 457-458: Do we use the same model for all drivers? If not, we
  128. must prompt for model every time we add a new driver.
  129. Lines 421-422: Is it necessary to create a new port when only the
  130. printer list is changed? Is this error message appropriate in this
  131. case?
  132. Lines 529-530: Do we want to force the admin to delete+recreate the
  133. share just to change the password?
  134. =====
  135. LOGON
  136. =====
  137. Why do we compare the old and new passwords case-sensitive? There is no
  138. such thing as a user password on a core server.
  139. =====
  140. OTHER
  141. =====
  142. Do applications other the the Print Manager Extensions need to be notified
  143. of changes in logon status? One scheme proposed is to broadcast a
  144. user-defined message selected by RegisterWindowsMessage, which any
  145. interested app can watch.
  146. Please spec an error message for failure to write user preferences to the DS,
  147. e.g. failure to write the Confirmation preference. It would be easiest
  148. to implement if the error message were not specific to the preference being
  149. written, although it may contain a field on the type of error. The user
  150. probably knows what preference was being changed anyway.