[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Mike Kaganski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|libreoffice-b...@lists.free |mikekagan...@hotmail.com |desktop.org | --- Comment #68 from Mike Kaganski --- https://gerrit.libreoffice.org/58034 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #67 from Mike Kaganski --- The call stack that resets the view is the following: > swlo.dll!SwViewShell::IsViewLocked() Line 461 > at c:\lo\core\sw\inc\viewsh.hxx(461) > swlo.dll!SwViewShell::MakeVisible(const SwRect & rRect) Line 572 > at c:\lo\core\sw\source\core\view\viewsh.cxx(572) > swlo.dll!SwCursorShell::MakeSelVisible() Line 2828 > at c:\lo\core\sw\source\core\crsr\crsrsh.cxx(2828) > swlo.dll!SwFEShell::MakeSelVisible() Line 2584 > at c:\lo\core\sw\source\core\frmedt\feshview.cxx(2584) > swlo.dll!SwCursorShell::UpdateCursor(unsigned short eFlags, bool bIdleEnd) > Line 1844 > at c:\lo\core\sw\source\core\crsr\crsrsh.cxx(1844) > swlo.dll!SwCursorShell::EndAction(const bool bIdleEnd, const bool DoSetPosX) > Line 274 > at c:\lo\core\sw\source\core\crsr\crsrsh.cxx(274) > swlo.dll!SwCursorShell::CheckTableBoxContent(const SwPosition * pPos) Line 868 > at c:\lo\core\sw\source\core\crsr\trvltbl.cxx(868) > swlo.dll!SwCursorShell::EndAllTableBoxEdit() Line 923 > at c:\lo\core\sw\source\core\crsr\trvltbl.cxx(923) > swlo.dll!SwDocShell::SaveAs(SfxMedium & rMedium) Line 506 > at c:\lo\core\sw\source\uibase\app\docsh.cxx(506) > sfxlo.dll!SfxObjectShell::SaveAsOwnFormat(SfxMedium & rMedium) Line 3087 > at c:\lo\core\sfx2\source\doc\objstor.cxx(3087) > sfxlo.dll!SfxObjectShell::SaveTo_Impl(SfxMedium & rMedium, const SfxItemSet * > pSet) Line 1427 > at c:\lo\core\sfx2\source\doc\objstor.cxx(1427) > sfxlo.dll!SfxObjectShell::PreDoSaveAs_Impl(const rtl::OUString & rFileName, > const rtl::OUString & aFilterName, const SfxItemSet & rItemSet) Line 2847 > at c:\lo\core\sfx2\source\doc\objstor.cxx(2847) > sfxlo.dll!SfxObjectShell::CommonSaveAs_Impl(const INetURLObject & aURL, const > rtl::OUString & aFilterName, SfxItemSet & rItemSet) Line 2705 > at c:\lo\core\sfx2\source\doc\objstor.cxx(2705) > sfxlo.dll!SfxObjectShell::APISaveAs_Impl(const rtl::OUString & aFileName, > SfxItemSet & rItemSet) Line 307 > at c:\lo\core\sfx2\source\doc\objserv.cxx(307) > sfxlo.dll!SfxBaseModel::impl_store(const rtl::OUString & sURL, const > com::sun::star::uno::Sequence & > seqArguments, bool bSaveTo) Line 2970 > at c:\lo\core\sfx2\source\doc\sfxbasemodel.cxx(2970) > sfxlo.dll!SfxBaseModel::storeToRecoveryFile(const rtl::OUString & > i_TargetLocation, const > com::sun::star::uno::Sequence & > i_MediaDescriptor) Line 1666 > at c:\lo\core\sfx2\source\doc\sfxbasemodel.cxx(1666) > fwklo.dll!`anonymous namespace'::AutoRecovery::implts_saveOneDoc(const > rtl::OUString & sBackupPath, > `anonymous-namespace'::AutoRecovery::TDocumentInfo & rInfo, const > com::sun::star::uno::Reference & > xExternalProgress) Line 3061 > at c:\lo\core\framework\source\services\autorecovery.cxx(3061) > fwklo.dll!`anonymous namespace'::AutoRecovery::implts_saveDocs(bool > bAllowUserIdleLoop, bool bRemoveLockFiles, const > `anonymous-namespace'::DispatchParams * pParams) Line 2960 > at c:\lo\core\framework\source\services\autorecovery.cxx(2960) > fwklo.dll!`anonymous namespace'::AutoRecovery::implts_timerExpired(Timer * > __formal) Line 2310 > at c:\lo\core\framework\source\services\autorecovery.cxx(2310) > fwklo.dll!`anonymous > namespace'::AutoRecovery::LinkStubimplts_timerExpired(void * instance, Timer > * data) Line 2248 > at c:\lo\core\framework\source\services\autorecovery.cxx(2248) > vcllo.dll!Link::Call(Timer * data) Line 84 > at c:\lo\core\include\tools\link.hxx(84) > vcllo.dll!Timer::Invoke() Line 77 > at c:\lo\core\vcl\source\app\timer.cxx(77) > vcllo.dll!Scheduler::ProcessTaskScheduling() Line 448 > at c:\lo\core\vcl\source\app\scheduler.cxx(448) > vcllo.dll!Scheduler::CallbackTaskScheduling() Line 271 > at c:\lo\core\vcl\source\app\scheduler.cxx(271) > vcllo.dll!SalTimer::CallCallback() Line 56 > at c:\lo\core\vcl\inc\saltimer.hxx(56) > vcllo.dll!WinSalTimer::ImplHandleElapsedTimer() Line 158 > at c:\lo\core\vcl\win\app\saltimer.cxx(158) > vcllo.dll!WinSalTimer::ImplHandleTimerEvent(unsigned __int64 aWPARAM) Line 168 > at c:\lo\core\vcl\win\app\saltimer.cxx(168) > vcllo.dll!SalComWndProc(HWND__ * __formal, unsigned int nMsg, unsigned > __int64 wParam, __int64 lParam, bool & rDef) Line 642 > at c:\lo\core\vcl\win\app\salinst.cxx(642) > vcllo.dll!SalComWndProcW(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 > wParam, __int64 lParam) Line 670 > at c:\lo\core\vcl\win\app\salinst.cxx(670) > user32.dll!UserCallWinProcCheckWow() > user32.dll!DispatchMessageWorker() > vcllo.dll!ImplSalDispatchMessage(const tagMSG * pMsg) Line 458 > at c:\lo\core\vcl\win\app\salinst.cxx(458) > vcllo.dll!ImplSalYield(bool bWait, bool bHandleAllCurrentEvents) Line 526 > at c:\lo\core\vcl\win\app\salinst.cxx(526) > vcllo.dll!WinSalInstance::DoYield(bool bWait, bool bHandleAllCurrentEvents) > Line 555 >
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #66 from j22...@gmail.com --- Reproducible with Version: 6.0.1.1 Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6 CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: kde4; Locale: en-US (en_US.UTF-8); Calc: group -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #65 from j22...@gmail.com --- I'm reading a document that I'm writing. When I press CTRL+S to save, Writer takes me to the cursor, loosing my reading flow... why? I didn't order any movement (I didn't press any arrow or letter to write, etc.), so why would Writer takes me to the current cursor position? It would be great if this can be fixed, just save and nothing else. Nothing needs to change in the user view. Thanks -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Telestochanged: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=11 ||5958 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #64 from V Stuart Foote--- (In reply to V Stuart Foote from comment #63) > *** Bug 114729 has been marked as a duplicate of this bug. *** Sorry. Dyslexia at play... ref issue is a duplicate of bug 40163 not this. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 V Stuart Footechanged: What|Removed |Added CC||sergio.calleg...@gmail.com --- Comment #63 from V Stuart Foote --- *** Bug 114729 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Stéphane Aulerychanged: What|Removed |Added CC||lk...@free.fr See Also||http://bugs.debian.org/7994 ||28 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #62 from Mike Kaganski--- (In reply to Thomas Lendo from comment #59) > I tested the jump at autosave/save issue with an old file created with OOo > 3.0.1 in 2009. No jumps occur with that file. > (https://bz.apache.org/ooo/show_bug.cgi?id=99963) This isn't related to a version that created the file. It turns out that no jump to table happens when cursor is in a *list* inside a table (the last two paragraphs in second table's right cell are part of a bullet list). Creating a list in any other table and putting cursor there prevents jumping back in any document. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #61 from Mike Kaganski--- (In reply to Heiko Tietze from comment #60) > Following comment 59 the issue is a regression too. This isn't a regression. The same behavior is with OOO330m20 (Build:9567) and OOO310m19 (Build:9420). -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Buovjagachanged: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||7870 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Telestochanged: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=84 ||929 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Thomas Lendochanged: What|Removed |Added Blocks||106773 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106773 [Bug 106773] [META] Writer document canvas view jump issues -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 V Stuart Footechanged: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||6769 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Heiko Tietzechanged: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||6374 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Heiko Tietzechanged: What|Removed |Added Keywords|needsUXEval | --- Comment #60 from Heiko Tietze --- (In reply to V Stuart Foote from comment #45) > This has room for enhancement. And is the main gripe that folks have had--it > did not just start at 5.0 I don't see the need for UX eval. This clearly describes the issue- and you also state the solution: > Enhancment here would be that Save (Ctrl+S) or Auto-Save would not > reposition document canvas view back to the last edit cursor location. Nor > of course to the edit View (Shift+F5) of the active settings.xml > > Rather additional canvas positioning hooks are needed for use in the current > edit session so that canvas view can be kept isolated from the edit cursor. Whether this is an enhancement or a bug is a different question. Following comment 59 the issue is a regression too. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #59 from Thomas Lendo--- Created attachment 131687 --> https://bugs.documentfoundation.org/attachment.cgi?id=131687=edit Example file with a table that forces a jump and with a table that doesn't force a jump I tested the jump at autosave/save issue with an old file created with OOo 3.0.1 in 2009. No jumps occur with that file. (https://bz.apache.org/ooo/show_bug.cgi?id=99963) I created a new file with LibO 5.3.0.3 on Ubuntu Linux 14.04 with a new 2 column table ("first table") and a bigger table that I copied from the old OOo file ("second table"). Steps to reproduce: 1. Open my attached file. 2. Change something (no matter where or what you insert or delete a letter). 3. Set the cursor into the first or second table. 4. Scroll the the bottom of the page so that the content is out of view. Result: If the cursor is in the second (bottom) table, saving the document will not jump the view to cursor position. If the cursor is in the first (upper) table, saving the document will jump the view to cursor position. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Telestochanged: What|Removed |Added Blocks||103100 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=103100 [Bug 103100] [META] Writer table bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 V Stuart Footechanged: What|Removed |Added CC||tele...@surfxs.nl --- Comment #58 from V Stuart Foote --- *** Bug 105506 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #57 from Justin L--- Created attachment 129961 --> https://bugs.documentfoundation.org/attachment.cgi?id=129961=edit debugging code showing one factor (progressbar) that triggers the screen refresh The debugging patch led to the gtkdata brick wall of Yield() wasOneEvent = g_main_context_iteration( nullptr, bWait && !bWasEvent ); When bHandleAllCurrentEvents is true, then one of the events that runs causes the screen repositioning. The Save procedure's progress bar is one item that calls for a Yield(bHandleAllCurrentEvents=true). However, there is some other unknown thing that also triggers the screen repositioning long after the save procedure has finished. CC Caolán McNamara - I'm drowning here. Impossible to fix? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 Cor Nouwschanged: What|Removed |Added Priority|medium |high Severity|normal |major -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #56 from V Stuart Foote--- (In reply to evan from comment #55) > I can confirm this behavior in 5.0.4.2. > > This happens regardless of whether the cursor is in a table. > > I can understand the jump to the last cursor position upon opening, but > doing this during save/autosave is definitely not desirable for me. > > For example, if my cursor is at the bottom of the document and I scroll up > to review something I typed on a previous page, it is very annoying for > Libreoffice to move me away from what I was reading. That is bug 95797, now resolved fixed for 5.2.0, which was split from this issue. This issue is restricted to scroll view behavior when edit cursor is in table on Save/Auto-save. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #55 from e...@evanw.org --- I can confirm this behavior in 5.0.4.2. This happens regardless of whether the cursor is in a table. I can understand the jump to the last cursor position upon opening, but doing this during save/autosave is definitely not desirable for me. For example, if my cursor is at the bottom of the document and I scroll up to review something I typed on a previous page, it is very annoying for Libreoffice to move me away from what I was reading. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 --- Comment #54 from David Tombs--- Note that when I originally filed this bug, I could _only_ reproduce it with the cursor in a table. The view jump did not happen otherwise. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41063] Saving/Autosaving (Save/Autosave) while in table causes view to jump to cursor position
https://bugs.documentfoundation.org/show_bug.cgi?id=41063 David Tombschanged: What|Removed |Added Summary|Saving/Autosaving |Saving/Autosaving |(Save/Autosave) causes view |(Save/Autosave) while in |to jump to cursor position |table causes view to jump ||to cursor position --- Comment #53 from David Tombs --- I, as the original reporter, am clarifying this bug title to differentiate it from the apparent regression bug 95797. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs