Bug report #20266
Copy/paste style form widget type
Status: | Open | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Denis Rouzaud | ||
Category: | Forms | ||
Affected QGIS version: | 3.4.5 | Regression?: | No |
Operating System: | Windows 7 | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28087 |
Description
In 3.4 copy/paste style for forms does not paste
Tried to save/load style - same result
In 3.2 it worked for same feature type
History
#1 Updated by Lene Fischer about 6 years ago
- Subject changed from Copy/paste style form to Copy/paste style form widget type
The forms are created - but the widget types/default values are not added
#2 Updated by Nyall Dawson about 6 years ago
- Assignee changed from Nyall Dawson to Denis Rouzaud
#3 Updated by Denis Rouzaud about 6 years ago
- Status changed from Open to Feedback
Did you copy forms only?
You need to copy fields category too.
#4 Updated by Lene Fischer about 6 years ago
No I haven´t copied the fields - The two layer has different fields (table structure) only in the Form they share fields.
If I copy fields wouldn´t it change the table structure ?
Another question - I can´t copy / paste both at the same time - Then how do I perform the action ?
In 3.2 it worked - except for different geometry types - If I saved the style into a file and deleted the Geometry part, it worked as wanted.
Now I can´t even use save style.
#5 Updated by Giovanni Manghi about 6 years ago
- Status changed from Feedback to Open
- Priority changed from Normal to High
#6 Updated by Denis Rouzaud about 6 years ago
- Status changed from Open to Feedback
Otherwise, if you need a specific combination:
- do it one after the other
- use the dialog in vector layer properties to export to file the specific categories you want to export.
#7 Updated by Denis Rouzaud about 6 years ago
- Regression? changed from Yes to No
I don't see a regression here.
The save style dialog is still accessible (and now can be configured with specific categories, so no need to manually edit the file)
#8 Updated by Lene Fischer about 6 years ago
- File form.JPG added
No I don´t want to copy all styles...
The main problem is that copying the fields is in my mind the data structure - correct me if I´m wrong - and that´s not what I want. I want the entire attribute form - including the widget type and filter expression - see image.
#9 Updated by Denis Rouzaud about 6 years ago
well, the configuration of the widget is actually the field category of the style categories. At the moment, you cannot choose some specific fields you would like to copy.
but I think we are maybe misunderstanding.
when you copy "fields" in the style menu, it doesn't copy the fields but their configuration.
So in your case, you can copy/paste fields then copy/paste form and this should work.
#10 Updated by Giovanni Manghi over 5 years ago
- Status changed from Feedback to Closed
- Resolution set to no timely feedback
So in your case, you can copy/paste fields then copy/paste form and this should work.
closing fot lack of feedback.
#11 Updated by Lene Fischer over 5 years ago
- Status changed from Closed to Reopened
It still doesnt work.
If I copy a form and paste to another layer - nothing happens.
If i copy all and just past the form it doesnt work either.
I don´t want to copy past all.
#12 Updated by Giovanni Manghi over 5 years ago
- Affected QGIS version changed from 3.4.0 to 3.4.5
- Status changed from Reopened to Open
- Resolution deleted (
no timely feedback)