Feature request #13562

Add a template selector to the add new composer dialog

Added by Anita Graser about 2 years ago. Updated 6 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

As discussed in https://lists.osgeo.org/pipermail/qgis-ux/2015-October/000367.html, I think it would be good to give the user a chance to create a print layout with map item. We could ship some templates which could be selected when creating a new composer:

newcomposermockup.png (7.39 KB) Anita Graser, 10/10/2015 09:54 AM

qgis_composer_manager.png - Screenshot of the already existing composer manager dialogue (27.7 KB) Andreas Neumann, 10/10/2015 11:14 AM

composermanager_new1.png (17.1 KB) Anita Graser, 10/10/2015 12:29 PM

composermanager_new2.png (23.9 KB) Anita Graser, 10/11/2015 05:42 AM

History

#1 Updated by Andreas Neumann about 2 years ago

We already have the "Composer Manager" dialogue which allows to select a template. See attached file.

Maybe we can just display the "Composer Manager" dialogue instead? Maybe it needs to be improved to be easier for novices - but it seems suboptimal to me to now have redundant ways to select templates.

#2 Updated by Regis Haubourg about 2 years ago

Andreas Neumann wrote:

We already have the "Composer Manager" dialogue which allows to select a template. See attached file.

Maybe we can just display the "Composer Manager" dialogue instead? Maybe it needs to be improved to be easier for novices - but it seems suboptimal to me to now have redundant ways to select templates.

+1 . Using Arcgis sometimes, I like the idea of having a thumbnail of what templates look like also. That could be an improvement for composer manager.

#3 Updated by Anita Graser about 2 years ago

  • File composermanager_new1.png added

What do you think of this draft

#5 Updated by Anita Graser about 2 years ago

Do you think it's better to have one dialog which combines Adding new and Editing existing composers? Or shouldn't those be two dialogs? One specialized on adding a new composer and one only for existing ones?

#6 Updated by Anita Graser about 2 years ago

  • File deleted (composermanager_new1.png)

#7 Updated by Richard Duivenvoorde about 2 years ago

Anita I like your proposal, I've actually never liked the little dialog of 'New print composer' because I never give a name when I want to do a quick print, and mostly do not have one or two layouts per project.

So +1 for your layout (though maybe the preview is a lot of work?) And I would propose to remove the 'New print composer' menu item (even if the preview does not make it), so people always go via the 'Composer manager' (which could be renamed maybe to 'Composers' or 'Prints')?

#8 Updated by Andreas Neumann about 2 years ago

Hi Anita,

I like the proposal. I also like the idea of the preview. Would the preview only be shown for templates or also for existing composers? May be a performance problem for more complex maps in layouts ...

The only thing I miss is that I'd like to be able to set a name for the new print composer right from the start. As opposed to Richard I usually publish my projects with QGIS server - and there the name of the composer is important - as it will show up in the Web-GIS. So could we add an additional text input widget in the "New from template" section where one can also set the name.

For me it would be annoying if I would have to create a new composer and then have to set the name in a separate step by renaming the composer.

I assume we also allow a "blank" template?

Thanks,
Andreas

#9 Updated by Andreas Neumann about 2 years ago

Or maybe we won't show the map in the preview but replace it with a map icon or simple default map displayed in the map frame.

#10 Updated by Harrissou Santanna about 2 years ago

Andreas Neumann wrote:

The only thing I miss is that I'd like to be able to set a name for the new print composer right from the start. As opposed to Richard I usually publish my projects with QGIS server - and there the name of the composer is important - as it will show up in the Web-GIS. So could we add an additional text input widget in the "New from template" section where one can also set the name.

For me it would be annoying if I would have to create a new composer and then have to set the name in a separate step by renaming the composer.

+1. I also often have many print composers in each project (not for server, just export as image) and find very handy to name them as soon as they are created.

#11 Updated by Anita Graser about 2 years ago

Richard Duivenvoorde wrote:

maybe the preview is a lot of work?

Maybe, I'd consider the preview optional nice to have.

I would propose to remove the 'New print composer' menu item (even if the preview does not make it), so people always go via the 'Composer manager' (which could be renamed maybe to 'Composers' or 'Prints')?

+1 for getting rid of the current New Print Composer/Composer title dialog and using only Composer Manager. I think we had a discussion before where many agreed that renaming Compositions to something like "print designs" would be desirable. Will have to dig out that thread.

Andreas Neumann wrote:

Would the preview only be shown for templates or also for existing composers? May be a performance problem for more complex maps in layouts ...

Both would be nice. The preview could be stored similarly to the way recent project previews are stored now. That wouldn't impact performance I think.

could we add an additional text input widget in the "New from template" section where one can also set the name.

There could be a text input with a default name that can be changed by the user.

I assume we also allow a "blank" template?

Sure, maybe: "blank", "full page map", and "map with title, legend, and scalebar" ...

Or maybe we won't show the map in the preview but replace it with a map icon or simple default map displayed in the map frame.

That sounds like a good approach if it makes the implementation much easier.

#12 Updated by Anita Graser about 2 years ago

What are your thoughts on the "Open template directory" buttons? They seem very odd and I don't recall that we have anything similar anywhere else in the GUI.

#13 Updated by Anita Graser about 2 years ago

  • File composermanager_new2.png added

#15 Updated by Anita Graser about 2 years ago

  • File deleted (composermanager_new2.png)

#16 Updated by Giovanni Manghi 6 months ago

  • Easy fix? set to No

Also available in: Atom PDF