You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/07/21 07:16:00 UTC

[GitHub] [netbeans] dev-fan opened a new issue, #4416: Manual sorting of open files breaks when closing a project.

dev-fan opened a new issue, #4416:
URL: https://github.com/apache/netbeans/issues/4416

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   In the settings, Appearance > Document Tabs > Sort nothing. I work in a project and arrange files in the tabs panel as I see fit. If I close the netbins program, they will open in the same order that I sorted them manually. But if I close the project in the program and then reopen it, then the manual arrangement of the files changes to a messy one.
   
   This happens both in the latest version and in the previous ones (13, 12.x and earlier), it also happens in Windows and Ubuntu
   
   ### How to reproduce
   
   Open project.
   Open its files (10 pieces) and set their order yourself as convenient.
   Close the project (**not Netbeans**), open the project again.
   The order of files in tabs is changed.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 7 10, Ubuntu 18.04-21.10
   
   ### JDK
   
   16 and earler
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien closed issue #4416: Keep manual sorting of open files when reopening project
URL: https://github.com/apache/netbeans/issues/4416


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "dev-fan (via GitHub)" <gi...@apache.org>.
dev-fan commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2150529340

   @neilcsmith-net  Hi. I installed version 22 (jdk22), but the problem remained. Are they going to fix this or not? In theory it shouldn't be too difficult to fix this problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "dev-fan (via GitHub)" <gi...@apache.org>.
dev-fan commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2150567652

   @neilcsmith-net If you wrote in PHP, I would definitely help. I don't know JAVA. They are, in a sense, developers. I understand that this is an open project, but I don’t know how you distribute tasks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2150686901

   They are stored slightly differently per project type.  Having consistent order in the storage would be good - I think that might be doable using `LinkedHashSet` rather than `HashSet` in a few places in https://github.com/apache/netbeans/blob/master/ide/projectui/src/org/netbeans/modules/project/ui/ProjectUtilities.java
   
   But then you have to also ensure files get opened in order, and the implications of that, and also consider whether or how to handle document tab groups.  I personally find the inconsistent order less frustrating in practice than losing the tab groups.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "dev-fan (via GitHub)" <gi...@apache.org>.
dev-fan commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2150664828

   Unfortunately, I don't know Java and can't help. But as I remember the list of open files is stored in an XML file, I thought that there was simply no need to sort this file when closing or opening a project, but store it in the order in which the tabs were opened. Thanks for your answers, I'll wait for someone to fix it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "dev-fan (via GitHub)" <gi...@apache.org>.
dev-fan commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2688533310

   Downloaded the new version and immediately checked the fix for this bug. Thank you very much for fixing it, I'm happy.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2150541593

   @dev-fan who is "they"?!  This issue has contribution welcome on it, and as you said it shouldn't be too difficult ... :wink: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] pinta83 commented on issue #4416: Keep manual sorting of open files when reopening project

Posted by "pinta83 (via GitHub)" <gi...@apache.org>.
pinta83 commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-1702678282

   Any progress on this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2150727547

   https://github.com/apache/netbeans/issues/7085 is related.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Keep manual sorting of open files when reopening project [netbeans]

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-2150652485

   @dev-fan we don't "distribute tasks" as such.  People work on what they want to work on.  As far as I know, no-one has expressed interest on working on this feature, so I put contribution welcome on it.
   
   @mbien and I were discussing some improvements to project groups and document groups recently.  That could perhaps encompass this feature?  Or the project configuration could be enhanced to store this better?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] dev-fan commented on issue #4416: Keep manual sorting of open files when reopening project

Posted by "dev-fan (via GitHub)" <gi...@apache.org>.
dev-fan commented on issue #4416:
URL: https://github.com/apache/netbeans/issues/4416#issuecomment-1703097068

   No, and I don't think they ever will.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists