[Bug 122985] Slow working with photos

2013-09-10 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #24 from SVN Robot  ---
"hdu" committed SVN revision 1521488 into trunk:
#i122985# fix compile error in pngreader.cxx for product build with debug
ena...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 122985] Slow working with photos

2013-09-10 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #23 from SVN Robot  ---
"hdu" committed SVN revision 1521489 into branches/AOO401:
#i122985# fix compile error in pngreader.cxx for product build with debug
ena...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-06 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #22 from SVN Robot  ---
"alg" committed SVN revision 1520507 into branches/AOO401:
i122985 Various speedups for graphic object swapping to enhance user experience

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-06 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #21 from Armin Le Grand  ---
ALG: Looks good, found a missing part of #122923# which was needed, added.
Preparing commit for AOO401...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


4.0.1_release_blocker granted: [Bug 122985] Slow working with photos

2013-09-06 Thread bugzilla
j...@apache.org has granted Armin Le Grand 's request for
4.0.1_release_blocker:
Bug 122985: Slow working with photos
https://issues.apache.org/ooo/show_bug.cgi?id=122985


--- Additional Comments from j...@apache.org
approve showstopper request


[Bug 122985] Slow working with photos

2013-09-06 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

j...@apache.org changed:

   What|Removed |Added

 CC||j...@apache.org
   Target Milestone|4.1.0   |4.0.1
  Flags|4.0.1_release_blocker?  |4.0.1_release_blocker+

--- Comment #20 from j...@apache.org ---
approve showstopper request

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-05 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #18 from SVN Robot  ---
"alg" committed SVN revision 1520296 into trunk:
i122985 Various speedups for graphic object swapping to enhance user experience

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-05 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

Armin Le Grand  changed:

   What|Removed |Added

 Status|ACCEPTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #19 from Armin Le Grand  ---
ALG: Testing final version on Linux and AOO401...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


4.0.1_release_blocker requested: [Bug 122985] Slow working with photos

2013-09-05 Thread bugzilla
Armin Le Grand  has asked  for 4.0.1_release_blocker:
Bug 122985: Slow working with photos
https://issues.apache.org/ooo/show_bug.cgi?id=122985


--- Additional Comments from Armin Le Grand 
ALG: Works like a charm, adding this. GraphicObjects get flushed when deleted
or redoing a delete. Preparing commit, setting AOO401 flag, too.


[Bug 122985] Slow working with photos

2013-09-05 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

Armin Le Grand  changed:

   What|Removed |Added

   Target Milestone|--- |4.1.0
  Flags||4.0.1_release_blocker?

--- Comment #17 from Armin Le Grand  ---
ALG: Works like a charm, adding this. GraphicObjects get flushed when deleted
or redoing a delete. Preparing commit, setting AOO401 flag, too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-05 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #16 from Armin Le Grand  ---
ALG: Also saw that deleting graphic objects does not flush the graphic content
since these objects go to the undo stack. Added code to do this when objects
get deleted and move to the undo stack. This will help when adding/removing a
lot of pictures (e.g. D&D copy/paste from explorer or similar). Checking...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-05 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

Armin Le Grand  changed:

   What|Removed |Added

 Status|CONFIRMED   |ACCEPTED

--- Comment #15 from Armin Le Grand  ---
ALG: Linux check led to slight adaptions in png importer, works well, adapting
to win version. Adding comments and preparing commit...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-04 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #14 from Armin Le Grand  ---
ALG: Checking all changes on Linux...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-04 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #13 from Armin Le Grand  ---
ALG: Looking for a good compromize with the swap-out time: The default is 10
minutes. The minimum is one minute, thus 60 seconds. When the minimum should
match to the former hard-coded 5 seconds, we have a divisor of 12 to use. For
the default of 10 minutes this would mean 50 seconds. Compared to before this
is ten times more (would allow better navigation by switching through pages)
and is controllable by the user by setting the
tools/options/memory/Remove_from_memory_after setting. Seems to be a good
compromize to me. Checked in a living office, feels good.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-04 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #12 from Armin Le Grand  ---
ALG: Did the same I dod for jpeg (see comment 9) for png, got improvements from
10s load time to 2s. Only done for 24/32bit and not preview-loading to minimize
risk, checked with a PNG test suite all optimized cases. Need to check this one
on linux, too.
Also experimenting with the time settings to flush graphics; when using the
default from the tools/options of 10 minutes (instead of the hard-coded 5
seconds) exactly that happens; there is no mechanism to make the GraphicManager
to take the used memory or number of cached GraphicObjects lead to flushing
graphics (this needs rework). When I would set that time correct, this may lead
to memory problems in other cases. Maybe the speedups should be all for now, to
be on the safe side...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-03 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #11 from Armin Le Grand  ---
ALG: Checked svtools jpeg load changes on linux to be on the safe side, all
works well and is faster, too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-03 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #10 from Armin Le Grand  ---
AG: Checked what happens when not setting a swap time at all; idea was that the
GraphicManager (which at least reads the timeout from the settings in
GraphicObject::ImplSetGraphicManager and sets it at the global GraphicCache)
would then swap out all GraphicObjects after the given time, but this does not
work. Reading the setting itself and set it instead of the 5000ms works well;
still has its weaknesses since it *tests* for swap out every e.g. 10 minutes
(if set so), also no 'touch' when the graphic is used to reset the timer is
there (what would be normal for a cache). What to do...?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-03 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

