Bug report #18790

[Layout] drag-and-drop a layout template from file browser can create layout with empty name

Added by Harrissou Santanna over 2 years ago. Updated over 2 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:3.1(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:26677

Description

Drag-and-drop a layout template from file browser onto QGIS canvas
You'll be asked to select a name for the layout
Apply without giving a name: you get a new but unnamed print layout.

Associated revisions

Revision b63733ed
Added by Nyall Dawson over 2 years ago

[layouts] Fix handling of layout name when dropping qpt file to app

- Fix entered name is ignored and replaced by stored name
- Default to name stored in qpt as initial name for layout

Fixes #18790

Revision da2c4be3
Added by Nyall Dawson over 2 years ago

[layouts] Fix handling of layout name when dropping qpt file to app

- Fix entered name is ignored and replaced by stored name
- Default to name stored in qpt as initial name for layout

Fixes #18790

(cherry-picked from b63733ed9)

History

#1 Updated by Nyall Dawson over 2 years ago

  • Status changed from Open to In Progress

#2 Updated by Nyall Dawson over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF