Menu

Some minor issues (could be MS Windows or StarUML Issue)

Anonymous
2014-03-06
2014-05-06
  • Anonymous

    Anonymous - 2014-03-06

    Hello
    Issue 1: Since days of Yore StarUML has had the same issue with multiple Monitors. If you put a StarUML or WhitestarUML window in an external monitor and you disconnect your notebook, the window will not return back to the notebook LCD screen... it is lost until you connect an external monitor again (also no 'Move' menu on the StarUML toolbar icon so cannot use arrow keys to move it back to your notebook screen).

    Issue 2: Every few weeks I get this error message when I open a (very large) UML Model (issue is the same for StarUML and WhiteStarUML) "ERROR - Invalid character in line xxx". I open the .uml file with a text editor with line numbers (like Notepad++) and sure enough there's a non-ascii character in that line. How did it get there? It could be my MS Windows issue but this ONLY happens with StarUML/WhitestarUML). I delete the non-ascii character, save and then I can open the .uml file no problem.

    Thanks Janusz!

     

    Last edit: Anonymous 2014-03-06
  • Janusz Szpilewski

    As for the Issue 1 I think that expecting that a window will move following the availability of the screen is a bit opimistic and probably a bonus feature offered by the dock station vendor. I suppose it may require some cooperation from window properties maybe set by compiler (and its libs) and given that this program is not buit with a Microsoft compiler it may behave differently. You may give a try the latest build 5.4.8.1 compiled with a compiler released in 2013 that may know more about multiple screens.

    Currently I have no possibility to investigate that issue further. However there are some hints on the Internet how to deal with such problems and Alt-Space + Move + Arrows seems to be working.

    Concerning the Issue 2 I think you could post an offensive save file fragment what would help to asses in what conditions it may show up (inside or outside a XML tag etc.)

     
  • Anonymous

    Anonymous - 2014-03-06

    Thanks Janusz.
    Issue 1 all my Windows programs switch to the available monitor... I suspected it was some StarUML API issue but anyway it's only a minor annoyance.

    item 2 I am trying to paste the line with the non-Ascii code here. It probably will not show on the screen since it's not ascii
    "<xpd:attr name="Documentation" type="string">Transportation capacity (Vessels, Trucks, is not sufficient to support actual Transportation requirements)
    Resolve a situation where Transportation capacity (Vessels, Trucks) is not sufficient (cannot make Bookings) to support actual Transportation requirements"</xpd:attr>

    The non ascii character is before the 's' of 'sufficient'

     
  • Anonymous

    Anonymous - 2014-03-06

    It is not showing on the screen, but the offending character shows as Binary 1011 when I convert it - that should be "Vertical Tab". I have similar failures every few weeks but again - it could be my MS Windows of other computer issues, although it only ever happens with StarUML / WhiteStarUML

     
  • Janusz Szpilewski

    Thanks for the example. If I understood it well it is a problem with a character inside of XPD:ATTR name="Documentation" tag filled with the content from the Documentation panel. I will try to do some tests. Still you may try the build 5.4.8.1 as it passed compiler/libs update.

     
  • Anonymous

    Anonymous - 2014-03-08

    Yes. By memory, I think most cases are in the Documentation section. Again, it may be a Windows issue, I am not sure if it is a StarUML issue.

    While we are on topic, I have other issues with the Documentation window for may years. If I paste text in the documentation, it disappears from the model after I click on another Classifier. I have to ctrl-S "save" every time a paste something in the documentation window, otherwise it's gone. If I type text instead of pasting, it is captured OK.

     
  • Janusz Szpilewski

    There is a reported problem affecting some users with misbehaving window focus making some windows always being shown in the background and it may also prevent paste operation from being detected and resulting in text being not saved. Hopefully such issues will be gone with the new compiler just being introduced.

     
  • sarc

    sarc - 2014-04-18

    Hi Janusz

    with version 5.5.0 something has improved, I can now occasionally see the non-ascii character in the Documentation window - I think this will mean no error messages from now on - thanks!!!

    Another big improvement with 5.5.0 is that the old issue of Model Explorer not showing Classifiers in alphabetical order has been resolved - it's now working and it's a huge bonus because I have very large models! Thanks again!!

    This issue still remains:"There is a reported problem affecting some users with misbehaving window focus making some windows always being shown in the background and it may also prevent paste operation from being detected and resulting in text being not saved. Hopefully such issues will be gone with the new compiler just being introduced."

    Another suggestion:
    Currently the Collection Editor does not arrange the Classifiers when you click on the columns. For example right click on a Use Case - Collection Editor - Relations and click on the tab "Names": nothing gets rearranged. Would it be possible to have the Collection Editor and Constraints windows sort the classifiers when a tab is clicked?

     
  • Janusz Szpilewski

    Problem with sorting the Model Explorer resulted from some neglection while replacing controls in the window. I still see that the tooltip must be fixed ;)

    I am rather deceived that upgrading the Delphi compiler did not help with that strange focus behavior but I was somehow too optimistic expecting that it could just go away. Recently I noticed that a similarly judged problem with the program window sticking to an inactive screen was a result of some interaction with the operating system. Just recently I found that the program itself stores its exact position and after running again it restores itself exactly where it was last time. I think it could be fixed to be aware of inactive screens but for now another fix is to delete "WhiteStarUML\Main Window" entry from the Windows Registry.

    Collection Editor - Relations are not sorted right now but some simple sort can be easily added.

     
  • sarc

    sarc - 2014-05-06

    Hi Janusz if you decide to implement sorting on the Collection Editor, will you also be able to add "select a classifier in the Model Explorer by right clicking in the Collection Editor", so I can start editing it right away (without having to search for it)?

     
  • Janusz Szpilewski

    Sorting relations is implemented in the recently posted build 5.5.0.1. I think adding an option to select the related model should not be hard just I will need to look closer at it.

     

Anonymous
Anonymous

Add attachments
Cancel