Bug report #11332
qgis crashes when refreshing a composer html item following URL change
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Nyall Dawson | ||
Category: | Map Composer/Printing | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 19626 |
Description
Tweaking the URL value of a composer html item followed by a click on its "Refresh HTML" button will make QGIS crash.
Steps to reproduce crasher:- Create a new project, and open a new composer window
- Add an HTML item onto the composer sheet
- Mouse click on the URL textbox and set its value to "http://ja.wikipedia.org/wiki/"
- Immediately click on the "Refresh HTML" button (so focus will go from the textbox to the button)
- Once the page shows up, mouse click on the URL textbox and set its value to "http://ja.m.wikipedia.org/wiki/"
- Immediately click on the "Refresh HTML button
- At this stage, QGIS should freeze and shortly after crash; if not, change the URL value back to the first URL string, click refresh, and repeat until it crashes (it never takes more than 2 to 3 times here)
Associated revisions
Cancel running requests when loading content in QgsNetworkContentFetcher (fix #11332)
History
#1 Updated by Giovanni Manghi about 10 years ago
- Status changed from Open to Feedback
I'm trying hard here on Ubuntu 14.04/master, but cannot replicate.
#2 Updated by Nyall Dawson about 10 years ago
verified - working on a fix
#3 Updated by Nyall Dawson about 10 years ago
- Status changed from Feedback to Open
#4 Updated by Nyall Dawson about 10 years ago
- Status changed from Open to Closed
Fixed in changeset ac71e600a2d3bfe40b46295a2bbb703716442bfa.