Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#1315 closed bug (fixed)

"Actions" in qgis do not work on MS windows

Reported by: rap Owned by: g_j_m
Priority: critical: causes crash or data corruption Milestone:
Component: Symbology Version: 1.0.0
Keywords: action windows Cc: stephan.holl@…
Must Fix for Release: Yes Platform: Windows
Platform Version: windows 0.11 Awaiting user input: no

Description

qGIS (0.11/windows) crashes if you want to use actions (e. g. to link images or websites)

This problem only occure on the windows version, on ubuntu actions seems to work properly.

Original Task: link photos to point shape files using "actions".

An action is defined: calling "firefox" as action The Identify Feature is used to open the identify window A click on the action is used to define the action...

result: qgis crashes

Regards, Gerhard

Attachments (1)

qgiscrash_actions.pdf (250.4 KB ) - added by rap 16 years ago.
screen pictures of the use of action - and its crash

Download all attachments as: .zip

Change History (9)

by rap, 16 years ago

Attachment: qgiscrash_actions.pdf added

screen pictures of the use of action - and its crash

comment:1 by pcav, 15 years ago

Any additional info? It works for me, at least in 1.0 preview[1-2]

comment:2 by mwtoews, 15 years ago

I'm pretty sure this is fixed in version 1.0 and this ticket can be closed. See also #1203 which I just reopened.

comment:3 by pcav, 15 years ago

Resolution: fixed
Status: newclosed

comment:4 by doktoreas, 15 years ago

Resolution: fixed
Status: closedreopened
Version: 0.11.01.0.0

I got this trouble using 1.0.1; clicking an action make Qgis crash. Using windows vista 64bit

Thanks Luca

comment:5 by pcav, 15 years ago

Component: Build/InstallSymbology

comment:6 by mwtoews, 15 years ago

I'm still certain that this issue (in regards to not working on Windows) was fixed for version 1.x. You might have this confused with another bug #1203, which is entirely possible.

But, to be sure, try this:

  1. Add a layer to a QGIS project, and go to the properties
  2. In the "Actions" tab, make a new action
    1. Set name to: Search this
    2. I'll assume you have Firefox installed, so set action to: "C:\Program Files\Mozilla Firefox\firefox.exe" http://www.google.com/search?q=%name
    3. Edit "%name" to grab a field name from your feature layer into the query, such as a single-word name or numeric value. There is an "Insert field" tool to help you out.
    4. Don't select capture, since this is bug #1203, and it doesn't make sense for this action. Keep it unselected!
    5. Click Insert action, and OK
  3. Save the project (in case the crash happens)
  4. Use you identify tool and click on a feature item
  5. Click the action ... did it crash or search the %name ?

Now, if you want to recreate #1203, modify the above to capture output, and use a command that does not exist (e.g., modify firefox.exe to nothing.exe) and crash!

comment:7 by pcav, 15 years ago

Resolution: fixed
Status: reopenedclosed

Comments by mwtoews seem convincing. Closing the bug. If inappropriate, please reopen it.

comment:8 by (none), 15 years ago

Milestone: Version 1.0.1

Milestone Version 1.0.1 deleted

Note: See TracTickets for help on using tickets.