Bug report #7764
composer: search directories filter/dropdown (to add images) does not work
|Affected QGIS version:||master||Regression?:|
|Operating System:||Easy fix?:|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||16663|
it shows always all the symbols, regardless the directory that is selected.
I would also suggest to use aliases (or just the name of the folder) instead of the entire path for the symbols installed by default. This already happens in the symbology dialogs.
Tested on the latest master on Ubuntu.
many symbols have disappeared too
#1 Updated by Larry Shaffer over 9 years ago
That QComboBox is not a filter (though many users probably think so - I did). It is a means of selecting a given directory to take action upon, e.g. adding/removing it from the SVG search directories list. I believe that Composer SVG selector was made before the new one in symbology. Also, it uses a different, additional set of search directories than the other SVG selectors, which should combined at the base SVG search paths, not just in Composer.
There is also an issue with those symbols loading multiple times on an initial Composer launch ( see issue #7458 ). I have pulled the symbology class's SVG picker out into its own class, and just yesterday turned it into a standalone SVG selector. That selector dialog can be used to fix this issue and the related one.
I should be adding the use of the new selector this week.
#5 Updated by Nathan Woodrow over 9 years ago
This has been "fixed" by adding a label to indicate that it isn't a filter. The correct solution is to use the new SVG selector that Larry has worked on however some changes still need to be made to that in order to make it work with the composer and will be postponed until 2.1.