Bug report #7764

composer: search directories filter/dropdown (to add images) does not work

Added by Giovanni Manghi over 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
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

Description

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.

PS
many symbols have disappeared too


Subtasks

Feature request #8257: Add new SVG/Image selector to composerOpenLarry Shaffer

Associated revisions

Revision f5632b68
Added by Nathan Woodrow about 6 years ago

Add label for composer picture search paths. Fix #7764

History

#1 Updated by Larry Shaffer over 6 years ago

Hi Giovanni,

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.

#2 Updated by Giovanni Manghi over 6 years ago

I should be adding the use of the new selector this week.

Hi Larry, the new selector has not yet been added yet, correct? just checking. Cheers!

#3 Updated by Larry Shaffer over 6 years ago

Correct, it has not been. Going to do that right after what I am working on.

#4 Updated by Anonymous about 6 years ago

  • Status changed from Open to Closed

#5 Updated by Nathan Woodrow about 6 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.

Also available in: Atom PDF