Improve importing libraries

Please use this forum to ask for a new feature or to change an existing feature.
Merci d'utiliser ce forum pour demander de nouvelles fonctionnalités ou la modification de fonctionnalités existantes.

Improve importing libraries

Postby kikeenrique » Wed 10 Oct 2018 23:49

Hi,
I would like to propose an improvement for the import as library feature, so it can be easier.
When I need to update my library projects, it always needs an extra step to locate the library bouml project file path.

My proposal is to save the path to the file the first time the import as library Is executed. When executing an update, just import the changes from that previously saved path. If the file has dissapeared , ask for the path (current behaviour).

Regards and thanks for all the work.
kikeenrique
 
Posts: 6
Joined: Tue 24 Jul 2018 09:52

Re: Improve importing libraries

Postby Bruno Pagès » Thu 11 Oct 2018 07:55

Hello,

You are right, to help I will save the path of the imported/last update and propose it when it still exists, but I prefer the user confirm in any cases

Kind regards
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 603
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: Improve importing libraries

Postby kikeenrique » Tue 16 Oct 2018 10:50

Thanks for your reply Bruno.

Also interesting would be that the file dialog chooser would filter the files and just show the “.prj”. Currently the other files are grayed, but, would it be possible to hide them completely?

Kind regards
kikeenrique
 
Posts: 6
Joined: Tue 24 Jul 2018 09:52

Re: Improve importing libraries

Postby Bruno Pagès » Tue 16 Oct 2018 15:21

Hello,

Sorry but there is no option in QFileDialog::getOpenFileNames to hide the filtered entries, and I don't know which file navigator is used, it can be the QT one or a system one depending on he OS

Kind regards
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 603
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: Improve importing libraries

Postby kikeenrique » Wed 17 Oct 2018 13:58

Ok, I’ve realized that in fact is an OS problem.
On Linux/Debian I can only see *.prj files.
On Mac I can see all files, but all files except *.prj are gray.

Similar problems where already reported on qt https://bugreports.qt.io/browse/QTBUG-38303
kikeenrique
 
Posts: 6
Joined: Tue 24 Jul 2018 09:52

Re: Improve importing libraries

Postby Bruno Pagès » Wed 17 Oct 2018 14:20

under Windows you can see only the prj files, the used file explorer is the Windows one
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 603
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: Improve importing libraries

Postby Bruno Pagès » Tue 23 Oct 2018 18:00

Hello,

BoUML 7.8 is available, adding the memorization of the path of the imported/updated project as library to propose it at the next update

Kind regards

P.S. The 7.8 is also available for the new Ubuntu 18.10
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 603
Joined: Mon 20 Feb 2012 09:23
Location: France


Return to Change requests / Demandes d'évolution

Who is online

Users browsing this forum: No registered users and 1 guest

cron