https://bugs.kde.org/show_bug.cgi?id=429089

            Bug ID: 429089
           Summary: MyPaint brushes don't load properly when in a
                    subfolder.
           Product: krita
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Brush engines
          Assignee: krita-bugs-n...@kde.org
          Reporter: griffinval...@gmail.com
  Target Milestone: ---

SUMMARY
When you have mypaint brush pack, these are inside zip files and themselves in
folders. If you copy paste this folder into the preset folder, Krita will be
able to find the brushes, but not able to load them properly

STEPS TO REPRODUCE
1. Get a mypaint brush pack.
2. Unzip it into the presets folder.
3. Load up Krita

OBSERVED RESULT
Krita will recognize the brushes, but load them with a red thumbnail and not
load the brushes when selected.

EXPECTED RESULT
Krita will try to load these brushes from the subfolder they're in.

ADDITIONAL NOTES
- Krita will behave the same way with removed database.
- We should check if Krita loads other resources inside subfolders properly.

Krita
-----

 Version: 5.0.0-prealpha (git 971929f)
 Languages: en_US, en, en_GB, en, nl, en_US, en
 Hidpi: true

Qt

  Version (compiled): 5.15.0
  Version (loaded): 5.15.0

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.4.0-52-generic
  Pretty Productname: KDE neon User Edition 5.20
  Product Type: neon
  Product Version: 20.04
  Desktop: KDE

OpenGL Info

  Vendor:  "Intel" 
  Renderer:  "Mesa Intel(R) UHD Graphics 620 (KBL GT2)" 
  Version:  "4.6 (Compatibility Profile) Mesa 20.0.8" 
  Shading language:  "4.60" 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 4.6, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 

Hardware Information

  GPU Acceleration: auto
  Memory: 7710 Mb
  Number of Cores: 8
  Swap Location: /tmp

Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 30
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Use AMD Vectorization Workaround: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Display Information
Number of screens: 1
        Screen: 0
                Name: eDP-1
                Depth: 24
                Scale: 1
                Resolution in pixels: 1920x1080
                Manufacturer: AU Optronics
                Model: 
                Refresh Rate: 120.016

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to