jpaulm / drawfbp

Tool for Creating and Exploring Flow-Based Programming Diagram Hierarchies
http://www.jpaulmorrison.com/fbp/
145 stars 20 forks source link

File system navigation #8

Closed davidryman closed 4 years ago

davidryman commented 7 years ago

When I File/Open Diagram, the file list is in a strange order, I do not know where this is set, but it cannot be changed. alphabetic order would be nice. also an option to omit hidden files. Would also save effort if it remembered where it was last time.

jpaulm commented 7 years ago

On Thu, Nov 10, 2016 at 2:39 PM, David Ryman notifications@github.com wrote:

When I File/Open Diagram, the file list is in a strange order,

I'm not seeing that - could you send me a jpg file?

I do not know where this is set, but it cannot be changed. alphabetic order would be nice. also an option to omit hidden files.

How are hidden files marked - is this different in *nix and Windows?

Would also save effort if it remembered where it was last time.

Good idea!

Regards

davidryman commented 7 years ago

screenshot_2016-11-12_13-13-05

Guess what. when I tried again it worked fine. Previously the location of the JavaFBP jar file had not been set. Locate the DrawFBP Help file does however exhibit the issue. Could be just a set up thing. Might just need a FAQ, but the order is perplexing to me. Adding that thing to click the columns to change order would give flexibility. Nix file starting with '.' are hidden.

jpaulm commented 7 years ago

I can suppress files starting with a period.

However your sequencing problem doesn't show up on my system (Win 7). I use the Collections.sort function in Java with my own comparator, to merge upper and lower case names. I suspect that this doesn't work (consistently?) in *nix Java implementation... I am trying out String.CASE_INSENSITIVE_ORDER as suggested in a StackOverflow post - and will make a copy available to you - probably tomorrow.

jpaulm commented 7 years ago

Could you take a look at the file lists in this version and let me know if there is a change? There is a pre-release jar file in https://github.com/jpaulm/drawfbp/releases/tag/v2.13.6 . TIA

davidryman commented 7 years ago

Looks similar to me. Removing the dot file may not be a good idea as they are valid in linux.

screenshot_2016-11-16_10-58-00

jpaulm commented 7 years ago

Sorry, posted my request to wrong conversation!

Hi David, could you try the sort sequence test again using

https://github.com/jpaulm/drawfbp/releases/download/v2.13.6/drawfbp-2.13.6.jar

I have dropped the sort altogether - doesn't seem to work for you, but it may not be necessary anyway! Thanks!

Paul

On Wed, Nov 16, 2016 at 12:21 PM, David Ryman notifications@github.com wrote:

Looks similar to me. Removing the dot file may not be a good idea as they are valid in linux.

[image: screenshot_2016-11-16_10-58-00] https://cloud.githubusercontent.com/assets/708895/20357530/f062063e-abed-11e6-90d6-41f14fcf4635.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jpaulm/drawfbp/issues/8#issuecomment-261010884, or mute the thread https://github.com/notifications/unsubscribe-auth/AATGJzWqaP8xIJEqz-vg3pMhfdggDmDAks5q-zuUgaJpZM4KvDYc .

jpaulm commented 7 years ago

I think I restored the dot files - have they come back? Also do you see upper and lowercase intermingled or separate?

Thx,

Paul M.

On Wed, Nov 16, 2016 at 12:21 PM, David Ryman notifications@github.com wrote:

Looks similar to me. Removing the dot file may not be a good idea as they are valid in linux.

[image: screenshot_2016-11-16_10-58-00] https://cloud.githubusercontent.com/assets/708895/20357530/f062063e-abed-11e6-90d6-41f14fcf4635.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jpaulm/drawfbp/issues/8#issuecomment-261010884, or mute the thread https://github.com/notifications/unsubscribe-auth/AATGJzWqaP8xIJEqz-vg3pMhfdggDmDAks5q-zuUgaJpZM4KvDYc .