[Libreoffice-bugs] [Bug 136740] pasting RTF content to LO writer resets tab stops setting in options

2021-04-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

Mike Kaganski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |mikekagan...@hotmail.com
   |desktop.org |

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2021-04-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

--- Comment #6 from Commit Notification 
 ---
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d7c4d0d4ea83481693af3645a03b03b53e456f60

tdf#136740: Do not initialize document settings when pasting

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2021-04-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.2.0

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2021-04-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

--- Comment #5 from Mike Kaganski  ---
FTR: this is unrelated to the locale and UI language. Also repro with Version:
7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL

(expectedly, since the code mentioned in comment 4 is not
locale-language-specific).

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2021-04-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

Mike Kaganski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #4 from Mike Kaganski  ---
Repro using Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

The reset of the document default tab stop happens in
DomainMapper_Impl::ApplySettingsTable [1], in this call stack:

> writerfilterlo.dll!writerfilter::dmapper::DomainMapper_Impl::ApplySettingsTable()
>  Line 7298   C++
> writerfilterlo.dll!writerfilter::dmapper::DomainMapper::lcl_table(unsigned 
> long name, tools::SvRef> ref) 
> Line 3707   C++
> writerfilterlo.dll!writerfilter::LoggedStream::table(unsigned long name, 
> tools::SvRef> ref) Line 256 
> C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::outputSettingsTable()
>  Line 379  C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::checkFirstRun() 
> Line 389C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::text(rtl::OUString 
> & rString) Line 1491 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::checkUnicode(bool 
> bUnicode, bool bHex) Line 3633C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::resolveChars(char 
> ch) Line 1287 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFTokenizer::resolveParse() Line 
> 140C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::resolve(writerfilter::Stream
>  & rMapper) Line 806C++
> writerfilterlo.dll!`anonymous namespace'::RtfFilter::filter(const 
> com::sun::star::uno::Sequence & 
> rDescriptor) Line 164 C++
> mswordlo.dll!`anonymous namespace'::SwRTFReader::Read(SwDoc & rDoc, const 
> rtl::OUString & __formal, SwPaM & rPam, const rtl::OUString & __formal) Line 
> 104C++
> swlo.dll!SwReader::Read(const Reader & rOptions) Line 192 C++
> swlo.dll!SwTransferable::PasteFileContent(TransferableDataHelper & rData, 
> SwWrtShell & rSh, SotClipboardFormatId nFormat, bool bMsg, bool 
> bIgnoreComments) Line 2171  C++
> swlo.dll!SwTransferable::PasteData(TransferableDataHelper & rData, SwWrtShell 
> & rSh, unsigned char nAction, SotExchangeActionFlags nActionFlags, 
> SotClipboardFormatId nFormat, SotExchangeDest nDestination, bool 
> bIsPasteFormat, bool bIsDefault, const Point * pPt, char nDropAction, bool 
> bPasteSelection, RndStdIds nAnchorType, bool bIgnoreComments, SwPasteContext 
> * pContext, PasteTableType ePasteTable) Line 1814   C++
> swlo.dll!SwTransferable::PasteFormat(SwWrtShell & rSh, TransferableDataHelper 
> & rData, SotClipboardFormatId nFormat) Line 3375C++
> swlo.dll!SwBaseShell::ExecClpbrd(SfxRequest & rReq) Line 334  C++
> swlo.dll!SfxStubSwBaseShellExecClpbrd(SfxShell * pShell, SfxRequest & rReq) 
> Line 2201 C++

This needs a way to disambiguate creating a new document vs pasting into an
existing document.

[1]
https://opengrok.libreoffice.org/xref/core/writerfilter/source/dmapper/DomainMapper_Impl.cxx?r=b802ab69#7293

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2021-04-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

Richard_416282  changed:

   What|Removed |Added

 Status|NEW |UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #3 from Richard_416282  ---
Saving as "unconfirmed" from "new", since there has been no confirmation of the
error either here(bugzilla) or on Ask.libreoffice.org.

I will setup test environment with en-US and en-GB in the latest release, and
confirm/deny function (if observation dictates duplication of scenario).

Also it is unknown, but there may be other quirks given the locale of the
user,(according to AskLO this is N.Korea), but it should not make any
difference for keyboard layout etc, vs RTF and ODT/Word compatibility.

It also may be the reason no one has ever stumbled onto such a configuration
before.

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2021-04-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

--- Comment #2 from Richard_416282  ---
The 'key' component is buried in the details of the UI string:

<[copy/paste]>
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 3ad21220992e348ccfc59ce5ffb67ee9dd0e4b88
CPU threads: 16; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-GB
Calc: CL
<[copy/paste]/>

The part that is relevant here are the two items :
Locale , and UI.

In this case the Computer is configured for en-US locale, but the User
Interface (UI) is configured for en-GB.

[As an aside, LO still does not know how to handle en-US/UI:en-UK with french
as an option for Canadian users [fr-CA/fr-FR], but I leave that for someone
else to ponder]

Will be running with this 'bug' while I test the scenarios presented on an
Win10-home machine with 2 threads in both en-US locale, and en-GB. 

In the mean time , you may wish to lookup "Gimli Glider", to see where US<>UK
conversions and what happened in 1973 or so.

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2020-09-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

blashyrkh  changed:

   What|Removed |Added

URL||https://ask.libreoffice.org
   ||/en/question/250075/writer-
   ||paste-of-rtf-text-resets-ta
   ||b-stop-size-to-install-defa
   ||ult/

--- Comment #1 from blashyrkh  ---
See the ASK article for an alternative description for this.

https://ask.libreoffice.org/en/question/250075/writer-paste-of-rtf-text-resets-tab-stop-size-to-install-default/

-- 
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 136740] pasting RTF content to LO writer resets tab stops setting in options

2020-09-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136740

blashyrkh  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

-- 
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