Bug report #20266
Copy/paste style form widget type
|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|
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
#4 Updated by Lene Fischer about 2 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.
#6 Updated by Denis Rouzaud about 2 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.
#8 Updated by Lene Fischer about 2 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 2 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.