[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2023-05-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444056

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

   What|Removed |Added

 Status|REPORTED|RESOLVED
   Version Fixed In||8.1.0
 Resolution|--- |FIXED

--- Comment #29 from caulier.gil...@gmail.com ---
Hi Jan,

I suspect that refresh thumbnail can be perturbed by the locking file under
Windows. This problem have been already seen previously.

Just press F5 to refresh album thumbnail manually.

I close this file now

Gilles Caulier

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-11-14 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #28 from Jan van Bekkum  ---
I have migrated to MySQL and that looks like solving the issue. However, I
encountered a different (much smaller) thing: if I rotate 6 images the
thumbnails in thumbnail view of 5 or so images will rotate as well correctly,
but one will not. After some switching between differnet views and forlders
eventually it will rotate as well. The thumbnails above the image view are all
correct immediately.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-11-13 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #27 from Jan van Bekkum  ---
I use Windows Defender only. Switching it off makes no difference.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-11-12 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #26 from Maik Qualmann  ---
The problem cannot be reproduced here and has not yet been reported again. At
the moment I have no idea why the rotation leads to a database lock problem for
you. Again the question, which antivirus software do you use?

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-11-12 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #25 from Jan van Bekkum  ---
I also tried to change to "Rotate by only setting a flag" instead of changing
the content. Although the thumbnails now rotate immediately, Digikam still
freezes for quite some time.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-11-12 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #24 from Jan van Bekkum  ---
I have run Digikam with one core active only, but the behaviour stayed the
same.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-11-10 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #23 from Jan van Bekkum  ---
If I do the same operations on images that are on my NAS, which has a much
lower access speed than the computer memory, the operation works as expected.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-11-10 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #22 from Jan van Bekkum  ---
Would it make sense to change databases to solve this issue?

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #21 from Jan van Bekkum  ---
I disabled monitoring of the albums to external change at runtime of digiKam
and restarted. I then flipped 3 images in thumbnail view. This took a minute or
so.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #20 from Maik Qualmann  ---
The next problem are 24 CPU cores leading to a traffic jam in the SQLite DB.

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #19 from Maik Qualmann  ---
First, do you actually need the monitoring of the albums to external change at
runtime of digiKam? If no, disable the option in the Setup Collection page in
the digiKam Setup.
Then it looks like the first scan of a collection is not yet completed. You
should wait, no longer runs a process in the status bar, this can take on big
collections hours. During these scans, the SQLite database is very busy and can
hardly serve other tasks.

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #18 from Jan van Bekkum  ---
Created attachment 142665
  --> https://bugs.kde.org/attachment.cgi?id=142665=edit
DebugView log with system variable set

Now a lot bigger log file.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #17 from caulier.gil...@gmail.com ---
The Xnview MP is based on Qt internally. Download the binary tarball, and look
the contents : qt*, qtav, ffmpeg, etc...

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #16 from caulier.gil...@gmail.com ---
Hi Maik,

Few days ago, i explored the XNView forums and i discovered an entry explaining
a lock conflict between the application and Windows file explorer. Typically,
depending of codec installed on the system (to support video thumbnails for
ex), a file lock is never free by explorer and client application is blocked a
while.

This is typically a low level lock don by the system, which cannot be fixed in
client application.

I will try to found this entry...

Gilles

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #15 from Maik Qualmann  ---
Your variable value is wrong, the star * is missing.

digikam*=true

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #14 from Jan van Bekkum  ---
Created attachment 142653
  --> https://bugs.kde.org/attachment.cgi?id=142653=edit
Environment variable

I see no difference with the previous logs. To be sure: environment variable as
attached.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-20 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #13 from Jan van Bekkum  ---
Created attachment 142652
  --> https://bugs.kde.org/attachment.cgi?id=142652=edit
Debug log with environment variable set

Now with user environment set as requested. I noticed that the first time I did
a rotate it happened in a few seconds, rotating an new group of images after
that gave much delay.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444056

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

   What|Removed |Added

  Component|general |Plugin-Bqm-Rotate

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #12 from caulier.gil...@gmail.com ---
On Windows, application text output is not sent to the terminal. You need to
install DebugView tool to capture text traces generated by digiKam.

Before to start digiKam and DebugView, from your Windows System Info panel, add
a new user variable with these criteria:

name: "QT_LOGGING_RULES"
value: "digikam*=true"

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #11 from Jan van Bekkum  ---
That is what I did, but I couldn't find info about the environment variable.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444056

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

   What|Removed |Added

 CC||caulier.gil...@gmail.com

--- Comment #10 from caulier.gil...@gmail.com ---
Look at this page : https://www.digikam.org/contribute/

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #9 from Jan van Bekkum  ---
What debug environment variable should I set?

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #8 from Maik Qualmann  ---
You did not set the debug environment variable in the Windows environment
editor. We only see warnings in the log, not debug messages.
A test here with SQLite shows no problems for me either. We may have to reduce
the number of threads because your processor has a lot.
Gilles, can you reproduce the problem?

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #7 from Jan van Bekkum  ---
Created attachment 142636
  --> https://bugs.kde.org/attachment.cgi?id=142636=edit
Log of an entire run

Please find attached a more complete log. DebugView was started prior to
Digikam and closed after Digikam was closed.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #6 from Maik Qualmann  ---
Hmm, I tested it with MySQL, it seems to be a SQLite lock problem as several
processes want to write to the DB at the same time. With SQLite, however, only
one write process can take place at a time. Please make a new DebugView log
with more from the beginning and the end.

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #5 from Jan van Bekkum  ---
Created attachment 142635
  --> https://bugs.kde.org/attachment.cgi?id=142635=edit
DebugView log

Hi Maik,

Please find attached the DebugView log.

Regards,

Jan

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #4 from Maik Qualmann  ---
Well, my images are also 6000x4000 px. We need a DebugView (Microsoft program)
log with an active debug variable, if you rotate images, as described here:

https://www.digikam.org/contribute/

Otherwise we won't be able to help, because a short test under Windows 11 in a
VM shows no abnormalities either. Candidates are always anti-virus programs
that can block digiKam.

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Jan van Bekkum
https://bugs.kde.org/show_bug.cgi?id=444056

Jan van Bekkum  changed:

   What|Removed |Added

 CC||jan.vanbek...@gmail.com

--- Comment #3 from Jan van Bekkum  ---
Created attachment 142633
  --> https://bugs.kde.org/attachment.cgi?id=142633=edit
Rotate settings

The images are 5,782x3,946 sized jpg images. Rotation settings are attached.

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

--- Comment #2 from Maik Qualmann  ---
My computer is far from the performance of yours, I need about 4 seconds for 10
JPG images with active lossless rotation.

Maik

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

[digikam] [Bug 444056] Rotating 10 images takes 4 minutes

2021-10-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=444056

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #1 from Maik Qualmann  ---
What kind of images are they, JPG, TIFF, PNG, etc.? Which setting for rotation
do you use exactly in the digiKam settings?

Maik

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