[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2020-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411214

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|Database-Maintenance|Plugin-FilesIO-Magick

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-18 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

Maik Qualmann  changed:

   What|Removed |Added

   Version Fixed In||6.4.0
 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #83 from Maik Qualmann  ---
The problem with the memory consumption of XCF files is fixed, I close the bug
now.

Maik

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-17 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #82 from Maik Qualmann  ---
DigiKam also works without ImageMagick. Has advantages for a few special
formats, e.g. Webp, because ImageMagick also supports color profiles.

Maik

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #81 from maderios  ---
I imagine Digikam still needs IM because IM is still present in Digikam code.
That's why it's necessary to blacklist it. Can Digikam work without IM now?

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #80 from Maik Qualmann  ---
Yes, the ImageMagick loader now ignores XCF files. Now KImageFormats tries to
open the images...

Maik

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #79 from maderios  ---
Yes but IM creates worth problem, there is no good choice...
In the past, we updated finger prints without Imagemagick. Could we get rid of
IM and go back to Kimageformats?

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #78 from Maik Qualmann  ---
But also no fingerprints for gimp-2.10 files...

Maik

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #77 from maderios  ---
No more freeze when updating XCF finger prints.
It works :)

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #76 from Maik Qualmann  ---
Git commit fc62ae63611bff6bba73fa4cdb68feea919dae5a by Maik Qualmann.
Committed on 16/09/2019 at 16:42.
Pushed by mqualmann into branch 'master'.

add blacklist to ImageMagick loader, first mime type is XCF

M  +8-3core/libs/dimg/loaders/magickloader.cpp

https://invent.kde.org/kde/digikam/commit/fc62ae63611bff6bba73fa4cdb68feea919dae5a

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #75 from Maik Qualmann  ---
I'm adding a whitelist to IM Loader tonight. For Webp and others it is well
suited.

Maik

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #74 from maderios  ---
I see in "component information' that my digikam-git is compiled with
Imagemagick codecs but it's false. 
I think there's something inside digikam code that forces digikam build to use
Imagemagick. 
Important: I clean build directory each time before I compile digikam with
options '-sicC':
man makepkg
-C, --cleanbuild
Remove the $srcdir before building the package.
-c, --clean
Clean up leftover work files and directories after a successful build.
-s, --syncdeps

My PKGBUILD script:

pkgname=digikam-git
pkgver=r43949.5352aa5f77
pkgrel=3
pkgdesc='Digital photo management application for KDE'
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.digikam.org/;
depends=(liblqr lensfun opencv knotifyconfig kfilemetadata qtav  threadweaver
qt5-xmlpatterns)
makedepends=(extra-cmake-modules doxygen eigen boost kdoctools git)
optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional
image formats (WEBP, TIFF)')
conflicts=('digikam')
provides=('digikam')
install=digikam-git.install
source=('digikam::git+git://anongit.kde.org/digikam')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/digikam"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short
HEAD)"
}

prepare() {
if [[ -d "${srcdir}/build" ]]; then
  msg "Cleaning the previous build directory..."
  rm -rf "${srcdir}/build"
  fi
  mkdir "${srcdir}/build"
}

build() {
  cd "${srcdir}/build"
  cmake ../digikam \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DENABLE_KFILEMETADATASUPPORT=ON \
-DENABLE_MEDIAPLAYER=ON \
-DENABLE_AKONADICONTACTSUPPORT=OFF \
-DENABLE_MYSQLSUPPORT=ON \
-DENABLE_APPSTYLES=ON \
-DENABLE_QWEBENGINE=OFF \
-DOpenGL_GL_PREFERENCE=GLVND
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #73 from maderios  ---
Issue happens only when updating finger prints.

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #72 from maderios  ---
I recompiled (thanks Ccache to get time!) last git master digikam without
imagemagick and kimageformats dependencies. 
I uninstalled kimageformats. I get same freeze, 4 huge imagemagick files in
/tmp, digikam eats more 3 G memory. Strange issue...

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #71 from caulier.gil...@gmail.com ---
Maik, has already investigate about this problem and found a dysfunction in a
KImageFormat XCF codec :

https://github.com/KDE/kimageformats/tree/master/src/imageformats

KImageFormat are QImage IO plugins. Un-installing this package will not break
Qt, but remove codecs used at run time. This must solve your problem.

Gilles Caulier

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #70 from maderios  ---
I just recompiled digikam git without Imagemagick.
It freezes same way with XCF. I see it tries to use IM
'Try to load image with ImageMagick codecs'
I don't understand why...

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #69 from Maik Qualmann  ---
If a HiDPI screen has a scaling factor, digiKam supports up to 10124x1024
thumbnails.

Maik

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #68 from caulier.gil...@gmail.com ---
thumb of 128x128 are not enough. For HDPI screens we support 512x512 thumbs...

Gilles

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #67 from maderios  ---
Except Gimp 2.10, at this time, no software can open/display gimp 2.10 XCF
files. Gnome softs are unable to do it. Using <= 128 pixels thumbnails cached
by Gimp, may be a solution to display  thumbs in Digikam ?

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #66 from caulier.gil...@gmail.com ---
I'm surprised that nobody report this problem yet... Nobody use Gimp 2.10
(:=))) ?

Gilles Caulier

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #65 from maderios  ---
> This one as plenty of image loader hardcoded, including XCF !
> 
> https://invent.kde.org/kde/krita/tree/master/plugins/impex
> 

Yes but your support is old, for gimp <= 2.8 xcf

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #64 from caulier.gil...@gmail.com ---
Perhaps krita team has a file in bugzilla about this topic and work on it ?

Gilles Caulier

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #63 from maderios  ---
I just tried to open gimp 2.10 XCF file with Krita 4.2.6 : Krita says it
doesn't support 2.9/2.10 gimp xcf.

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #62 from caulier.gil...@gmail.com ---
Maderios,

Can you test Krita editor ?

https://invent.kde.org/kde/krita

This one as plenty of image loader hardcoded, including XCF !

https://invent.kde.org/kde/krita/tree/master/plugins/impex

If you can open your XCF files with Krita, this want mean that i have a
suitable code which can be backported in digiKam. I plan to create a new plugin
interface for image loader in digiKam, as it's done with Krita.

Best

Gilles Caulier

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #61 from maderios  ---
Sad to say but, good news...

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #60 from Maik Qualmann  ---
We are beginning to realize that IM is not suitable as an image loader for
digiKam. See also Bug 411027. I think we will disable IM in digiKam-6.4.0 for
the time being.

Maik

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

maderios  changed:

   What|Removed |Added

   Platform|Archlinux Packages  |Compiled Sources

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

[digikam] [Bug 411214] Digikam git beta 6.4 eats huge memory

2019-09-16 Thread maderios
https://bugs.kde.org/show_bug.cgi?id=411214

maderios  changed:

   What|Removed |Added

Summary|Digikam git beta 6.3 eats   |Digikam git beta 6.4 eats
   |huge memory |huge memory

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