[Libreoffice] Quasi-patch: Cursor vs Scroll

Maximilian Odendahl max.odendahl at t-online.de
Mon Jan 10 05:01:41 PST 2011


Hi,

 > max, do you remember the code in the postits that the attached patch
 > affects, can you remember what the problem was that needed fixing ?

no, I don't remember why this is needed, but I don't think this is the 
right patch for two reasons:

- it is a regression from 3.2.1, where no change in the post-it codes 
happened, therefore, a different change must have broken this

- the code in question is inside LayoutPostIts(), and I guess is 
correct. I believe a relayout of the postit notes should not happen in 
the first place if a user simply scrolls, so this code in question would 
never be hit.


A first guess is that the regression includes sending of a 
SFX_HINT_DOCCHANGED notification, when it should not do so, triggering a 
relayout and hitting the above code.


Best,
Max


More information about the LibreOffice mailing list