-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple selection from table paste into layer crashes QGIS #15888
Comments
Author Name: Giovanni Manghi (@gioman) it works fine here on master, please try qgis-dev/osgeo4w and/or attach sample data.
|
Author Name: Giovanni Manghi (@gioman) closing for lack of feedback, reopen if necessary.
|
Author Name: Patrick Dunford (@enzedrailmaps) This is inconsistent, it will crash on some occasions but not on others. However, what is consistent is that it is the only time Qgis crashes when pasting multiple features. Usually, the source file layer is a KML file and the destination file layer is SHP. They have different column names (since the column names in a KML produced by Google Earth are preset to Name and Description). The shapefiles I use generally have two columns, Name and Caption, both 80 character text columns. There's no point in me sending you sample data, since I can't make it consistently crash with the same data on different occasions.
|
Author Name: Patrick Dunford (@enzedrailmaps) By the way I have quite a lot of paste crashes, in various circumstances |
Author Name: Patrick Dunford (@enzedrailmaps) Here is a summary of copy/paste problems
Today for example I opened a KML and selected 25 features by using a selection rectangle. I deliberately ensured the selection rectangle was dragged all the way across the source area. I then pasted them to another layer. After the paste, seven features were not pasted. Only 18 features were pasted. Since there is no way I can look at the clipboard to see whether there were 25 features on it, I can't actually tell whether the problem was at the copy operation or the paste operation. After about my third or fourth attempt I finally managed to get all 25 features pasted at one operation. |
Author Name: Patrick Dunford (@enzedrailmaps) Here's another more consistent multiple selection operation
At a rough guess, the features that weren't moved are the ones that weren't actually visible at the time, because they were not within the client area of the application window. But if you do any kind of multiple selection, an operation should apply to all selected features, not just the ones that are visible in the application window at the time. This has been observed multiple times and seems to be consistent. |
Author Name: Patrick Dunford (@enzedrailmaps) Using the attached data and a Windows 8 x64 computer with QGis 1.9 2a4d79d
|
Author Name: Patrick Dunford (@enzedrailmaps) By the way, this is an example of multi feature paste crash when features are selected in the attribute table. If I select the multiple features in the map using the selection tools and then paste them, no crash occurs. This is how I have managed to keep my hair on until now. |
Author Name: Patrick Dunford (@enzedrailmaps) Tested and shown to crash on Windows 7 x86 running another build of 1.9 Cannot test on the latest master 0c1faa5 until the KML loading bug is fixed. |
Author Name: Giovanni Manghi (@gioman) On the latest master it seems to work fine, selection can be done using the map. Does this happen only when selecting/copying from the table of attributes? If yes it is a regression, so meanwhile I'll tag this as blocker, waiting for the attributes issue to be fixed for kml, gpx, etc.
|
Author Name: Patrick Dunford (@enzedrailmaps) This does happen when the attribute table is used to select the features, which I am assured is a legitimate way of selecting multiple features for copying. |
Author Name: Giovanni Manghi (@gioman) Patrick Dunford wrote:
yes of course. |
Author Name: Regis Haubourg (@haubourg) is this speficic to kml provider? shp works fine here |
Author Name: Nathan Woodrow (@NathanW2) Seems a bit hit and miss. I just had a crash copying from the attribute table but now I can't get it to do it again. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Matthias Kuhn (@m-kuhn) Can't reproduce with the attached dataset (tried several times). |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Salvatore Larosa (@slarosa) I can not reproduce it here, tested on Linux and Windows XP. Please do you check if this may be closed ? |
Author Name: Patrick Dunford (@enzedrailmaps) I just checked it again on my computer (see #15888 (comment)) |
Author Name: Matthias Kuhn (@m-kuhn) Patrick, would you be able to generate a backtrace or crashdump? |
Author Name: Patrick Dunford (@enzedrailmaps) Can you give me the steps for that. |
Author Name: Salvatore Larosa (@slarosa) Patrick Dunford wrote:
I guess you are asking for Windows, if yes you can find a dump file (like @qgis-date-xxxx-xxxx-revision.dmp@) |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Patrick Dunford (@enzedrailmaps) There are no files called *.dmp anywhere in my computer. |
Author Name: Giovanni Manghi (@gioman) Patrick Dunford wrote:
the dump files are discarded when you reboot, I think. |
Author Name: Salvatore Larosa (@slarosa) Patrick Dunford wrote:
Hi Patrick, |
Author Name: Patrick Dunford (@enzedrailmaps) No such thing happens. I get the Windows error dialog telling me that Qgis has stopped working. Nothing tells me where to find the dmp files. |
Author Name: Giovanni Manghi (@gioman) Patrick Dunford wrote:
are you using the latest qgis master available? |
Author Name: Patrick Dunford (@enzedrailmaps) Install build 28 of the weekly builds Well it doesn't crash any more so I can't get you any dmp files :) |
Author Name: Salvatore Larosa (@slarosa)
|
Author Name: Patrick Dunford (@enzedrailmaps)
Original Redmine Issue: 6723
Affected QGIS version: master
Redmine category:vectors
When multiple features of a layer are selected in the layer using the selection tools and pasted to another layer, QGIS performs the paste satisfactorily.
However if a table is opened and used to select the multiple features, the paste operation to another layer crashes QGIS.
The text was updated successfully, but these errors were encountered: