[QGIS-trac] Re: [Quantum GIS] #1315: "Actions" in qgis do not work on MS windows

Quantum GIS qgis at qgis.org
Sat Mar 28 23:15:08 EDT 2009


#1315: "Actions" in qgis do not work on MS windows
--------------------------------------------------------------+-------------
        Reporter:  rap                                        |         Owner:  g_j_m         
            Type:  bug                                        |        Status:  reopened      
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.1 
       Component:  Symbology                                  |       Version:  1.0.0         
      Resolution:                                             |      Keywords:  action windows
Platform_version:  windows 0.11                               |      Platform:  Windows       
        Must_fix:  Yes                                        |   Status_info:  0             
--------------------------------------------------------------+-------------
Comment (by mwtoews):

 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
  1. In the "Actions" tab, make a new action
   1. Set name to: Search this
   1. 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
   1. 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.
   1. Don't select capture, since this is bug #1203, and it doesn't make
 sense for this action. Keep it unselected!
   1. Click Insert action, and OK
  1. Save the project (in case the crash happens)
  1. Use you identify tool and click on a feature item
  1. 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!

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1315#comment:6>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list