Armin Le Grand  changed:

   What|Removed |Added

   Assignee|iss...@openoffice.apache.or |armin.le.gr...@me.com
   |g   |

--- Comment #9 from Armin Le Grand  ---
ALG: Already speeded up stuff for rendering and conversion to Gdiplus::Bitmap
in task #122923#, this should bring it back to comparable speeds as before.

Still I took a look at JPEGReader::Read. To mention before: Nothing was changed
there, but it uses ca. 17% of it's time to read the jpeg and the *rest* to get
it to a Bitmap as content. This is because SetPixel() calls are used and jpeg's
imported format is RGB while the 24bit bitmap uses GBR internally. There is no
GBR import format available from the jpeg importer unfortunately.
Tried to use CopyScanline at BitmapWriteAccess using BMP_FORMAT_24BIT_TC_RGB.
This works but is not much faster as SetPixel() since the internal format
conversion is not very fast.
But using BMP_FORMAT_24BIT_TC_BGR and first 'switching' all 1st and 3rd bytes
in a loop makes it much faster. With this additional speedup for jpeg we sould
be better than before. Preparing checking this in.

Also took a look at the swap stuff in current GraphicObjects; these all get
swapped out after 5000ms (5 seconds), independent of the time set in
tools/options/memory/Remove_from_memory_after setting. This seems wrong and
makes switching pages very slow since loading has to reoccur often. Taking a
look...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-09-02 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

Oliver-Rainer Wittmann  changed:

   What|Removed |Added

 Issue Type|ENHANCEMENT |DEFECT
  Developer|moderate|---
 Difficulty||

--- Comment #8 from Oliver-Rainer Wittmann  ---
adjusting Issue Type as this is a defect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-08-20 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #7 from seva...@gmail.com ---
In AOO 3.4.1 there is not present this problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-08-20 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

seva...@gmail.com changed:

   What|Removed |Added

 CC||seva...@gmail.com
 Latest|--- |4.0.0
Confirmation on||
 Issue Type|DEFECT  |ENHANCEMENT
  Developer|--- |moderate
 Difficulty||

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-08-20 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #6 from Oliver-Rainer Wittmann  ---
(In reply to sevalav from comment #5)
> Wittmann, how to do that? I am new here.. :)

Oh sorry...
I meant to say that "I have put Armin on CC as "


But nevertheless, in order to put somebody on CC of an issue you have to found
the CC List field in the upper right corner. There is a link the start the edit
mode. In the edit mode you can add the corresponding person.
I am not sure, if a certain access right is needed to edit the CC List field.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-08-12 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #5 from seva...@gmail.com ---
Wittmann, how to do that? I am new here.. :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-08-12 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

Oliver-Rainer Wittmann  changed:

   What|Removed |Added

 CC||armin.le.gr...@me.com

--- Comment #4 from Oliver-Rainer Wittmann  ---
put Armin on CC as he is one of the experts here

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-08-08 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

Regina Henschel  changed:

   What|Removed |Added

   Keywords||regression
 Status|UNCONFIRMED |CONFIRMED
 CC||rb.hensc...@t-online.de
 Ever confirmed|0   |1
   Severity|critical|major

--- Comment #3 from Regina Henschel  ---
I can confirm the bad performance. Take a common photo from a digital camera. I
have used a 2,7MB JPEG-photo. A 90° rotation needs 2 seconds, a move 3 seconds,
loading 7 seconds. AOO3.4.1 makes 90° rotation in 1 second, a move immediately
and loading in 3 seconds.

Especially the delay in moving makes working with photos virtually impossible.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 122985] Slow working with photos

2013-08-08 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #2 from seva...@gmail.com ---
Link for Draw document:
https://docs.google.com/uc?export=download&id=0B_xv-Bc9VISwb0hPSFk1Y0lpQXM

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 122985] Slow working with photos

2013-08-08 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=122985

--- Comment #1 from seva...@gmail.com ---
Slow, very slow work with bigger size of picture inside Draw. Impossible for
easy work.
AOO400m3(Build:9702)  -  Rev. 1503704
2013-07-16 14:54:56 (Di, 16 Jul 2013)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.