Opened 14 years ago

Closed 14 years ago

#2138 closed bug (fixed)

Attribute Actions Problem

Reported by: johnnyC Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Build/Install Version: 1.3.0
Keywords: actions attribute Cc:
Must Fix for Release: Yes Platform: Windows
Platform Version: XP sp2 Awaiting user input: no

Description

I am using Mimas 1.3.0 (do not have the build version handy) on windows installed using the stand alone installer, installed on laptop with Windows XP pro operating system. I don't know how to assign this issue to a component - I don't know which component the actions feature is associated with. I also don't understand the difference between the milestone and the version in the ticket submission panel so i hope this ticket will make sense.

I am having a strange problem with the attribute action feature. I want to be able to play videos or view pictures associated with various points in my layer. I have input the path to vlc on my machine (in quotes) and then the path to the file (in quotes) using the %% argument to get the value in the attribute: "C:\program files\videolan\vlc\vlc.exe" "c:\pics_n_vids\%%" is the action.

In my specific situation, I have 3 video attributes and 3 picture attributes (the value of each being the name of a video or picture file). So, I should be able to simply right click on one of those values from the Identify Results window and choose the action that I have called View.

This worked perfectly fine in 1.0.1 KORE(or was it 1.0.2??? - it is already replace so i cannot check but either way, it was working fine). But in 1.3.0 Mimas, something strange happens. The value that is sent to the VLC video player is not necessarily the value that I selected from the Identify Results window. The attribute values are correctly associated with the attribute name in the Identify Results window (i.e. video1 is shown to contain the correct filename as I included when I created the layer, etc.) but the value that gets sent to the player can be the value from any of the other attributes listed in the Identify Results window.

Now if I select the video1 attribute value to be played, QGIS can send the attribute value (ie the filename) associated with any of the other attributes. So I might have to select the value associated with video1 attribute so as to view the picture file associated with picture2 attribute, for example, or select the value displayed for picture3 so as to be able to play video1. I am working from layers stored in PostGIS.

I have tried to find any related issue on the forums but have not seen this situation discussed so I am submitting this as a ticket.

Change History (1)

comment:1 by jef, 14 years ago

Resolution: fixed
Status: newclosed

not sure when it was broken, but r12225 should fix it.

Note: See TracTickets for help on using tickets.