[Libreoffice-bugs] [Bug 130087] Fileopen DOC: Text in table different width in Writer (multiple lines) and Word (single line)

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130087

--- Comment #7 from Dieter  ---
Still present in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c856f9bec12d98ed49f01578ded79f16ae7be051
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147359] Copied dragged form is not displayed

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147359

Dieter  changed:

   What|Removed |Added

 CC||dgp-m...@gmx.de

--- Comment #2 from Dieter  ---
I can't confirm it with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c856f9bec12d98ed49f01578ded79f16ae7be051
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

I can see a faded second rectangle.

Have you tested with a clean user profile?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 107656] [META] Frame bugs and enhancements

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107656

Dieter  changed:

   What|Removed |Added

 Depends on||147350


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147350
[Bug 147350] Horizontal alignment of a frame is not honored
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147350] Horizontal alignment of a frame is not honored

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147350

Dieter  changed:

   What|Removed |Added

 CC||dgp-m...@gmx.de
 Blocks||107656
 Ever confirmed|0   |1
 OS|Linux (All) |All
 Status|UNCONFIRMED |NEW

--- Comment #6 from Dieter  ---
I confirm the problem with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c856f9bec12d98ed49f01578ded79f16ae7be051
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Addtional informations:
Reducing the padding doesn't work for me.
Workaround, that works for me: Change position to "right to text area". Fra
also umps to the right, if you add additional paragrpah between the two
formulas.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107656
[Bug 107656] [META] Frame bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147283] [FILEOPEN PPTX] list with custom style is 10 times slower

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147283

Mike Kaganski  changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #15 from Mike Kaganski  ---
(In reply to Julien Nabet from comment #14)

Thank you!
The flamegraph shows clearly why this is Linux-specific. It spends a huge
amount of time in fontconfig called from psp::PrintFontManager::Substitute; so
it looks like missing font issue, caching issue, and maybe fontconfig
performance issue at the same time. But I'm just speculating :)

Caolan: maybe you have an idea how to deal with this?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sc/qa

2022-02-25 Thread Luboš Luňák (via logerrit)
 sc/qa/extras/testdocuments/Ranges.xls |binary
 1 file changed

New commits:
commit 643b592fcff3fd1bf537b985e6a2bf943767dfa9
Author: Luboš Luňák 
AuthorDate: Fri Feb 25 23:44:07 2022 +0100
Commit: Luboš Luňák 
CommitDate: Sat Feb 26 07:59:27 2022 +0100

make VBAMacroTest::testVba() pass with huge sheets

One test checked for the last cell being $IV$8 or $AMJ$8. Simply
add $XFD$8 to the list of possible values.

Change-Id: I96685c4404b3281d64622380e7d42614adb1c041
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130570
Tested-by: Jenkins
Reviewed-by: Luboš Luňák 

diff --git a/sc/qa/extras/testdocuments/Ranges.xls 
b/sc/qa/extras/testdocuments/Ranges.xls
index 4d5583e04f69..7a513de258fa 100644
Binary files a/sc/qa/extras/testdocuments/Ranges.xls and 
b/sc/qa/extras/testdocuments/Ranges.xls differ


[Libreoffice-commits] core.git: sc/source

2022-02-25 Thread Luboš Luňák (via logerrit)
 sc/source/ui/vba/vbarange.cxx |7 +++
 1 file changed, 7 insertions(+)

New commits:
commit 4a896078a332c0270276e9a89b01f415e2238b27
Author: Luboš Luňák 
AuthorDate: Fri Feb 25 22:56:00 2022 +0100
Commit: Luboš Luňák 
CommitDate: Sat Feb 26 07:59:11 2022 +0100

lock paint when VBA sets value for a number of Calc cells

VBAMacroTest::testVba() spends the majority of time repeatedly
repainting.

Change-Id: Iea69221834b80b0fbe484ee3ec5f64ba9e28e37d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130569
Tested-by: Jenkins
Reviewed-by: Luboš Luňák 

diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 0c0e5f256e02..fb72699ea98b 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1477,6 +1477,11 @@ uno::Reference< XCollection >& ScVbaRange::getBorders()
 void
 ScVbaRange::visitArray( ArrayVisitor& visitor )
 {
+ScDocShell* pDocSh = nullptr;
+if(ScCellRangeObj* range = dynamic_cast(mxRange.get()))
+pDocSh = range->GetDocShell();
+if ( pDocSh )
+pDocSh->LockPaint();
 table::CellRangeAddress aRangeAddr = lclGetRangeAddress( mxRange );
 sal_Int32 nRowCount = aRangeAddr.EndRow - aRangeAddr.StartRow + 1;
 sal_Int32 nColCount = aRangeAddr.EndColumn - aRangeAddr.StartColumn + 1;
@@ -1489,6 +1494,8 @@ ScVbaRange::visitArray( ArrayVisitor& visitor )
 visitor.visitNode( i, j, xCell );
 }
 }
+if ( pDocSh )
+pDocSh->UnlockPaint();
 }
 
 uno::Any


[Libreoffice-bugs] [Bug 147666] Large image is inserted in a document off-screen

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147666

--- Comment #1 from Aron Budea  ---
Created attachment 178551
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178551=edit
Sample image

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 103152] [META] Writer image bugs and enhancements

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103152

Aron Budea  changed:

   What|Removed |Added

 Depends on||147666


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147666
[Bug 147666] Large image is inserted in a document off-screen
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 87740] [META] Anchor and text wrapping bugs and enhancements

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87740

Aron Budea  changed:

   What|Removed |Added

 Depends on||147666


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147666
[Bug 147666] Large image is inserted in a document off-screen
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147666] New: Large image is inserted in a document off-screen

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147666

Bug ID: 147666
   Summary: Large image is inserted in a document off-screen
   Product: LibreOffice
   Version: 7.1.0.3 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Keywords: bibisected, bisected, regression
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: aron.bu...@gmail.com
CC: michael.st...@allotropia.de
Blocks: 87740, 103152

Created attachment 178550
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178550=edit
Sample ODT

- Open the attached sample document,
- Insert a large image (eg. the attached one) with the caret right below the
last line of text.

=> The image is added on the next page (fine, it wouldn't fit anyway), but the
view doesn't jump to it.

Observed using LO 7.4.0.0.alpha0+ (0723b41bed9bb4ad50d2993744a60177966d1a21) /
Ubuntu.

The view jumped to the newly inserted image until the following commit,
bibisected using repo bibisect-linux-64-7.1. Adding CC: to Michael Stahl.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=810f7e4e0b61ee7cb3a7d6a1b503782d7248a4b1
author  Michael Stahl  2021-04-13
20:13:51 +0200
committer   Thorsten Behrens   
2021-04-23 17:03:13 +0200

"sw: layout: if fly's anchor moves forward, move fly off SwPageFrame"

There's another change coming with the commit. If the caret is around the
middle of the otherwise empty second page in the sample, and the image is
inserted there:
- in older versions, the image is inserted on the same page,
- from the above commit, it's inserted on the next page (and the view doesn't
jump to it).


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=87740
[Bug 87740] [META] Anchor and text wrapping bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=103152
[Bug 103152] [META] Writer image bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sal/rtl

2022-02-25 Thread Mike Kaganski (via logerrit)
 sal/rtl/string.cxx  |7 ---
 sal/rtl/strtmpl.hxx |   24 ++--
 2 files changed, 6 insertions(+), 25 deletions(-)

New commits:
commit 6819ff8549d0a247e9e16f98eddbb7abd287d123
Author: Mike Kaganski 
AuthorDate: Fri Feb 25 20:36:09 2022 +0100
Commit: Mike Kaganski 
CommitDate: Sat Feb 26 07:27:17 2022 +0100

Slightly cleanup newReplaceStrAt

Change-Id: I230aa635aa797038055bdbc9453a5daa98412f93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130465
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 

diff --git a/sal/rtl/string.cxx b/sal/rtl/string.cxx
index de8cabff4c91..2b118a57aada 100644
--- a/sal/rtl/string.cxx
+++ b/sal/rtl/string.cxx
@@ -618,13 +618,6 @@ void SAL_CALL rtl_string_newConcat(rtl_String** ppThis, 
rtl_String* pLeft, rtl_S
 rtl::str::newConcat(ppThis, pLeft, pRight);
 }
 
-static void rtl_string_newConcatL(
-rtl_String ** newString, rtl_String * left, char const * right,
-sal_Int32 rightLength)
-{
-rtl::str::newConcat(newString, left, right, rightLength);
-}
-
 void SAL_CALL rtl_string_ensureCapacity(rtl_String** ppThis, sal_Int32 size) 
SAL_THROW_EXTERN_C()
 {
 rtl::str::ensureCapacity(ppThis, size);
diff --git a/sal/rtl/strtmpl.hxx b/sal/rtl/strtmpl.hxx
index 348b84fab246..256c0cc99dd0 100644
--- a/sal/rtl/strtmpl.hxx
+++ b/sal/rtl/strtmpl.hxx
@@ -1378,33 +1378,21 @@ void newReplaceStrAt( 
IMPL_RTL_STRINGDATA** ppTh
 assert(nNewSubStrLen >= 0);
 /* Append? */
 if ( nIndex >= pStr->length )
-{
-if constexpr (sizeof(IMPL_RTL_STRCODE) == sizeof(char))
-rtl_string_newConcatL( ppThis, pStr, pNewSubStr, nNewSubStrLen );
-else
-rtl_uString_newConcatUtf16L( ppThis, pStr, pNewSubStr, 
nNewSubStrLen );
-return;
-}
+return newConcat(ppThis, pStr, pNewSubStr, nNewSubStrLen);
 
 /* not more than the String length could be deleted */
 if ( nCount >= pStr->length-nIndex )
 {
-nCount = pStr->length-nIndex;
-
 /* Assign of NewSubStr? */
-if ( !nIndex && (nCount >= pStr->length) )
-{
-newFromStr_WithLength( ppThis, pNewSubStr, nNewSubStrLen );
-return;
-}
+if (nIndex == 0)
+return newFromStr_WithLength( ppThis, pNewSubStr, nNewSubStrLen );
+
+nCount = pStr->length - nIndex;
 }
 
 /* Assign of Str? */
 if ( !nCount && !nNewSubStrLen )
-{
-assign( ppThis, pStr );
-return;
-}
+return assign(ppThis, pStr);
 
 IMPL_RTL_STRINGDATA*pOrg = *ppThis;
 sal_Int32   nNewLen;


[Libreoffice-bugs] [Bug 145803] LibreOffice only opens in Safe Mode, UI render default no Skia on Windows 11

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145803

--- Comment #11 from mematuszew...@gmail.com ---
Good morning.

I, too, have been having issues with Windows 11 and LibreOffice.  All of the
applications crash upon launch.  I observe a brief Window of the application,
and then they all crash at the same time.  This is on a new ASUS ROG Zephyrus
G14 (2022) RJ2 laptop with the Ryzen 6900HS, Radeon 6700S GPU.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 120883] [META] Hyphenation bugs and enhancements

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120883
Bug 120883 depends on bug 136808, which changed state.

Bug 136808 Summary: getting "please install hyphenation package for locale 
en-US" every time I start Writer
https://bugs.documentfoundation.org/show_bug.cgi?id=136808

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INSUFFICIENTDATA

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 136808] getting "please install hyphenation package for locale en-US" every time I start Writer

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136808

Timur  changed:

   What|Removed |Added

 Resolution|--- |INSUFFICIENTDATA
 Status|UNCONFIRMED |RESOLVED

--- Comment #8 from Timur  ---
So this needs to be closed, we don't know the cause.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147661] FORMATTING:VERTICAL FRACTION FEATURE PRESENT IN FONT NOT APPLIED BY WRITER

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147661

Dr Anirban Mitra  changed:

   What|Removed |Added

Summary|VERTICAL FRACTION FEATURE   |FORMATTING:VERTICAL
   |PRESENT IN FONT NOT APPLIED |FRACTION FEATURE PRESENT IN
   |BY WRITER   |FONT NOT APPLIED BY WRITER

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147324] Artifacts when scrolling up down in Draw

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147324

--- Comment #8 from xordevore...@gmail.com ---
Also works in:

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ea25606de5f1a60430a74107b0e2e0986ac1bb15
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147324] Artifacts when scrolling up down in Draw

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147324

xordevore...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|UNCONFIRMED |RESOLVED

--- Comment #7 from xordevore...@gmail.com ---
Works for me in 

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ea25606de5f1a60430a74107b0e2e0986ac1bb15
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147653] writing circumflex accents in line with formula

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147653

QA Administrators  changed:

   What|Removed |Added

   Keywords||bibisectRequest

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147324] Artifacts when scrolling up down in Draw

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147324

QA Administrators  changed:

   What|Removed |Added

 Whiteboard| QA:needsComment|

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147377] Reimplement SbiDllMgr::Call using libffi

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147377

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147369] Malpositioned File Dialogue

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147369

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147365] Don't Print but export to PDF - Picture settings should allow to set not to print but show in PDF

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147365

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147315] the registration of the document in an Arabic name

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147315

QA Administrators  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147315] the registration of the document in an Arabic name

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147315

--- Comment #6 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 142711] VBA functions used in sheet formular lose parameters

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142711

QA Administrators  changed:

   What|Removed |Added

 Resolution|--- |INSUFFICIENTDATA
 Status|NEEDINFO|RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 142711] VBA functions used in sheet formular lose parameters

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142711

--- Comment #4 from QA Administrators  ---
Dear Neil Cadman,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144153] Program does NOT crash.

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144153

--- Comment #2 from QA Administrators  ---
Dear Ian,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: Branch 'feature/sparklines' - 2 commits - sc/CppunitTest_sc_sparkline_test.mk sc/inc sc/Module_sc.mk sc/qa sc/source

2022-02-25 Thread Tomaž Vajngerl (via logerrit)
Rebased ref, commits from common ancestor:
commit b67e70ce2f57b12a1cf3d0228565b957416a9bd6
Author: Tomaž Vajngerl 
AuthorDate: Fri Feb 25 11:57:15 2022 +0900
Commit: Tomaž Vajngerl 
CommitDate: Sat Feb 26 10:46:50 2022 +0900

sc: use enums instead strings for some SparklineGroup props.

Change-Id: I082c0a7693c97a67bc4972398224bce4bdae85eb

diff --git a/sc/inc/SparklineGroup.hxx b/sc/inc/SparklineGroup.hxx
index abc1cc71333c..32e4b757378f 100644
--- a/sc/inc/SparklineGroup.hxx
+++ b/sc/inc/SparklineGroup.hxx
@@ -16,6 +16,27 @@
 
 namespace sc
 {
+enum class SparklineType
+{
+Line,
+Column,
+Stacked
+};
+
+enum class AxisType
+{
+Individual,
+Group,
+Custom
+};
+
+enum class DisplayEmptyCellAs
+{
+Span,
+Gap,
+Zero
+};
+
 class SC_DLLPUBLIC SparklineGroup
 {
 public:
@@ -28,16 +49,16 @@ public:
 Color m_aColorHigh;
 Color m_aColorLow;
 
-OUString m_sMinAxisType; // individual, group, custom
-OUString m_sMaxAxisType;
+AxisType m_eMinAxisType;
+AxisType m_eMaxAxisType;
 
 double m_fLineWeight; // In pt
 
-OUString m_sType; // line, column, stacked
+SparklineType m_eType;
 
 bool m_bDateAxis;
 
-OUString m_sDisplayEmptyCellsAs; // span, gap, zero
+DisplayEmptyCellAs m_eDisplayEmptyCellsAs; // span, gap, zero
 
 bool m_bMarkers;
 bool m_bHigh;
diff --git a/sc/qa/extras/SparklineTest.cxx b/sc/qa/extras/SparklineTest.cxx
index a7170e8a5944..6fb4217a76a1 100644
--- a/sc/qa/extras/SparklineTest.cxx
+++ b/sc/qa/extras/SparklineTest.cxx
@@ -53,7 +53,7 @@ void SparklineTest::testSparklines()
 sc::Sparkline* pSparkline = rDocument.GetSparkline(ScAddress(0, 1, 
0)); // A2
 CPPUNIT_ASSERT(pSparkline);
 auto pSparklineGroup = pSparkline->getSparklineGroup();
-CPPUNIT_ASSERT_EQUAL(OUString("line"), pSparklineGroup->m_sType);
+CPPUNIT_ASSERT_EQUAL(sc::SparklineType::Line, 
pSparklineGroup->m_eType);
 
 CPPUNIT_ASSERT_EQUAL(Color(0x376092), pSparklineGroup->m_aColorSeries);
 CPPUNIT_ASSERT_EQUAL(Color(0x00b050), 
pSparklineGroup->m_aColorNegative);
@@ -66,7 +66,7 @@ void SparklineTest::testSparklines()
 
 CPPUNIT_ASSERT_EQUAL(1.0, pSparklineGroup->m_fLineWeight);
 CPPUNIT_ASSERT_EQUAL(false, pSparklineGroup->m_bDateAxis);
-CPPUNIT_ASSERT_EQUAL(OUString("gap"), 
pSparklineGroup->m_sDisplayEmptyCellsAs);
+CPPUNIT_ASSERT_EQUAL(sc::DisplayEmptyCellAs::Gap, 
pSparklineGroup->m_eDisplayEmptyCellsAs);
 
 CPPUNIT_ASSERT_EQUAL(true, pSparklineGroup->m_bMarkers);
 CPPUNIT_ASSERT_EQUAL(true, pSparklineGroup->m_bHigh);
@@ -86,7 +86,7 @@ void SparklineTest::testSparklines()
 sc::Sparkline* pSparkline = rDocument.GetSparkline(ScAddress(0, 2, 
0)); // A3
 CPPUNIT_ASSERT(pSparkline);
 auto pSparklineGroup = pSparkline->getSparklineGroup();
-CPPUNIT_ASSERT_EQUAL(OUString("column"), pSparklineGroup->m_sType);
+CPPUNIT_ASSERT_EQUAL(sc::SparklineType::Column, 
pSparklineGroup->m_eType);
 
 CPPUNIT_ASSERT_EQUAL(Color(0x376092), pSparklineGroup->m_aColorSeries);
 CPPUNIT_ASSERT_EQUAL(Color(0xff), 
pSparklineGroup->m_aColorNegative);
@@ -99,7 +99,7 @@ void SparklineTest::testSparklines()
 
 CPPUNIT_ASSERT_EQUAL(0.75, pSparklineGroup->m_fLineWeight);
 CPPUNIT_ASSERT_EQUAL(false, pSparklineGroup->m_bDateAxis);
-CPPUNIT_ASSERT_EQUAL(OUString("gap"), 
pSparklineGroup->m_sDisplayEmptyCellsAs);
+CPPUNIT_ASSERT_EQUAL(sc::DisplayEmptyCellAs::Gap, 
pSparklineGroup->m_eDisplayEmptyCellsAs);
 
 CPPUNIT_ASSERT_EQUAL(false, pSparklineGroup->m_bMarkers);
 CPPUNIT_ASSERT_EQUAL(true, pSparklineGroup->m_bHigh);
@@ -119,14 +119,14 @@ void SparklineTest::testSparklines()
 sc::Sparkline* pSparkline = rDocument.GetSparkline(ScAddress(1, 0, 
1)); //B1
 CPPUNIT_ASSERT(pSparkline);
 auto pSparklineGroup = pSparkline->getSparklineGroup();
-CPPUNIT_ASSERT_EQUAL(OUString("column"), pSparklineGroup->m_sType);
+CPPUNIT_ASSERT_EQUAL(sc::SparklineType::Column, 
pSparklineGroup->m_eType);
 }
 // Sparkline at Sheet2:B2
 {
 sc::Sparkline* pSparkline = rDocument.GetSparkline(ScAddress(1, 1, 
1)); //B2
 CPPUNIT_ASSERT(pSparkline);
 auto pSparklineGroup = pSparkline->getSparklineGroup();
-CPPUNIT_ASSERT_EQUAL(OUString("line"), pSparklineGroup->m_sType);
+CPPUNIT_ASSERT_EQUAL(sc::SparklineType::Line, 
pSparklineGroup->m_eType);
 }
 // Sparkline doesn't exists at A4
 {
diff --git a/sc/source/filter/oox/SparklineFragment.cxx 
b/sc/source/filter/oox/SparklineFragment.cxx
index bfc5a259a883..b4c5089dbfa1 100644
--- a/sc/source/filter/oox/SparklineFragment.cxx
+++ b/sc/source/filter/oox/SparklineFragment.cxx
@@ -90,6 +90,33 @@ void addColorsToSparklineGroup(sc::SparklineGroup& 
rSparklineGroup, sal_Int32 nE
 }
 }
 
+sc::SparklineType parseSparklineType(OUString 

[Libreoffice-bugs] [Bug 147655] LibreOffice Writer v7.3.0.3 loses some tracked changes when saving as .docx

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147655

--- Comment #2 from swleef...@hotmail.com ---
I have also experienced this issue, with two different .docx documents.
Unfortunately, the documents are sensitive and so I cannot share them. I will
try to share a dummy document if I can create one that also has this issue.

What I noticed was that many additions were 'flipped' into being seen as
deletions by Writer's track changed. So I replace some words in a sentence,
save the document, close it, then reopen it. What I then see is that the new
words, the replacement, are now seen as words that were deleted
(strikethrough). So, when I then accept all changes, I am left with half a
sentence, only the part that wasn't changed, since an accepted deletion is
simply removed (as it normally should be).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147665] New: Replace Scheherazade font by Scheherazade New

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147665

Bug ID: 147665
   Summary: Replace Scheherazade font by Scheherazade New
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Installation
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: shanshandehongx...@outlook.com

Description:
Scheherazade is an Arabic font by SIL International, from November 2020, this
font was renamed Scheherazade New, added various new characters, LibreOffice
should drop Scheherazade from package, and integrating Scheherazade New
instead.

Steps to Reproduce:
1. Install Scheherazade New from SIL
2. Download and install LibreOffice 7.3.0

Actual Results:
In Fonts folder, I can see both Scheherazade and Scheherazade New fonts

Expected Results:
LibreOffice installation package should just install Scheherazade New font


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.1.2 (x64) / LibreOffice Community
Build ID: 9fff0292474d6d0bf5df787b512c71d9ac4bc98e
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sc/source

2022-02-25 Thread Eike Rathke (via logerrit)
 sc/source/core/data/documen2.cxx |6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit aaa75591b0c0c7b097e2794a0b24ec7d0e0fa07f
Author: Eike Rathke 
AuthorDate: Sat Feb 26 02:19:23 2022 +0100
Commit: Eike Rathke 
CommitDate: Sat Feb 26 03:11:25 2022 +0100

Related: tdf#147448 Scope owning mutex before it gets destroyed

Change-Id: I9bacffe1d075431427fb3bf01e4bf30ba6fbc201
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130574
Reviewed-by: Eike Rathke 
Tested-by: Jenkins

diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index da55ebfa85be..82789e814035 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -339,7 +339,11 @@ ScDocument::~ScDocument()
 if ( pRefreshTimerControl )
 {   // To be sure there isn't anything running do it with a protector,
 // this ensures also that nothing needs the control anymore.
-ScRefreshTimerProtector aProt( GetRefreshTimerControlAddress() );
+{
+// Use a scope on its own because it is undefined behaviour if a
+// mutex is destroyed while still owned.
+ScRefreshTimerProtector aProt( GetRefreshTimerControlAddress() );
+}
 pRefreshTimerControl.reset();
 }
 


[Libreoffice-commits] core.git: sc/inc

2022-02-25 Thread Eike Rathke (via logerrit)
 sc/inc/refreshtimer.hxx |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4361ee2585e616cb3c504eb719deca4076de78da
Author: Eike Rathke 
AuthorDate: Sat Feb 26 01:57:51 2022 +0100
Commit: Eike Rathke 
CommitDate: Sat Feb 26 02:57:58 2022 +0100

Resolves: tdf#147448 ScRefreshTimerControl mutex must be 
std::recursive_mutex

ScRefreshTimer::Invoke() locks the mutex and subsequent nested
locks are attempted in ScDocShell::ConvertFrom() and
ScDocShellModificator ctor by ScRefreshTimerProtector.

A std::mutex must not be owned by the calling thread when a lock
is attempted, otherwise even deadlocks may occur, as was the case
here. This is exactly the difference of std::recursive_mutex.

Likely a regression from

commit 287680683ca266f1fb4f447ac9bdaf76669d559d
CommitDate: Mon Aug 2 12:17:07 2021 +0200

osl::Mutex->std::mutex in ScRefreshTimer

Change-Id: Iaa0f1da2b4b9616e9627d8d0001775f554756048
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130573
Reviewed-by: Eike Rathke 
Tested-by: Jenkins

diff --git a/sc/inc/refreshtimer.hxx b/sc/inc/refreshtimer.hxx
index 546fa7feda2c..16ae0c7201d2 100644
--- a/sc/inc/refreshtimer.hxx
+++ b/sc/inc/refreshtimer.hxx
@@ -28,14 +28,14 @@
 
 class ScRefreshTimerControl
 {
-std::mutex  aMutex;
-sal_uInt16  nBlockRefresh;
+std::recursive_mutexaMutex;
+sal_uInt16  nBlockRefresh;
 
 public:
 ScRefreshTimerControl() : nBlockRefresh(0) {}
 void SetAllowRefresh( bool b );
 bool IsRefreshAllowed() const { return !nBlockRefresh; }
-std::mutex& GetMutex() { return aMutex; }
+std::recursive_mutex& GetMutex() { return aMutex; }
 };
 
 class ScRefreshTimer : public AutoTimer


[Libreoffice-bugs] [Bug 147664] Sukapura: Some icons with text (like B, I, U, etc) are too big that make them unbalance with the rest of the icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147664

Rizal Muttaqin  changed:

   What|Removed |Added

Summary|Sukapura:   |Sukapura: Some icons with
   ||text (like B, I, U, etc)
   ||are too big that make them
   ||unbalance with the rest of
   ||the icons

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131141] [META] Sukapura icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131141

Rizal Muttaqin  changed:

   What|Removed |Added

 Depends on||147664


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147664
[Bug 147664] Sukapura:
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147664] Sukapura:

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147664

Rizal Muttaqin  changed:

   What|Removed |Added

 Blocks||131141


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=131141
[Bug 131141] [META] Sukapura icons
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147664] New: Sukapura:

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147664

Bug ID: 147664
   Summary: Sukapura:
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: UI
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: riz...@libreoffice.org

Created attachment 178549
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178549=edit
These icons are way too big

Some icon in Colibre with font like B, I, U has too big appearance which make
it unbalanced. It would be nice if they are shrunk to some degree to make it
balance with other icon.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ea25606de5f1a60430a74107b0e2e0986ac1bb15
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: id-ID (id_ID.UTF-8); UI: id-ID
Calc: threaded

Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: id-ID (id_ID.UTF-8); UI: id-ID
Ubuntu package version: 1:7.3.0~rc3-0ubuntu0.20.04.1~lo1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sc/inc sc/qa sc/source

2022-02-25 Thread Kohei Yoshida (via logerrit)
 sc/inc/column.hxx   |2 +
 sc/inc/document.hxx |   10 +++
 sc/inc/mtvelements.hxx  |2 +
 sc/inc/table.hxx|4 +++
 sc/qa/unit/helper/qahelper.hxx  |1 
 sc/qa/unit/ucalc.cxx|   46 
 sc/source/core/data/column4.cxx |   15 +++
 sc/source/core/data/document10.cxx  |   18 ++
 sc/source/core/data/mtvelements.cxx |5 +++
 sc/source/core/data/table7.cxx  |   19 ++
 10 files changed, 122 insertions(+)

New commits:
commit 974bf22680b702b9474d4a91dbf1d06a785ff774
Author: Kohei Yoshida 
AuthorDate: Thu Feb 24 23:17:09 2022 -0500
Commit: Kohei Yoshida 
CommitDate: Sat Feb 26 01:43:32 2022 +0100

tdf#147298: Add a simple test case for formula cell tracking by column.

Change-Id: Ibdd72c08f8660ade511fdce8b3fb7cd3ed97f4b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130511
Tested-by: Jenkins
Reviewed-by: Kohei Yoshida 

diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 2e1f0df49bdb..e23eac0fdab1 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -719,6 +719,8 @@ public:
 SCSIZE  GetPatternCount( SCROW nRow1, SCROW nRow2 ) const;
 boolReservePatternCount( SCSIZE nReserve );
 
+void CheckIntegrity() const;
+
 private:
 
 sc::CellStoreType::iterator GetPositionToInsert( SCROW nRow, 
std::vector& rNewSharedRows,
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index b0557751ae22..344e99e130f8 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2229,6 +2229,16 @@ public:
 std::set   GetDocColors();
 sc::IconSetBitmapMap& GetIconSetBitmapMap();
 
+std::set QueryColumnsWithFormulaCells( SCTAB nTab ) const;
+
+/**
+ * Check the integrity of the internal table state.  Useful from testing
+ * code.  It throws an exception upon first failure.
+ *
+ * Feel free to add more checks as needed.
+ */
+void CheckIntegrity( SCTAB nTab ) const;
+
 private:
 ScDocument(const ScDocument& r) = delete;
 
diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx
index 75cdea9483bd..c74e1bc7d91b 100644
--- a/sc/inc/mtvelements.hxx
+++ b/sc/inc/mtvelements.hxx
@@ -100,6 +100,8 @@ public:
 void stop();
 
 void swap(CellStoreEvent& other);
+
+const ScColumn* getColumn() const;
 };
 
 struct CellStoreTrait
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 08624a937172..4a8654a67344 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -1108,6 +1108,10 @@ public:
  */
 OString dumpSheetGeomData(bool bColumns, SheetGeomType eGeomType);
 
+std::set QueryColumnsWithFormulaCells() const;
+
+void CheckIntegrity() const;
+
 private:
 
 void FillFormulaVertical(
diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx
index eb400e68acba..e1b1ee6c65f9 100644
--- a/sc/qa/unit/helper/qahelper.hxx
+++ b/sc/qa/unit/helper/qahelper.hxx
@@ -29,6 +29,7 @@
 #include 
 
 #include 
+#include 
 
 namespace utl { class TempFile; }
 
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index ffb8d2fbe4eb..1d02913dab9c 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -222,6 +222,8 @@ public:
 void testProtectedSheetEditByRow();
 void testProtectedSheetEditByColumn();
 
+void testInsertColumnsWithFormulaCells();
+
 CPPUNIT_TEST_SUITE(Test);
 CPPUNIT_TEST(testCollator);
 CPPUNIT_TEST(testSharedStringPool);
@@ -311,6 +313,7 @@ public:
 CPPUNIT_TEST(testPrecisionAsShown);
 CPPUNIT_TEST(testProtectedSheetEditByRow);
 CPPUNIT_TEST(testProtectedSheetEditByColumn);
+CPPUNIT_TEST(testInsertColumnsWithFormulaCells);
 CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -6645,6 +6648,49 @@ void Test::testProtectedSheetEditByColumn()
 m_pDoc->DeleteTab(0);
 }
 
+void Test::testInsertColumnsWithFormulaCells()
+{
+m_pDoc->InsertTab(0, "Tab1");
+
+std::set aCols = m_pDoc->QueryColumnsWithFormulaCells(0);
+CPPUNIT_ASSERT_MESSAGE("empty sheet should contain no formula cells.", 
aCols.empty());
+
+auto equals = [](const std::set& left, const std::set& right)
+{
+return left == right;
+};
+
+// insert formula cells in columns 2, 4 and 6.
+m_pDoc->SetFormula(ScAddress(2, 2, 0), "=1", m_pDoc->GetGrammar());
+m_pDoc->SetFormula(ScAddress(4, 2, 0), "=1", m_pDoc->GetGrammar());
+m_pDoc->SetFormula(ScAddress(6, 2, 0), "=1", m_pDoc->GetGrammar());
+
+aCols = m_pDoc->QueryColumnsWithFormulaCells(0);
+
+std::set aExpected = { 2, 4, 6 };
+CPPUNIT_ASSERT_MESSAGE("Columns 2, 4 and 6 should contain formula cells.", 
equals(aExpected, aCols));
+
+// Insert 2 columns at column A to shift everything to right by 2.
+m_pDoc->InsertCol(0, 0, MAXROW, 0, 0, 2);
+
+aExpected = { 4, 6, 8 };
+aCols = m_pDoc->QueryColumnsWithFormulaCells(0);
+CPPUNIT_ASSERT_MESSAGE("Columns 4, 6 and 8 should contain 

[Libreoffice-bugs] [Bug 147565] Browsing comments in the navigation pane also browses hidden solved comments

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147565

--- Comment #6 from Jim Raykowski  ---
Here is a patch that skips hidden comments when using the Navigate By control
for Comments. It also fixes a recent issue that navigated comments are not
scrolled into view:

https://gerrit.libreoffice.org/c/core/+/130518

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147448] Freezes because of External link

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147448

Eike Rathke  changed:

   What|Removed |Added

   Severity|normal  |major
   Priority|medium  |high
   Assignee|libreoffice-b...@lists.free |er...@redhat.com
   |desktop.org |
 Status|NEW |ASSIGNED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147663] Scaling bug on Mac Os Monterey 12.1.1, Libreoffice 7.3

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147663

--- Comment #1 from adrie...@freudianslit.com ---
Another screenshot here: https://ibb.co/C5T7Vbg
Also, I'm using a Macbook Air M1 2020

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147663] New: Scaling bug on Mac Os Monterey 12.1.1, Libreoffice 7.3

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147663

Bug ID: 147663
   Summary: Scaling bug on Mac Os Monterey 12.1.1, Libreoffice 7.3
   Product: LibreOffice
   Version: 7.3.0.3 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: adrie...@freudianslit.com

Description:
The entire Libreoffice interface scales to about 300% larger than it should be.
The interface becomes unusable as a result. If you click on a button (for
example, the paste button in Writer), Italics gets activated instead.

The bug is not present when downgrading to 7.2.5

Screenshot: https://ibb.co/yW4YfHx

Steps to Reproduce:
1. Open Libreoffice

Actual Results:
Interface scales to unusably large size

Expected Results:
Interace should be the size it is in previous versions.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I could not access About LibreOffice due to this bug

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 103133] FILEOPEN: Text blocks in .DOCX created in WPS Office are displayed in incorrect positions in LibO

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103133

Gabor Kelemen (allotropia)  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||3591,
   ||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||1220
 CC||vmik...@collabora.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 103133] FILEOPEN: Text blocks in .DOCX created in WPS Office are displayed in incorrect positions in LibO

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103133

--- Comment #20 from Gabor Kelemen (allotropia)  ---
Created attachment 178548
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178548=edit
The minimized example in LO 7.2 fresher version

...However, it broke again with:

https://git.libreoffice.org/core/+/7163450024000c01d2454aa7aad7f15a425f7ff2

author  Daniel Arato (NISZ)   Mon Sep 27 12:49:57
2021 +0200
committer   Xisco Fauli Mon Oct 04
13:44:19 2021 +0200

tdf#141220 sw: fix textbox popped out of off-page shape

Now the lower textbox is correctly positioned, but empty. However, reducing the
zoom until both pages are visible, makes the text visible too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: Branch 'libreoffice-7-3' - sc/inc sc/source

2022-02-25 Thread Kohei Yoshida (via logerrit)
 sc/inc/mtvelements.hxx  |2 ++
 sc/source/core/data/column.cxx  |1 +
 sc/source/core/data/mtvelements.cxx |5 +
 3 files changed, 8 insertions(+)

New commits:
commit 7d64ec7d342da64e050ed9ac326b1af33d5c6955
Author: Kohei Yoshida 
AuthorDate: Thu Feb 24 21:06:50 2022 -0500
Commit: Kohei Yoshida 
CommitDate: Sat Feb 26 00:16:58 2022 +0100

tdf#147298: When swapping the cell stores, swap back the event handlers.

Swapping the cell stores also swap the event handlers stored therein.
But we do want the event handlers to stay with the original column
instances as they store pointers to their host column instances.

Change-Id: Id35b89db641e94dbaa341b33d0b64dce19a99465
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130510
Reviewed-by: Kohei Yoshida 
Tested-by: Kohei Yoshida 
(cherry picked from commit 8f25d42938977b34f3281238a92fb34ebea5838c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130464
Tested-by: Jenkins

diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx
index 05a0970bd64d..75cdea9483bd 100644
--- a/sc/inc/mtvelements.hxx
+++ b/sc/inc/mtvelements.hxx
@@ -98,6 +98,8 @@ public:
 
 /** Stop processing events. */
 void stop();
+
+void swap(CellStoreEvent& other);
 };
 
 struct CellStoreTrait
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 20cfc194b8b4..9d5643073f70 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1970,6 +1970,7 @@ void ScColumn::SwapCol(ScColumn& rCol)
 maCellNotes.swap(rCol.maCellNotes);
 
 // Swap all CellStoreEvent mdds event_func related.
+maCells.event_handler().swap(rCol.maCells.event_handler());
 std::swap( mnBlkCountFormula, rCol.mnBlkCountFormula);
 
 // notes update caption
diff --git a/sc/source/core/data/mtvelements.cxx 
b/sc/source/core/data/mtvelements.cxx
index ee6c9cf1499c..a06e86dcae16 100644
--- a/sc/source/core/data/mtvelements.cxx
+++ b/sc/source/core/data/mtvelements.cxx
@@ -56,6 +56,11 @@ void CellStoreEvent::stop()
 mpCol = nullptr;
 }
 
+void CellStoreEvent::swap(CellStoreEvent& other)
+{
+std::swap(mpCol, other.mpCol);
+}
+
 ColumnBlockPositionSet::ColumnBlockPositionSet(ScDocument& rDoc) : mrDoc(rDoc) 
{}
 
 ColumnBlockPosition* ColumnBlockPositionSet::getBlockPosition(SCTAB nTab, 
SCCOL nCol)


Re: [Libreoffice-qa] ESC meeting minutes: 2022-02-24

2022-02-25 Thread Kevin Suo
I think you guys should wait and have the fix for bug 147298 to be included in 
7.3.1 release. That is a blocker for Calc.

Bug 147298 - Auto Calculate does not work on newly inserted columns in ods or 
xls formats



于 2022年2月24日 GMT+08:00 下午11:38:41, Miklos Vajna  写到:
>* Present:
> + Sophie, Stephan, Michael S, Ilmari, Hossein, Gabriel, Cloph, Caolan, 
> Heiko, Miklos, Olivier, Xisco, Aron, Kendy, Eike
>
>* Completed Action Items:
> + add a note to the 
> https://wiki.documentfoundation.org/Development/Environment_variables wiki 
> page to have prefixes (to prevent collision) + think twice before adding a 
> new one (Hossein)
>   + review of the new page is appreciated
> + go back to have a prefix for NO_QUERYSAVE (Heiko)
>
>* Pending Action Items:
> + None
>
>* Release Engineering update (Cloph)
> + 7.3 status: 7.3.1 rc2 was tagged, builds are in progress
> + 7.2 status: 7.2.6 rc2 in 1 week
> + Remotes: Android, iOS
> + Android viewer
>
>* Documentation (Olivier)
> + New Help
>+ Improvements in search scope (Ilmari)
> + HelpContents2
>+ New pages (ohallot)
>+ Fixes (flywire, S. Horacek, M Kaganski)
> + Guides
>+ Published Getting Started Guide 7.3. (J. Weber)
>+ Published Turkish translation (Ayhan Yalçinsoy)
>+ Work/update for other guides 7.3 started (Team)
> + Calc functions wiki articles have received dozens of small fixes in the 
> past weeks (Ilmari)
>+ 
> https://wiki.documentfoundation.org/Documentation/Calc_Functions/List_of_Functions
>+ thanks to Dutch translator Henk van der Burg for input and 
> suggestions
> + Bugzilla Documentation statistics
> 240(240) bugs open
> + Updates:
> BZ changes   1 week1 month3 months   12 months
>created 12(-3) 46(-5)126(1)  331(-2)
>  commented 15(-19)   117(-39)   421(-33)   1650(-2)
>   resolved  3(-1) 15(-2) 61(2)  202(1)
> + top 10 contributors:
>   Olivier Hallot made 71 changes in 1 month, and 585 changes in 1 year
>   Heiko Tietze made 22 changes in 1 month, and 86 changes in 1 year
>   Kaganski, Mike made 15 changes in 1 month, and 100 changes in 1 year
>   Rafael Lima made 13 changes in 1 month, and 372 changes in 1 year
>   Nabet, Julien made 13 changes in 1 month, and 62 changes in 1 year
>   Xisco Fauli made 11 changes in 1 month, and 91 changes in 1 year
>   Michael Warner made 9 changes in 1 month, and 10 changes in 1 year
>   Seth Chaiklin made 8 changes in 1 month, and 123 changes in 1 year
>   Alain Romedenne made 6 changes in 1 month, and 35 changes in 1 year
>   Stéphane Guillou made 6 changes in 1 month, and 30 changes in 1 year
>
>
>* UX Update (Heiko)
> + Bugzilla (topicUI) statistics
> 260(260) (topicUI) bugs open, 96(96) (needsUXEval) needs to be 
> evaluated by the UXteam
> + Updates:
> BZ changes   1 week   1 month   3 months   12 months
>  added  4(2) 10(2) 15(2)   58(-3)
>  commented 52(-3)   241(8)656(7) 2804(-6)
>removed  2(-1) 6(-1)13(1)   36(1)
>   resolved  7(-7)48(0)107(2)  402(-1)
> + top 10 contributors:
>   Heiko Tietze made 246 changes in 1 month, and 1941 changes in 1 year
>   Seth Chaiklin made 26 changes in 1 month, and 129 changes in 1 year
>   Foote, V Stuart made 20 changes in 1 month, and 479 changes in 1 
> year
>   Dieter made 17 changes in 1 month, and 255 changes in 1 year
>   Rafael Lima made 16 changes in 1 month, and 52 changes in 1 year
>   Ilmari Lauhakangas made 14 changes in 1 month, and 295 changes in 1 
> year
>   kabilo made 12 changes in 1 month, and 21 changes in 1 year
>   Thomas Lendo made 11 changes in 1 month, and 40 changes in 1 year
>   *UNKNOWN* made 10 changes in 1 month, and 10 changes in 1 year
>   Albrecht Müller made 9 changes in 1 month, and 11 changes in 1 year
>
>+ 3 new tickets since Feb/17
>  [Bug 147540] Feature request: Rotate entire PDF document in Draw
> => WF
>  [Bug 147524] Enhancement request: switch location of "Increase Indent" 
> and
>   "Decrease Indent" icons on Writer toolbar
> => easyhack
>  [Bug 132589] Caption frame doesn't shrink 'in ratio' (empty space at the 
> bottom)
> => NAB (NEEDINFO)
>
>* Crash Testing (Caolan)
> + 13(+0) import failure, 6(+0) export failures
> + 320 coverity issues
>   - new coverity version
>   - handful of new good issues
>   - lots of bogus looking things, std::unique_ptr::reset() unaware ?
> + 16 ossfuzz issues
>   - hwpfuzzer was fuzzing only parse, not parse+import
> + CVE-2021-25636 Incorrect trust validation of signature with ambiguous 
> KeyInfo children 

[Libreoffice-bugs] [Bug 103133] FILEOPEN: Text blocks in .DOCX created in WPS Office are displayed in incorrect positions in LibO

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103133

--- Comment #19 from Gabor Kelemen (allotropia)  ---
Created attachment 178547
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178547=edit
The minimized example in LO 7.2

The minimized example got solved in 7.2:

Version: 7.2.2.0.0+ / LibreOffice Community
Build ID: c0b951024c2ec815f1ef70d59d31860df2434d28
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

https://git.libreoffice.org/core/+/c0b951024c2ec815f1ef70d59d31860df2434d28

author  Miklos Vajna Mon Sep 20 19:56:37 2021 +0200
committer   Xisco Fauli Tue Sep 21
11:33:37 2021 +0200

tdf#143591 DOCX import: handle anchored objects as at-char

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147662] New: DATA AUTO FILTER

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147662

Bug ID: 147662
   Summary: DATA AUTO FILTER
   Product: LibreOffice
   Version: 7.2.5.2 release
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ronrobsil...@gmail.com

Created attachment 178546
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178546=edit
Spreadsheet for Pickleball Competitions

The Auto Filters on the "Player Roster" sheet disappear sporadically. Usually
after saving the "Workspace" sheet to .CSV, closing the file and opening it
again.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131141] [META] Sukapura icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131141

Rizal Muttaqin  changed:

   What|Removed |Added

 Depends on||147521


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147521
[Bug 147521] New icon needed for the new .uno:DuplicateSheet command
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 125965] [META] Sifr icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=125965

Rizal Muttaqin  changed:

   What|Removed |Added

 Depends on||147521


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147521
[Bug 147521] New icon needed for the new .uno:DuplicateSheet command
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 120946] [META] Karasa Jaga icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120946

Rizal Muttaqin  changed:

   What|Removed |Added

 Depends on||147521


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147521
[Bug 147521] New icon needed for the new .uno:DuplicateSheet command
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 117497] [META] Colibre icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117497

Rizal Muttaqin  changed:

   What|Removed |Added

 Depends on||147521


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147521
[Bug 147521] New icon needed for the new .uno:DuplicateSheet command
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 120949] [META] Elementary icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120949

Rizal Muttaqin  changed:

   What|Removed |Added

 Depends on||147521


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147521
[Bug 147521] New icon needed for the new .uno:DuplicateSheet command
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 107139] [META] Breeze icons

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107139

Rizal Muttaqin  changed:

   What|Removed |Added

 Depends on||147521


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147521
[Bug 147521] New icon needed for the new .uno:DuplicateSheet command
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 122247] [META] Icon requests

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=122247
Bug 122247 depends on bug 147521, which changed state.

Bug 147521 Summary: New icon needed for the new .uno:DuplicateSheet command
https://bugs.documentfoundation.org/show_bug.cgi?id=147521

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: xmlsecurity/README.md

2022-02-25 Thread Hossein (via logerrit)
 xmlsecurity/README.md |   32 ++--
 1 file changed, 30 insertions(+), 2 deletions(-)

New commits:
commit ad65aa4391e00ee578595d0301f572f7384c1612
Author: Hossein 
AuthorDate: Mon Feb 21 17:10:49 2022 +0100
Commit: Hossein 
CommitDate: Fri Feb 25 23:59:56 2022 +0100

Add documentation for xmlsecurity

* Add basic information
* Add some references

Change-Id: Id036c23f90f53c36052b155f62f68ee0266f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130289
Tested-by: Jenkins
Reviewed-by: Hossein 

diff --git a/xmlsecurity/README.md b/xmlsecurity/README.md
index 796094901112..b983f5dc5eb5 100644
--- a/xmlsecurity/README.md
+++ b/xmlsecurity/README.md
@@ -1,4 +1,32 @@
 # Stuff for Document Signing
 
-This code provides dialogs, and infrastructure wrapping `libxmlsec` and 
`gpgme` that
-implements document signing.
+This code provides dialogs, and infrastructure wrapping `libxmlsec` and
+`gpgme` that implements document signing.
+
+For signing a document, a personal key pair is used, which consists of a
+private key and a public key, which is added to the document in addition
+to the digital signature of the document, when signing it.
+
+The document signing can be done both for the source ODF/OOXML files and
+the exported PDF files. It is also possible to sign existing PDF files.
+
+To test the signed PDFs, one can use the `pdfverify` in this way:
+
+./bin/run pdfverify $PWD/xmlsecurity/qa/unit/pdfsigning/data/2good.pdf
+
+The file parameter should be an absolute path.
+
+This is the output of `pdfverify` for `2good.pdf`:
+
+```
+verifying signatures
+found 2 signatures
+signature #0: digest match? 1
+signature #0: partial? 0
+signature #1: digest match? 1
+signature #1: partial? 0
+```
+
+## References
+* [Adobe: Digital Signatures in a 
PDF](https://www.adobe.com/devnet-docs/etk_deprecated/tools/DigSig/Acrobat\_DigitalSignatures_in_PDF.pdf)
+* [Adobe: Acrobat DC Digital Signatures - Supported 
Standards](https://www.adobe.com/devnet-docs/acrobatetk/tools/DigSigDC/standards.html)


Re: ESC meeting minutes: 2022-02-24

2022-02-25 Thread Kevin Suo
I think you guys should wait and have the fix for bug 147298 to be included in 
7.3.1 release. That is a blocker for Calc.

Bug 147298 - Auto Calculate does not work on newly inserted columns in ods or 
xls formats



于 2022年2月24日 GMT+08:00 下午11:38:41, Miklos Vajna  写到:
>* Present:
> + Sophie, Stephan, Michael S, Ilmari, Hossein, Gabriel, Cloph, Caolan, 
> Heiko, Miklos, Olivier, Xisco, Aron, Kendy, Eike
>
>* Completed Action Items:
> + add a note to the 
> https://wiki.documentfoundation.org/Development/Environment_variables wiki 
> page to have prefixes (to prevent collision) + think twice before adding a 
> new one (Hossein)
>   + review of the new page is appreciated
> + go back to have a prefix for NO_QUERYSAVE (Heiko)
>
>* Pending Action Items:
> + None
>
>* Release Engineering update (Cloph)
> + 7.3 status: 7.3.1 rc2 was tagged, builds are in progress
> + 7.2 status: 7.2.6 rc2 in 1 week
> + Remotes: Android, iOS
> + Android viewer
>
>* Documentation (Olivier)
> + New Help
>+ Improvements in search scope (Ilmari)
> + HelpContents2
>+ New pages (ohallot)
>+ Fixes (flywire, S. Horacek, M Kaganski)
> + Guides
>+ Published Getting Started Guide 7.3. (J. Weber)
>+ Published Turkish translation (Ayhan Yalçinsoy)
>+ Work/update for other guides 7.3 started (Team)
> + Calc functions wiki articles have received dozens of small fixes in the 
> past weeks (Ilmari)
>+ 
> https://wiki.documentfoundation.org/Documentation/Calc_Functions/List_of_Functions
>+ thanks to Dutch translator Henk van der Burg for input and 
> suggestions
> + Bugzilla Documentation statistics
> 240(240) bugs open
> + Updates:
> BZ changes   1 week1 month3 months   12 months
>created 12(-3) 46(-5)126(1)  331(-2)
>  commented 15(-19)   117(-39)   421(-33)   1650(-2)
>   resolved  3(-1) 15(-2) 61(2)  202(1)
> + top 10 contributors:
>   Olivier Hallot made 71 changes in 1 month, and 585 changes in 1 year
>   Heiko Tietze made 22 changes in 1 month, and 86 changes in 1 year
>   Kaganski, Mike made 15 changes in 1 month, and 100 changes in 1 year
>   Rafael Lima made 13 changes in 1 month, and 372 changes in 1 year
>   Nabet, Julien made 13 changes in 1 month, and 62 changes in 1 year
>   Xisco Fauli made 11 changes in 1 month, and 91 changes in 1 year
>   Michael Warner made 9 changes in 1 month, and 10 changes in 1 year
>   Seth Chaiklin made 8 changes in 1 month, and 123 changes in 1 year
>   Alain Romedenne made 6 changes in 1 month, and 35 changes in 1 year
>   Stéphane Guillou made 6 changes in 1 month, and 30 changes in 1 year
>
>
>* UX Update (Heiko)
> + Bugzilla (topicUI) statistics
> 260(260) (topicUI) bugs open, 96(96) (needsUXEval) needs to be 
> evaluated by the UXteam
> + Updates:
> BZ changes   1 week   1 month   3 months   12 months
>  added  4(2) 10(2) 15(2)   58(-3)
>  commented 52(-3)   241(8)656(7) 2804(-6)
>removed  2(-1) 6(-1)13(1)   36(1)
>   resolved  7(-7)48(0)107(2)  402(-1)
> + top 10 contributors:
>   Heiko Tietze made 246 changes in 1 month, and 1941 changes in 1 year
>   Seth Chaiklin made 26 changes in 1 month, and 129 changes in 1 year
>   Foote, V Stuart made 20 changes in 1 month, and 479 changes in 1 
> year
>   Dieter made 17 changes in 1 month, and 255 changes in 1 year
>   Rafael Lima made 16 changes in 1 month, and 52 changes in 1 year
>   Ilmari Lauhakangas made 14 changes in 1 month, and 295 changes in 1 
> year
>   kabilo made 12 changes in 1 month, and 21 changes in 1 year
>   Thomas Lendo made 11 changes in 1 month, and 40 changes in 1 year
>   *UNKNOWN* made 10 changes in 1 month, and 10 changes in 1 year
>   Albrecht Müller made 9 changes in 1 month, and 11 changes in 1 year
>
>+ 3 new tickets since Feb/17
>  [Bug 147540] Feature request: Rotate entire PDF document in Draw
> => WF
>  [Bug 147524] Enhancement request: switch location of "Increase Indent" 
> and
>   "Decrease Indent" icons on Writer toolbar
> => easyhack
>  [Bug 132589] Caption frame doesn't shrink 'in ratio' (empty space at the 
> bottom)
> => NAB (NEEDINFO)
>
>* Crash Testing (Caolan)
> + 13(+0) import failure, 6(+0) export failures
> + 320 coverity issues
>   - new coverity version
>   - handful of new good issues
>   - lots of bogus looking things, std::unique_ptr::reset() unaware ?
> + 16 ossfuzz issues
>   - hwpfuzzer was fuzzing only parse, not parse+import
> + CVE-2021-25636 Incorrect trust validation of signature with ambiguous 
> KeyInfo children 

[Libreoffice-bugs] [Bug 147661] New: VERTICAL FRACTION FEATURE PRESENT IN FONT NOT APPLIED BY WRITER

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147661

Bug ID: 147661
   Summary: VERTICAL FRACTION FEATURE PRESENT IN FONT NOT APPLIED
BY WRITER
   Product: LibreOffice
   Version: 6.4 all versions
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: mitra_anir...@yahoo.co.in

Description:
My font has vertical fraction look up for Bengali script. On selecting Format >
Characters > CTL Font > Features Alternate (vertical) Fraction Feature is
visible in options. Selecting the option should apply the feature on selected
fraction

Steps to Reproduce:
1. Write the fraction using slash
2. Select the text
3. Menu Format > Character > Feature > Select Alternate (Vertical) Fraction

Actual Results:
See screenshot http://cloud.atipra.in/index.php/s/YosGiyFSoTQeW8i

Expected Results:
See screenshot http://cloud.atipra.in/index.php/s/MxYbEisyFT3KnKT


Reproducible: Always


User Profile Reset: Yes



Additional Info:
libreoffice-writer 1:6.4.7

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 143912] Using Persian language for a cell leads to a wrong value for a date in Calc

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143912

Hossein  changed:

   What|Removed |Added

Summary|persian calendar dont   |Using Persian language for
   |correct in calc |a cell leads to a wrong
   ||value for a date in Calc

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147660] Implement Jalali Calendar in LibreOffice

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147660

Hossein  changed:

   What|Removed |Added

 Blocks||143912


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=143912
[Bug 143912] persian calendar dont correct in calc
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 143912] persian calendar dont correct in calc

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143912

Hossein  changed:

   What|Removed |Added

 Depends on||147660


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=147660
[Bug 147660] Implement Jalali Calendar in LibreOffice
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147660] New: Implement Jalali Calendar in LibreOffice

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147660

Bug ID: 147660
   Summary: Implement Jalali Calendar in LibreOffice
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: hoss...@libreoffice.org
CC: er...@redhat.com

Jalali (Hijri Shamsi, or Solaro Hijri) is the calendar used in Iran and
Afghanistan. It shares the same epoch (start date, Hijra) with the (Lunar)
Hijri calendar which is available in Libreoffice as
i18npool/source/calendar/calendar_hijri.cxx. The difference is that the Jalali
calendar uses solar years.

An introduction to Jalali calendar can be found here:

Solar Hijri calendar
https://en.wikipedia.org/wiki/Solar_Hijri_calendar

Currently, people may use a macro to be able to use Jalali Calendar, but it has
its own shortcomings:

Persian or Jalali Calndar for Calc
https://extensions.libreoffice.org/en/extensions/show/5709

A good FOSS implementation of Jalali calendar is available in C programming
language without extra dependencies:

https://github.com/ashkang/jcal/

It has been used in Ubuntu, Debian and elsewhere:
https://packages.ubuntu.com/bionic/utils/jcal
https://packages.debian.org/sid/jcal

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sal/rtl

2022-02-25 Thread Mike Kaganski (via logerrit)
 sal/rtl/strtmpl.hxx |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

New commits:
commit cbb1241ebb7488aa584825645d399b7ee83272fb
Author: Mike Kaganski 
AuthorDate: Fri Feb 25 20:38:23 2022 +0100
Commit: Mike Kaganski 
CommitDate: Fri Feb 25 22:56:17 2022 +0100

Slightly optimize newReplaceAllFromIndex

Change-Id: Ie73a5e8c44458123ef03096e3e8f6c9e41c48814
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130466
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 

diff --git a/sal/rtl/strtmpl.hxx b/sal/rtl/strtmpl.hxx
index 598d214878d6..348b84fab246 100644
--- a/sal/rtl/strtmpl.hxx
+++ b/sal/rtl/strtmpl.hxx
@@ -1695,19 +1695,20 @@ void newReplaceAllFromIndex(S** s, S* s1, CharTypeFrom 
const* from, sal_Int32 fr
 {
 if (s1->length - fromLength > SAL_MAX_INT32 - toLength)
 std::abort();
-acquire(s1); // in case *s == s1
+i += fromIndex;
 sal_Int32 nCapacity = s1->length + (toLength - fromLength);
 if (fromLength < toLength)
 {
 // Pre-allocate up to 16 replacements more
-const sal_Int32 nMaxMoreFinds = (s1->length - fromIndex - i - 
fromLength) / fromLength;
+const sal_Int32 nMaxMoreFinds = (s1->length - i - fromLength) / 
fromLength;
 const sal_Int32 nIncrease = toLength - fromLength;
 const sal_Int32 nMoreReplacements = std::min(
 { nMaxMoreFinds, (SAL_MAX_INT32 - nCapacity) / nIncrease, 
sal_Int32(16) });
 nCapacity += nMoreReplacements * nIncrease;
 }
-new_WithLength(s, nCapacity);
-i += fromIndex;
+const auto pOld = *s;
+*s = Alloc(nCapacity);
+(*s)->length = 0;
 fromIndex = 0;
 do
 {
@@ -1718,7 +1719,8 @@ void newReplaceAllFromIndex(S** s, S* s1, CharTypeFrom 
const* from, sal_Int32 fr
 } while (i >= 0);
 // the rest
 detail::append(s, , s1->buffer + fromIndex, s1->length - 
fromIndex);
-release(s1);
+if (pOld)
+release(pOld); // Must be last in case *s == s1
 }
 else
 assign(s, s1);


[Libreoffice-commits] core.git: sal/rtl

2022-02-25 Thread Mike Kaganski (via logerrit)
 sal/rtl/strtmpl.hxx |   34 ++
 sal/rtl/ustring.cxx |  121 +---
 2 files changed, 38 insertions(+), 117 deletions(-)

New commits:
commit ffb2e5520eff008d4e784fa6b15f4e2baa534e7a
Author: Mike Kaganski 
AuthorDate: Fri Feb 25 20:41:15 2022 +0100
Commit: Mike Kaganski 
CommitDate: Fri Feb 25 22:55:05 2022 +0100

Deduplicate rtl_uString_newReplaceFirst*

Change-Id: I6e09fd8e8acc06290423c1c44cc0c175b0c47e0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130547
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 

diff --git a/sal/rtl/strtmpl.hxx b/sal/rtl/strtmpl.hxx
index 287e6987e36e..598d214878d6 100644
--- a/sal/rtl/strtmpl.hxx
+++ b/sal/rtl/strtmpl.hxx
@@ -1726,6 +1726,40 @@ void newReplaceAllFromIndex(S** s, S* s1, CharTypeFrom 
const* from, sal_Int32 fr
 RTL_LOG_STRING_NEW(*s);
 }
 
+template 
+void newReplaceFirst(S** s, S* s1, CharTypeFrom const* from, sal_Int32 
fromLength,
+ CharTypeTo const* to, sal_Int32 toLength, sal_Int32& 
fromIndex)
+{
+assert(s != nullptr);
+assert(s1 != nullptr);
+assert(fromLength >= 0);
+assert(from != nullptr || fromLength == 0);
+assert(toLength >= 0);
+assert(to != nullptr || toLength == 0);
+assert(fromIndex >= 0 && fromIndex <= s1->length);
+sal_Int32 i = detail::indexOf(s1->buffer + fromIndex, s1->length - 
fromIndex, from, fromLength);
+if (i >= 0)
+{
+if (s1->length - fromLength > SAL_MAX_INT32 - toLength)
+std::abort();
+i += fromIndex;
+const sal_Int32 n = s1->length + (toLength - fromLength);
+const auto pOld = *s;
+*s = Alloc(n);
+if (i)
+Copy((*s)->buffer, s1->buffer, i);
+if (toLength)
+Copy((*s)->buffer + i, to, toLength);
+Copy((*s)->buffer + i + toLength, s1->buffer + i + fromLength, 
s1->length - i - fromLength);
+if (pOld)
+release(pOld); // Must be last in case *s == s1
+}
+else
+assign(s, s1);
+
+fromIndex = i;
+}
+
 template 
 using doubleToString_t
 = void(SAL_CALL*)(IMPL_RTL_STRINGDATA** pResult, sal_Int32* 
pResultCapacity,
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index 1f81dc3fd902..b289ae2a3f21 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -984,43 +984,8 @@ void rtl_uString_newReplaceFirstAsciiLAsciiL(
 sal_Int32 fromLength, char const * to, sal_Int32 toLength,
 sal_Int32 * index) SAL_THROW_EXTERN_C()
 {
-assert(str != nullptr);
 assert(index != nullptr);
-assert(*index >= 0 && *index <= str->length);
-assert(fromLength >= 0);
-assert(to != nullptr);
-assert(toLength >= 0);
-sal_Int32 i = rtl_ustr_indexOfAscii_WithLength(
-str->buffer + *index, str->length - *index, from, fromLength);
-if (i == -1) {
-rtl_uString_assign(newStr, str);
-} else {
-assert(i <= str->length - *index);
-i += *index;
-assert(fromLength <= str->length);
-if (str->length - fromLength > SAL_MAX_INT32 - toLength) {
-std::abort();
-}
-sal_Int32 n = str->length - fromLength + toLength;
-rtl_uString_acquire(str); // in case *newStr == str
-rtl_uString_new_WithLength(newStr, n);
-if (n != 0) {
-(*newStr)->length = n;
-assert(i >= 0 && i < str->length);
-memcpy(
-(*newStr)->buffer, str->buffer, i * sizeof (sal_Unicode));
-for (sal_Int32 j = 0; j != toLength; ++j) {
-assert(static_cast< unsigned char >(to[j]) <= 0x7F);
-(*newStr)->buffer[i + j] = to[j];
-}
-memcpy(
-(*newStr)->buffer + i + toLength,
-str->buffer + i + fromLength,
-(str->length - i - fromLength) * sizeof (sal_Unicode));
-}
-rtl_uString_release(str);
-}
-*index = i;
+rtl::str::newReplaceFirst(newStr, str, from, fromLength, to, toLength, 
*index);
 }
 
 void rtl_uString_newReplaceFirstAsciiLUtf16L(
@@ -1028,28 +993,8 @@ void rtl_uString_newReplaceFirstAsciiLUtf16L(
 sal_Int32 fromLength, sal_Unicode const * to, sal_Int32 toLength,
 sal_Int32 * index) SAL_THROW_EXTERN_C()
 {
-assert(str != nullptr);
 assert(index != nullptr);
-assert(*index >= 0 && *index <= str->length);
-assert(fromLength >= 0);
-assert(to != nullptr || toLength == 0);
-assert(toLength >= 0);
-sal_Int32 i = rtl_ustr_indexOfAscii_WithLength(
-str->buffer + *index, str->length - *index, from, fromLength);
-if (i == -1) {
-rtl_uString_assign(newStr, str);
-} else {
-assert(i <= str->length - *index);
-i += *index;
-assert(fromLength <= str->length);
-if (str->length - fromLength > SAL_MAX_INT32 - toLength) {
-rtl_uString_release(*newStr);
-*newStr = nullptr;
-} else {
-

[Libreoffice-bugs] [Bug 135132] Empty page after changing anchoring from As character to "to character"

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=135132

Gabor Kelemen (allotropia)  changed:

   What|Removed |Added

 CC||kelem...@ubuntu.com,
   ||michael.st...@allotropia.de

--- Comment #4 from Gabor Kelemen (allotropia)  ---
Still a problem in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 0723b41bed9bb4ad50d2993744a60177966d1a21
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

Adding CC to: Michael Stahl

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sal/qa sal/rtl

2022-02-25 Thread Stephan Bergmann (via logerrit)
 sal/qa/rtl/oustring/rtl_OUString2.cxx |   11 ++-
 sal/rtl/ustring.cxx   |   11 ++-
 2 files changed, 20 insertions(+), 2 deletions(-)

New commits:
commit 7025ca508b427fdf5eee7410d7e636adac9f0a94
Author: Stephan Bergmann 
AuthorDate: Fri Feb 25 13:20:14 2022 +0100
Commit: Stephan Bergmann 
CommitDate: Fri Feb 25 22:47:21 2022 +0100

Make an -fsanitize=undefined workaround conditional

...that had been introduced with b5cb4935c268f12e63b61e035b455b0a59e67aa2 
"Work
around undef conversion of large double to float" but should no longer be
necessary with


"Treat the range of representable values of floating-point types as [-inf, 
+inf]
not as [-max, +max]" added towards Clang 9.

Thanks to Mike Kaganski for pointing me at this old code and at Richard 
Smith's
comment at

.

Change-Id: I8ecf115fcf6b1ebf621cb4567f8d31ac9b10ef1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130531
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann 

diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx 
b/sal/qa/rtl/oustring/rtl_OUString2.cxx
index 0e85a066f33f..0ce047e9fb32 100644
--- a/sal/qa/rtl/oustring/rtl_OUString2.cxx
+++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx
@@ -30,6 +30,7 @@
 #include 
 #include 
 
+#include 
 #include 
 
 #include 
@@ -41,14 +42,22 @@ namespace rtl_OUString
 namespace {
 
 // Avoid -fsanitize=undefined warning e.g. "runtime error: value 1e+99 is
-// outside the range of representable values of type 'float'":
+// outside the range of representable values of type 'float'" with Clang prior 
to
+// 

 "Treat the
+// range of representable values of floating-point types as [-inf, +inf] not 
as [-max, +max]"
+// (ENABLE_RUNTIME_OPTIMIZATIONS is an approximation for checking whether 
building is done without
+// -fsanitize=undefined):
 float doubleToFloat(double x) {
+#if !defined __clang__ || __clang_major__ >= 9 || ENABLE_RUNTIME_OPTIMIZATIONS
+return static_cast(x);
+#else
 return
 x < -std::numeric_limits::max()
 ? -std::numeric_limits::infinity()
 : x > std::numeric_limits::max()
 ? std::numeric_limits::infinity()
 : static_cast(x);
+#endif
 }
 
 }
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index aa3a7263d1b7..1f81dc3fd902 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -25,6 +25,7 @@
 #include 
 #include 
 
+#include 
 #include 
 #include 
 #include 
@@ -133,14 +134,22 @@ sal_Int32 SAL_CALL rtl_ustr_valueOfDouble(sal_Unicode * 
pStr, double d)
 namespace {
 
 // Avoid -fsanitize=undefined warning e.g. "runtime error: value 1e+99 is
-// outside the range of representable values of type 'float'":
+// outside the range of representable values of type 'float'" with Clang prior 
to
+// 

 "Treat the
+// range of representable values of floating-point types as [-inf, +inf] not 
as [-max, +max]"
+// (ENABLE_RUNTIME_OPTIMIZATIONS is an approximation for checking whether 
building is done without
+// -fsanitize=undefined):
 float doubleToFloat(double x) {
+#if !defined __clang__ || __clang_major__ >= 9 || ENABLE_RUNTIME_OPTIMIZATIONS
+return static_cast(x);
+#else
 return
 x < -std::numeric_limits::max()
 ? -std::numeric_limits::infinity()
 : x > std::numeric_limits::max()
 ? std::numeric_limits::infinity()
 : static_cast(x);
+#endif
 }
 
 }


[Libreoffice-bugs] [Bug 143912] persian calendar dont correct in calc

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143912

Hossein  changed:

   What|Removed |Added

Version|7.1.5.2 release |3.5.0 release
 Whiteboard| QA:needsComment|
 Ever confirmed|0   |1
   Hardware|x86-64 (AMD64)  |All
 Status|UNCONFIRMED |NEW
 CC||hoss...@libreoffice.org

--- Comment #3 from Hossein  ---
First, it should be said that the sample data for Persian in the 'Format Cell'
dialog is wrong. Esfand is the last month of the Jalali calendar for each year,
and it is either 29, or 30 (leap year). Thus, '۳۱ اسفند' which means '31
Esfand' is wrong in the first place.

Other than that, choosing Persian in "Format Cell > Numbers" leads to a whole
set of different wrong results. Either ###, or using the name of the 2nd month
of Jalali instead of 2nd month of Gregorian calendar, or displaying the date
from Gregorian calendar with Persian numerals.

It should be noted that currently the Jalali calendar is not implemented in
LibreOffice.

This problem is reproducible with:

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
OS: Linux 5.13; UI render: default; VCL: gen

Version: 7.3.0.3 / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 237a5e5121a6f12981eb6e4c5a138fc8cfa1c3cf
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147659] LibreOffice App hangs each time I try to copy text.

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147659

m.a.riosv  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||miguelangelrv@libreoffice.o
   ||rg
 Status|UNCONFIRMED |NEEDINFO

--- Comment #1 from m.a.riosv  ---
Please test with a clean profile, Menu/Help/Restart in Safe Mode

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147633] Print thousands separator in Liberation Serif on writer

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147633

m.a.riosv  changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #5 from m.a.riosv  ---
Pasting from calc to writer works fine for me on windows.
Version: 7.2.6.1 (x64) / LibreOffice Community
Build ID: ce99d6a58f9368279ff1495b5b367eb64343b26c
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147648] Every single (bullet or numerical) list, once you reach 10 items, moves the character indent in too far.

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147648

m.a.riosv  changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg
 Resolution|--- |NOTABUG
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from m.a.riosv  ---
Please find how to do it in the forum.
https://ask.libreoffice.org/t/numbered-list-indenting-top-level-after-9-items/19348

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147659] LibreOffice App hangs each time I try to copy text.

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147659

Willie B. Hadley Jr  changed:

   What|Removed |Added

Crash report or||Willie B. Hadley Jr
crash signature||

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sw/qa sw/source

2022-02-25 Thread Michael Stahl (via logerrit)
 sw/qa/extras/layout/data/tdf143239-1-min.odt |binary
 sw/qa/extras/layout/layout.cxx   |   66 +++
 sw/source/core/layout/layact.cxx |3 +
 3 files changed, 69 insertions(+)

New commits:
commit b14bb255199e7d6db6ec9155b5d9237cb35fdba7
Author: Michael Stahl 
AuthorDate: Fri Feb 25 13:43:56 2022 +0100
Commit: Michael Stahl 
CommitDate: Fri Feb 25 22:21:30 2022 +0100

tdf#143239 sw: layout: invalidate fly position when moving off page

It's possible that flags on the fly are all valid when it is moved off page
when SwLayAction::FormatContent() returns and then it may not be positioned
again, keeping its (wrong) position on the old page and will appear to be
invisible unless you click on it.

(regression from commits c799de145f7e289f31e3669646e5bd12814e6c5e
 and eb85de8e6b61fb3fcb6c03ae0145f7fe5478bccf)

Change-Id: If07d5af7b47eb288bef71d1b9e3459197b50fdc9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130535
Tested-by: Jenkins
Reviewed-by: Michael Stahl 

diff --git a/sw/qa/extras/layout/data/tdf143239-1-min.odt 
b/sw/qa/extras/layout/data/tdf143239-1-min.odt
new file mode 100644
index ..4271bfba775b
Binary files /dev/null and b/sw/qa/extras/layout/data/tdf143239-1-min.odt differ
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index f87d50b71315..0888e6c493ce 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -1265,6 +1265,72 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, 
testRedlineFlysInFootnote)
 }
 }
 
+CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf143239)
+{
+SwDoc* pDoc = createSwDoc(DATA_DIRECTORY, "tdf143239-1-min.odt");
+SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
+
+{
+xmlDocUniquePtr pXmlDoc = parseLayoutDump();
+assertXPath(pXmlDoc, "/root/page[2]/body/txt[1]/anchored/fly", 1);
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[1]/anchored/fly[1]/infos/bounds", "top",
+"18540");
+#ifndef MACOSX
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[1]/anchored/fly[1]/infos/bounds", "left",
+"3559");
+#endif
+assertXPath(pXmlDoc, "/root/page[2]/body/txt[2]/anchored/fly", 1);
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[2]/anchored/fly[1]/infos/bounds", "top",
+"23894");
+#ifndef MACOSX
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[2]/anchored/fly[1]/infos/bounds", "left",
+"1964");
+#endif
+assertXPath(pXmlDoc, "/root/page[3]/body/txt[1]/anchored/fly", 1);
+assertXPath(pXmlDoc, 
"/root/page[3]/body/txt[1]/anchored/fly[1]/infos/bounds", "top",
+"35662");
+#ifndef MACOSX
+assertXPath(pXmlDoc, 
"/root/page[3]/body/txt[1]/anchored/fly[1]/infos/bounds", "left",
+"3129");
+#endif
+assertXPath(pXmlDoc, "/root/page", 3);
+discardDumpedLayout();
+}
+
+pWrtShell->SelAll();
+pWrtShell->Delete();
+pWrtShell->Undo();
+Scheduler::ProcessEventsToIdle();
+
+{
+xmlDocUniquePtr pXmlDoc = parseLayoutDump();
+// now the 1st fly was on page 1, and the fly on page 2 was the 2nd one
+assertXPath(pXmlDoc, "/root/page[2]/body/txt[1]/anchored/fly", 1);
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[1]/anchored/fly[1]/infos/bounds", "top",
+"18540");
+#ifndef MACOSX
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[1]/anchored/fly[1]/infos/bounds", "left",
+"3559");
+#endif
+assertXPath(pXmlDoc, "/root/page[2]/body/txt[2]/anchored/fly", 1);
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[2]/anchored/fly[1]/infos/bounds", "top",
+"23894");
+#ifndef MACOSX
+assertXPath(pXmlDoc, 
"/root/page[2]/body/txt[2]/anchored/fly[1]/infos/bounds", "left",
+"1964");
+#endif
+assertXPath(pXmlDoc, "/root/page[3]/body/txt[1]/anchored/fly", 1);
+assertXPath(pXmlDoc, 
"/root/page[3]/body/txt[1]/anchored/fly[1]/infos/bounds", "top",
+"35662");
+#ifndef MACOSX
+assertXPath(pXmlDoc, 
"/root/page[3]/body/txt[1]/anchored/fly[1]/infos/bounds", "left",
+"3129");
+#endif
+assertXPath(pXmlDoc, "/root/page", 3);
+discardDumpedLayout();
+}
+}
+
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTableOverlapFooterFly)
 {
 // Load a document that has a fly anchored in the footer.
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index a21a16f64afe..c7a00139478a 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -1662,6 +1662,9 @@ bool SwLayAction::FormatContent(SwPageFrame *const pPage)
 {
 SAL_INFO("sw.layout", "SwLayAction::FormatContent: move 
anchored " << pObj << " from " << pPage->GetPhyPageNum() << 

[Libreoffice-bugs] [Bug 143239] Image off-page after undo

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143239

--- Comment #5 from Commit Notification 
 ---
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

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

tdf#143239 sw: layout: invalidate fly position when moving off page

It will be available in 7.4.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] [Bug 143239] Image off-page after undo

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143239

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.4.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147659] New: LibreOffice App hangs each time I try to copy text.

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147659

Bug ID: 147659
   Summary: LibreOffice App hangs each time I try to copy text.
   Product: LibreOffice
   Version: 7.2.0.0.alpha0+
  Hardware: Other
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: williebhadle...@gmail.com

Description:
On 2-25-22, I repeatedly tried to copy text from a document created with Libre-
Office and it just hangs and refuses to do this Command.

Actual Results:
Open LibreOffice document and attempt to copy the text within the document.

Expected Results:
The Copy Symbol/Icon did not become gray, which meant to me that the text was
not copied.


Reproducible: Always


User Profile Reset: No



Additional Info:
The Symbol/Icon should have become gray, which would indicate that the
highlighted text was properly copied.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sc/inc sc/source

2022-02-25 Thread Luboš Luňák (via logerrit)
 sc/inc/address.hxx   |6 --
 sc/inc/document.hxx  |2 ++
 sc/source/core/data/bcaslot.cxx  |   14 ++
 sc/source/core/data/column.cxx   |8 
 sc/source/core/data/column2.cxx  |6 +++---
 sc/source/core/data/column3.cxx  |   12 ++--
 sc/source/core/data/documen3.cxx |4 ++--
 sc/source/core/data/document.cxx |8 
 sc/source/core/data/dpcache.cxx  |2 +-
 sc/source/core/data/dpoutput.cxx |4 ++--
 sc/source/core/data/table6.cxx   |4 ++--
 sc/source/core/tool/chgtrack.cxx |6 +++---
 sc/source/core/tool/formulagroup.cxx |2 +-
 sc/source/core/tool/interpr4.cxx |6 +++---
 sc/source/ui/view/cliputil.cxx   |5 -
 15 files changed, 47 insertions(+), 42 deletions(-)

New commits:
commit d9a17ca961d65b01b4c5c036ecb11b10a3ff414b
Author: Luboš Luňák 
AuthorDate: Fri Feb 25 12:48:31 2022 +0100
Commit: Luboš Luňák 
CommitDate: Fri Feb 25 22:18:41 2022 +0100

convert more MAXCOLCOUNT/MAXROWCOUNT

And add GetMax{Col|Row}Count() directly to ScDocument, and also
add MAX{COL|ROW}COUNT_JUMBO.

Change-Id: Ib92cfbf65dd7cbe87230b02b8916e7cc50fcdbc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130529
Tested-by: Jenkins
Reviewed-by: Luboš Luňák 

diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 4532fffec32d..ce910f42cf49 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -69,8 +69,10 @@ const SCROW   MAXROW = MAXROWCOUNT - 1;
 const SCCOL   MAXCOL = MAXCOLCOUNT - 1;
 const SCTAB   MAXTAB = MAXTABCOUNT - 1;
 const SCCOLROWMAXCOLROW  = MAXROW;
-const SCROW   MAXROW_JUMBO   = 16 * 1024 * 1024 - 1;
-const SCCOL   MAXCOL_JUMBO   = 16384 - 1;
+const SCROW   MAXROWCOUNT_JUMBO = 16 * 1024 * 1024;
+const SCCOL   MAXCOLCOUNT_JUMBO = 16384;
+const SCROW   MAXROW_JUMBO   = MAXROWCOUNT_JUMBO - 1;
+const SCCOL   MAXCOL_JUMBO   = MAXCOLCOUNT_JUMBO - 1;
 // Maximum tiled rendering values
 const SCROW   MAXTILEDROW= 50;
 // Limit the initial tab count to prevent users to set the count too high,
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index a53c9334d47f..b0557751ae22 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -877,6 +877,8 @@ public:
 SC_DLLPUBLIC bool GetTable( const OUString& rName, SCTAB& rTab ) const;
 SC_DLLPUBLIC SCCOL MaxCol() const { return mxSheetLimits->mnMaxCol; }
 SC_DLLPUBLIC SCROW MaxRow() const { return mxSheetLimits->mnMaxRow; }
+SC_DLLPUBLIC SCCOL GetMaxColCount() const { return 
mxSheetLimits->GetMaxColCount(); }
+SC_DLLPUBLIC SCROW GetMaxRowCount() const { return 
mxSheetLimits->GetMaxRowCount(); }
 ScSheetLimits& GetSheetLimits() const { return *mxSheetLimits; }
 [[nodiscard]] bool ValidCol(SCCOL nCol) const { return ::ValidCol(nCol, 
mxSheetLimits->mnMaxCol); }
 [[nodiscard]] bool ValidRow(SCROW nRow) const { return ::ValidRow(nRow, 
mxSheetLimits->mnMaxRow); }
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index 7e6383a9c35b..65bc2600d475 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -568,7 +568,6 @@ ScBroadcastAreaSlotMachine::ScBroadcastAreaSlotMachine(
 pEOUpdateChain( nullptr ),
 nInBulkBroadcast( 0 )
 {
-const ScSheetLimits& rSheetLimits = pDoc->GetSheetLimits();
 // initSlotDistribution -
 // Logarithmic or any other distribution.
 // Upper and leftmost sheet part usually is more populated and referenced 
and gets fine
@@ -585,7 +584,7 @@ ScBroadcastAreaSlotMachine::ScBroadcastAreaSlotMachine(
 sal_Int32 nCol1 = 0;
 sal_Int32 nCol2 = 1024;
 SCSIZE nSliceCol = 16;
-while (nCol2 <= rSheetLimits.GetMaxColCount())
+while (nCol2 <= pDoc->GetMaxColCount())
 {
 SCROW nRow1 = 0;
 SCROW nRow2 = 32*1024;
@@ -593,7 +592,7 @@ ScBroadcastAreaSlotMachine::ScBroadcastAreaSlotMachine(
 SCSIZE nSlotsCol = 0;
 SCSIZE nSlotsStartCol = nSlots;
 // Must be sorted by row1,row2!
-while (nRow2 <= rSheetLimits.GetMaxRowCount())
+while (nRow2 <= pDoc->GetMaxRowCount())
 {
 maSlotDistribution.emplace_back(nRow1, nRow2, nSliceRow, 
nSlotsCol, nCol1, nCol2, nSliceCol, nSlotsStartCol);
 nSlotsCol += (nRow2 - nRow1) / nSliceRow;
@@ -690,7 +689,6 @@ static void compare(SCSIZE value1, SCSIZE value2, int line)
 // Basic checks that the calculations work correctly.
 void ScBroadcastAreaSlotMachine::DoChecks()
 {
-const ScSheetLimits& rSheetLimits = pDoc->GetSheetLimits();
 // Copy from the ctor.
 constexpr SCSIZE nSliceRow = 128;
 constexpr SCSIZE nSliceCol = 16;
@@ -702,7 +700,7 @@ void ScBroadcastAreaSlotMachine::DoChecks()
 compare( ComputeSlotOffset( ScAddress( nSliceCol - 1, 0, 0 )),
  ComputeSlotOffset( ScAddress( nSliceCol, 0, 0 

[Libreoffice-bugs] [Bug 108531] Improve mechanism for recognizing pauses in character string typing for entries in ListBox controls

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108531

--- Comment #20 from Buovjaga  ---
(In reply to Aaron Gerber from comment #19)
> How could the status still be "NEW" on a bug reported 5 years ago that has
> garnered 18 comments?

NEW means it has been confirmed.

https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147495] Scrolling within Calc sheet is erratic or ignored

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147495

Marmel  changed:

   What|Removed |Added

Version|unspecified |7.2.5.2 release
   Hardware|All |x86-64 (AMD64)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 93200] PDF import: text blocked in highlighted area

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93200

--- Comment #10 from Ajb  ---
Problem still exists in Version: 7.2.5.2.0+ running on Manjaro Linux:

I retrieved a .PDF file containing yellow-highlighted text, and only the
highlighting is visible on the screen, and only uniform gray appears on the
b/w-printed page.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141665] RTF files from Crystal Reports with tables are unreadable

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141665

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr,
   ||vmik...@collabora.com

--- Comment #4 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today, it takes quite some time
to open (about 1 minute) and still garbled text.

Miklos: thought you might be interested in this one since it concerns rtf.
Of course, it's not rtf generated by Word and perhaps Crystal Reports does
something wrong.

On console logs, I just noticed several of these ones:
warn:writerfilter:1680410:1680410:writerfilter/source/dmapper/DomainMapper.cxx:1293:
DomainMapper::lcl_attribute: unhandled token: 0
warn:legacy.osl:1680410:1680410:svx/source/unodraw/unoshape.cxx:1942:
SvxShape::GetAnyForItem() Returnvalue has wrong Type!
warn:sw.core:1680410:1680410:sw/source/core/docnode/node.cxx:1985: Wrong cond
collection, skipping check of Cond Colls.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 108531] Improve mechanism for recognizing pauses in character string typing for entries in ListBox controls

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108531

--- Comment #19 from Aaron Gerber  ---
How could the status still be "NEW" on a bug reported 5 years ago that has
garnered 18 comments?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 108531] Improve mechanism for recognizing pauses in character string typing for entries in ListBox controls

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108531

--- Comment #18 from Aaron Gerber  ---
For me, this happens intermittently.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147652] Convert-to isn’t working in Debian 9, Libreoffice 7.3

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147652

--- Comment #6 from Julien Nabet  ---
Created attachment 178545
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178545=edit
generated file

No pb here:
julien@debianamd:/tmp$ soffice --headless --infilter="writer_pdf_import"
--convert-to doc:"MS Word 97" Trading\ bot\ website.pdf 
convert /tmp/Trading bot website.pdf -> /tmp/Trading bot website.doc using
filter : MS Word 97

I attached generated file

Do you use LO from Debian repositories?

Could you try
https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 96954] setting General number format does not work with selected cells if they are formatted to different number formats

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96954

--- Comment #17 from Jim Avera  ---
Confirming bug exists on latest master, and here is a very simple test case:

   Set any cell to Currency format.  Then select the row or column containing
that cell and set the format to Number:General ... the cell is not changed. 
This problem only occurs with Number:General; if changing to something else it
works.

STEPS TO REPRODUCE:

1. Create new calc spreadsheet

2. Set cell B2 to 1.23456789

3. Select B2,  Format->Cells ...
   In 'Numbers' tab, set Category=Currency, Format -$1,234; click OK
   (B2 now displays "$1")

4. Select Row 2 or Column B, Format->Cells ...
   In 'Numbers' tab, set Category=Number, Format General, click OK
   (B2 still displays "$1", incorrectly)

RESULTS: B2 still displays as "$1"

EXPECTED RESULTS: Expecting "1.23456788"


Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 703fb7739a5e604d90e147db6f67917b8d141150
CPU threads: 12; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: vcl/inc vcl/source vcl/workben

2022-02-25 Thread Caolán McNamara (via logerrit)
 vcl/inc/fontsubset.hxx|2 ++
 vcl/source/font/font.cxx  |1 +
 vcl/source/fontsubset/sft.cxx |   31 +++
 vcl/workben/fftester.cxx  |3 ++-
 vcl/workben/sftfuzzer.cxx |5 ++---
 5 files changed, 38 insertions(+), 4 deletions(-)

New commits:
commit 237a5e5121a6f12981eb6e4c5a138fc8cfa1c3cf
Author: Caolán McNamara 
AuthorDate: Fri Feb 25 15:46:16 2022 +
Commit: Caolán McNamara 
CommitDate: Fri Feb 25 20:56:05 2022 +0100

do more work in sftfuzzer

Change-Id: I8a0ae472988f9166dc35eea561a9d5d7084563e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130539
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 

diff --git a/vcl/inc/fontsubset.hxx b/vcl/inc/fontsubset.hxx
index 1a4c7b80b118..2db54387034e 100644
--- a/vcl/inc/fontsubset.hxx
+++ b/vcl/inc/fontsubset.hxx
@@ -89,6 +89,8 @@ private:
 static bool CreateFontSubsetFromType1( const sal_Int32* pOutGlyphWidths );
 };
 
+int VCL_DLLPUBLIC TestFontSubset(const void* data, sal_uInt32 size);
+
 #endif // INCLUDED_VCL_INC_FONTSUBSET_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/font/font.cxx b/vcl/source/font/font.cxx
index 789273aaf40b..16678dd61ac7 100644
--- a/vcl/source/font/font.cxx
+++ b/vcl/source/font/font.cxx
@@ -30,6 +30,7 @@
 
 #include 
 #include 
+#include 
 #include 
 
 #include 
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index bfd8c1d5e8e8..999cf07de1d2 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -43,6 +43,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 namespace vcl
@@ -2279,4 +2280,34 @@ bool getTTCoverage(
 
 } // namespace vcl
 
+int TestFontSubset(const void* data, sal_uInt32 size)
+{
+int nResult = -1;
+vcl::TrueTypeFont* pTTF = nullptr;
+if (OpenTTFontBuffer(data, size, 0, ) == vcl::SFErrCodes::Ok)
+{
+vcl::TTGlobalFontInfo aInfo;
+GetTTGlobalFontInfo(pTTF, );
+
+sal_uInt16 aGlyphIds[ 256 ] = {};
+sal_uInt8 aEncoding[ 256 ] = {};
+
+for (sal_uInt16 c = 32; c < 256; ++c)
+{
+aEncoding[c] = c;
+aGlyphIds[c] = c - 31;
+}
+
+CreateTTFromTTGlyphs(pTTF, nullptr, aGlyphIds, aEncoding, 256);
+
+
+// cleanup
+CloseTTFont( pTTF );
+// success
+nResult = 0;
+}
+
+return nResult;
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index d69c07708841..3c6645dbb89f 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -69,6 +69,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "../source/filter/igif/gifread.hxx"
 #include "../source/filter/ixbm/xbmread.hxx"
@@ -525,7 +526,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
 SvFileStream aFileStream(out, StreamMode::READ);
 std::vector aData(aFileStream.remainingSize());
 aFileStream.ReadBytes(aData.data(), aData.size());
-(void)vcl::Font::identifyFont(aData.data(), aData.size());
+ret = TestFontSubset(aData.data(), aData.size());
 }
 
 #endif
diff --git a/vcl/workben/sftfuzzer.cxx b/vcl/workben/sftfuzzer.cxx
index fc951ddc1468..f0a4a9a8cadf 100644
--- a/vcl/workben/sftfuzzer.cxx
+++ b/vcl/workben/sftfuzzer.cxx
@@ -7,7 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#include 
+#include 
 #include "commonfuzzer.hxx"
 
 #include 
@@ -37,8 +37,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
 
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
 {
-(void)vcl::Font::identifyFont(data, size);
-return 0;
+return TestFontSubset(data, size);
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


[Libreoffice-bugs] [Bug 147652] Convert-to isn’t working in Debian 9, Libreoffice 7.3

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147652

--- Comment #5 from MaLik Mubeen  ---
Created attachment 178544
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178544=edit
pdf to doc

libreoffice --headless --infilter="writer_pdf_import" --convert-to doc:"MS Word
97" {filename}.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147637] LO Write crash when use the EXCHANGE DATABASE button in mail merge

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147637

Julien Nabet  changed:

   What|Removed |Added

   Keywords||wantBacktrace
 Status|NEW |NEEDINFO

--- Comment #1 from Julien Nabet  ---
Please don't autoconfirm your own bug.

Also, could you provide a package with minimal test files (odt+ods) + minimal
step by step process to reproduce this?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147652] Convert-to isn’t working in Debian 9, Libreoffice 7.3

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147652

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #4 from Julien Nabet  ---
I'm on Debian testing x86-64 that I update almost every day.

Could you provide a test file and precise command line?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147651] Missing text for correction item in spell check context menu

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147651

Julien Nabet  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 OS|Windows (All)   |All
 CC||serval2...@yahoo.fr
 Status|UNCONFIRMED |NEW

--- Comment #2 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.
(always glad to see you again Rainer! :-))

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147658] Options 'Chronological order', 'Alphabetical order' needed for items of relevant object classes

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147658

--- Comment #1 from ricky.t...@gmail.com ---
Created attachment 178543
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178543=edit
Navigator | list of object classes

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: include/svx

2022-02-25 Thread Julien Nabet (via logerrit)
 include/svx/strings.hrc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cccd241391438a381311cd7aeccfdb5ad52ee906
Author: Julien Nabet 
AuthorDate: Fri Feb 25 18:13:10 2022 +0100
Commit: Julien Nabet 
CommitDate: Fri Feb 25 19:54:46 2022 +0100

Typo: STR_ObjNameSingulDIAGAM->STR_ObjNameSingulDIAGRAM

Change-Id: Ifbaa0623de02ce514c0cd551331bec445a9b7e6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130540
Tested-by: Jenkins
Reviewed-by: Julien Nabet 

diff --git a/include/svx/strings.hrc b/include/svx/strings.hrc
index 37b9359959b4..e9b354f6f151 100644
--- a/include/svx/strings.hrc
+++ b/include/svx/strings.hrc
@@ -25,7 +25,7 @@
 #define STR_ObjNameSingulNONE   
NC_("STR_ObjNameSingulNONE", "Drawing object")
 #define STR_ObjNamePluralNONE   
NC_("STR_ObjNamePluralNONE", "Drawing objects")
 #define STR_ObjNameSingulGRUP   
NC_("STR_ObjNameSingulGRUP", "Group object")
-#define STR_ObjNameSingulDIAGRAM
NC_("STR_ObjNameSingulDIAGAM", "Diagram")
+#define STR_ObjNameSingulDIAGRAM
NC_("STR_ObjNameSingulDIAGRAM", "Diagram")
 #define STR_ObjNamePluralGRUP   
NC_("STR_ObjNamePluralGRUP", "Group objects")
 #define STR_ObjNameSingulGRUPEMPTY  
NC_("STR_ObjNameSingulGRUPEMPTY", "Blank group object")
 #define STR_ObjNamePluralGRUPEMPTY  
NC_("STR_ObjNamePluralGRUPEMPTY", "Blank group objects")


[Libreoffice-bugs] [Bug 147658] New: Options 'Chronological order', 'Alphabetical order' needed for items of relevant object classes

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147658

Bug ID: 147658
   Summary: Options 'Chronological order', 'Alphabetical order'
needed for items of relevant object classes
   Product: LibreOffice
   Version: 7.2.5.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ricky.t...@gmail.com

Description:
Items listed against the object class 'Hyperlinks' are de facto arranged
according to the chronological order, which is also the unique mode of
arrangement available for that object class.

Steps to Reproduce:
In Navigator

Actual Results:
However an inspection aimed at rectifying invalid hyper-links will prove to be
most inefficient while a such order is applied.

Expected Results:
The inspection will prove to be far more efficient while the alphabetical order
is applied.

Proposal: to add options 'Chronological order' and  'Alphabetical order' in
this regard.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.5.2.0+; Build ID: 20(Build:2); CPU threads: 4; OS: Linux 5.16; UI
render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); UI: en-US; Calc:
threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147230] Ruler is distorted when Skia HW Rendering is enabled (present in LO 7.2 but not in LO 7.3)

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147230

Dieter  changed:

   What|Removed |Added

Summary|Ruler is distorted when |Ruler is distorted when
   |Skia HW Rendering is|Skia HW Rendering is
   |enabled |enabled (present in LO 7.2
   ||but not in LO 7.3)

--- Comment #9 from Dieter  ---
(In reply to bugzilla2 from comment #8)
> So for me its still
> not resolved, as 7.2 Series is still in Support. So set it back to
> 'UNCONFIRMED'.

O. K. for me, but I'm afraid that nobody will try to fix it for 7.2, if it
works in 7.3. but let's see.

> > BTW: I don't know what's the difference between Skia SW and Skia HW and whre
> > I can see or change the setting.
> 
> You can see in the About Screen, if SW-Rendering or HW-Rendering is used.
> UI render: Skia/Raster -> Software Rendering
> UI render: Skia/Vulkan -> Hardware Rendering

Thanks for explanation. I use Skia/Raster.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: connectivity/source i18npool/CppunitTest_i18npool_test_calendar.mk i18npool/inc i18npool/Module_i18npool.mk i18npool/qa i18npool/source include/i18nutil

2022-02-25 Thread Hossein (via logerrit)
 connectivity/source/drivers/dbase/DTable.cxx   |9 -
 i18npool/CppunitTest_i18npool_test_calendar.mk |   43 
 i18npool/Module_i18npool.mk|1 
 i18npool/inc/calendar_hijri.hxx|   12 +-
 i18npool/qa/cppunit/test_calendar.cxx  |  130 +
 i18npool/source/calendar/calendar_hijri.cxx|8 -
 include/i18nutil/calendar.hxx  |   23 
 7 files changed, 212 insertions(+), 14 deletions(-)

New commits:
commit 0308e48e46cee2f56a6239c8479d26185146d74a
Author: Hossein 
AuthorDate: Fri Feb 25 00:22:11 2022 +0100
Commit: Eike Rathke 
CommitDate: Fri Feb 25 19:12:41 2022 +0100

tdf#145759 30.6001 -> monthDaysWithoutJanFeb

30.6001 shows month days without Jan and Feb.
According to the below link, it is calcuated as (365-31-28)/10 = 30.6
but because of a floating point bug, it was used as 30.6001 as a
workaround.

"30.6001, 25 year old hack?"
https://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv011.cgi?read=31650

The value 30.6 is used as i18nutil::monthDaysWithoutJanFeb here
instead of 30.6001. The new value is ~30.6038 which is > 30.6, so
the calculations should be correct. In order to make sure, a unit test
is added, and part of the values are checked against the values
calculated by this website:

Julian Day and Civil Date Calculator
https://core2.gsfc.nasa.gov/time/julian.html

Change-Id: I8cc7e046514dc3de652a1c37399e351cb2b614dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125813
Tested-by: Jenkins
Reviewed-by: Eike Rathke 

diff --git a/connectivity/source/drivers/dbase/DTable.cxx 
b/connectivity/source/drivers/dbase/DTable.cxx
index 0f8f72328a0b..d7a5b1c458a6 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -54,6 +54,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -132,13 +133,13 @@ void lcl_CalcJulDate(sal_Int32& _nJulianDate,sal_Int32& 
_nJulianTime, const css:
 if ( aDateTime.Year <= 0 )
 {
 _nJulianDate = static_cast((365.25 * iy0) - 0.75)
-+ static_cast(30.6001 * (im0 + 1) )
++ static_cast(i18nutil::monthDaysWithoutJanFeb * (im0 + 
1) )
 + aDateTime.Day + 1720994;
 } // if ( rDateTime.Year <= 0 )
 else
 {
 _nJulianDate = static_cast(365.25 * iy0)
-+ static_cast(30.6001 * (im0 + 1))
++ static_cast(i18nutil::monthDaysWithoutJanFeb * (im0 + 
1))
 + aDateTime.Day + 1720994;
 }
 double JD = _nJulianDate + 0.5;
@@ -164,8 +165,8 @@ void lcl_CalDate(sal_Int32 _nJulianDate,sal_Int32 
_nJulianTime,css::util::DateTi
 sal_Int64 kb = ka + 1524;
 sal_Int64 kc = static_cast((static_cast(kb) - 
122.1) / 365.25);
 sal_Int64 kd = static_cast(static_cast(kc) * 
365.25);
-sal_Int64 ke = static_cast(static_cast(kb - kd) / 
30.6001);
-_rDateTime.Day = static_cast(kb - kd - 
static_cast( static_cast(ke) * 30.6001 ));
+sal_Int64 ke = static_cast(static_cast(kb - kd) / 
i18nutil::monthDaysWithoutJanFeb);
+_rDateTime.Day = static_cast(kb - kd - 
static_cast( static_cast(ke) * 
i18nutil::monthDaysWithoutJanFeb ));
 if ( ke > 13 )
 _rDateTime.Month = static_cast(ke - 13);
 else
diff --git a/i18npool/CppunitTest_i18npool_test_calendar.mk 
b/i18npool/CppunitTest_i18npool_test_calendar.mk
new file mode 100644
index ..85a3b2fbb576
--- /dev/null
+++ b/i18npool/CppunitTest_i18npool_test_calendar.mk
@@ -0,0 +1,43 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 
100 -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,i18npool_test_calendar))
+
+$(eval $(call gb_CppunitTest_set_include,i18npool_test_calendar,\
+$$(INCLUDE) \
+-I$(SRCDIR)/i18npool/inc \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_test_calendar))
+
+$(eval $(call gb_CppunitTest_use_libraries,i18npool_test_calendar,\
+   cppu \
+   cppuhelper \
+   sal \
+   unotest \
+i18npool \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,i18npool_test_calendar,\
+icui18n \
+icuuc \
+icu_headers \
+))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_calendar,\
+i18npool/qa/cppunit/test_calendar \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,i18npool_test_calendar))
+
+$(eval $(call gb_CppunitTest_use_components,i18npool_test_calendar,\
+   i18npool/util/i18npool \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/i18npool/Module_i18npool.mk b/i18npool/Module_i18npool.mk
index 271c751081da..1926fdd70d82 100644
--- 

[Libreoffice-bugs] [Bug 145759] Use symbolic constants instead of magic numerical constants

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145759

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

https://git.libreoffice.org/core/commit/0308e48e46cee2f56a6239c8479d26185146d74a

tdf#145759 30.6001 -> monthDaysWithoutJanFeb

It will be available in 7.4.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] [Bug 147657] New: Wrong behavior of the default value in a date field

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147657

Bug ID: 147657
   Summary: Wrong behavior of the default value in a date field
   Product: LibreOffice
   Version: 7.3.0.3 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: jcs...@libreoffice.org

Created attachment 178542
  --> https://bugs.documentfoundation.org/attachment.cgi?id=178542=edit
Firebird embedded test database

In the table designer, when you create a date field and assign it a default
value, the assigned value is modified depending on the actions you do in the
designer. For example, if you select another field and return again to the date
field, the value assigned by default has been modified, it is also modified if
you save the table but do not close the table designer and also when you close
the designer.

In addition, the value that is inserted in the table when adding a record is
*completely different* from the value that remained in the designer when it was
closed.

Steps to reproduce:
1. Create or open a database
2. Create a new table
3. In the new table, create a field called ID, type INTEGER and AutoValue
(primary key).
4. Create a new field called e.g. Fecha of type DATE and set a default
date, for example 01/01/2022. Change the format fiel to date DD/MM/ 
5. Select the ID field
6. Select the Date field again, the default date will have changed to
03/01/2021 (or another value different from the original one).
7. Click on the Save icon, the date in the default value field will change
again with each click.
8. Save the table and assign a name to it, close the designer and open the
table to enter data.
9. Insert a record to see the date that is assigned by default, it will be
a completely different date from the one assigned by default in the table
designer (in my case, the last value in the designer was 09/01/2021 and the
date assigned by default was 02/01/0009).

Expected:
1. That the default date value is not modified whatever action is done in
the table designer.
2. That once the table is designed, when inserting records, the default
value assigned when designing the table is automatically entered in the date
field.

Tested with:
- Firebird embedded
- HSQLDB embedded
- MariaDB 10.6 Direct connection
on :Version: 7.3.0.3 (x64) / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL

And tested with:
-HSQLDB emnbedded 
on:
Version: 7.1.7.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 2; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Ubuntu package version: 1:7.1.7-0ubuntu0.21.04.1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sc/inc sc/source

2022-02-25 Thread Justin Luth (via logerrit)
 sc/inc/table.hxx   |2 +
 sc/source/core/data/table4.cxx |   67 ++---
 sc/source/core/data/table5.cxx |   22 +
 3 files changed, 67 insertions(+), 24 deletions(-)

New commits:
commit 9cd4da63b6ed19b71a2475fccb4ab135f0a87873
Author: Justin Luth 
AuthorDate: Mon Feb 14 14:40:06 2022 +0200
Commit: Eike Rathke 
CommitDate: Fri Feb 25 18:46:54 2022 +0100

tdf#147404 sc AutoFillPreview: consider hidden cells

Back in the days before LO 3.6, only filtered cells
were skipped by autoFill. But when hidden cells were
also skipped, the preview function wasn't updated to look
for hidden cells instead of filtered cells.
(I said "instead" because filtered cells are also
considered to be hidden, so it encompasses both cases.)

Change-Id: I38b230361f0f0f1722873bbdd2c870d55b77bd06
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129912
Tested-by: Jenkins
Reviewed-by: Justin Luth 

diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 30c92cd87520..08624a937172 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -928,6 +928,8 @@ public:
 SCROW   CountVisibleRows(SCROW nStartRow, SCROW nEndRow) const;
 tools::Long GetTotalRowHeight(SCROW nStartRow, SCROW nEndRow, bool 
bHiddenAsZero = true) const;
 
+SCCOL   CountVisibleCols(SCCOL nStartCol, SCCOL nEndCol) const;
+
 SCCOLROWLastHiddenColRow(SCCOLROW nPos, bool bCol) const;
 
 boolRowFiltered(SCROW nRow, SCROW* pFirstRow = nullptr, SCROW* 
pLastRow = nullptr) const;
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index a4b232ea44d9..a3d49aa1c190 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1247,6 +1247,49 @@ OUString ScTable::GetAutoFillPreview( const ScRange& 
rSource, SCCOL nEndX, SCROW
 
 if ( bOk )
 {
+tools::Long nBegin = 0;
+tools::Long nEnd = 0;
+tools::Long nHidden = 0;
+if (eFillDir == FILL_TO_BOTTOM || eFillDir == FILL_TO_TOP)
+{
+if (nEndY > nRow1)
+{
+nBegin = nRow2+1;
+nEnd = nEndY;
+}
+else
+{
+nBegin = nEndY;
+nEnd = nRow1 -1;
+}
+
+tools::Long nVisible = CountVisibleRows(nBegin, nEnd);
+nHidden = nEnd + 1 - nBegin - nVisible;
+}
+else
+{
+if (nEndX > nCol1)
+{
+nBegin = nCol2+1;
+nEnd = nEndX;
+}
+else
+{
+nBegin = nEndX;
+nEnd = nCol1 -1;
+}
+
+tools::Long nVisible = CountVisibleCols(nBegin, nEnd);
+nHidden = nEnd + 1 - nBegin - nVisible;
+}
+if (nHidden)
+{
+if (nIndex > 0)
+nIndex = nIndex - nHidden;
+else
+nIndex = nIndex + nHidden;
+}
+
 FillCmd eFillCmd;
 FillDateCmd eDateCmd;
 double nInc;
@@ -1277,30 +1320,6 @@ OUString ScTable::GetAutoFillPreview( const ScRange& 
rSource, SCCOL nEndX, SCROW
 }
 else if ( eFillCmd == FILL_SIMPLE ) // fill with pattern/sample
 {
-if ((eFillDir == FILL_TO_BOTTOM)||(eFillDir == FILL_TO_TOP))
-{
-tools::Long nBegin = 0;
-tools::Long nEnd = 0;
-if (nEndY > nRow1)
-{
-nBegin = nRow2+1;
-nEnd = nEndY;
-}
-else
-{
-nBegin = nEndY;
-nEnd = nRow1 -1;
-}
-
-tools::Long nNonFiltered = CountNonFilteredRows(nBegin, nEnd);
-tools::Long nFiltered = nEnd + 1 - nBegin - nNonFiltered;
-
-if (nIndex > 0)
-nIndex = nIndex - nFiltered;
-else
-nIndex = nIndex + nFiltered;
-}
-
 tools::Long nPosIndex = nIndex;
 while ( nPosIndex < 0 )
 nPosIndex += nSrcCount;
diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx
index d62b94e40f28..4c510213edd9 100644
--- a/sc/source/core/data/table5.cxx
+++ b/sc/source/core/data/table5.cxx
@@ -796,6 +796,28 @@ tools::Long ScTable::GetTotalRowHeight(SCROW nStartRow, 
SCROW nEndRow, bool bHid
 return nHeight;
 }
 
+SCCOL ScTable::CountVisibleCols(SCCOL nStartCol, SCCOL nEndCol) const
+{
+assert(nStartCol <= nEndCol);
+SCCOL nCount = 0;
+SCCOL nCol = nStartCol;
+ScFlatBoolColSegments::RangeData aData;
+while (nCol <= nEndCol)
+{
+if (!mpHiddenCols->getRangeData(nCol, aData))
+break;
+
+if (aData.mnCol2 > nEndCol)
+aData.mnCol2 = nEndCol;
+
+if (!aData.mbValue)
+ 

[Libreoffice-bugs] [Bug 147655] LibreOffice Writer v7.3.0.3 loses some tracked changes when saving as .docx

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147655

Timur  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO

--- Comment #1 from Timur  ---
Needed is DOCX and exact edits to make.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147652] Convert-to isn’t working in Debian 9, Libreoffice 7.3

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147652

Timur  changed:

   What|Removed |Added

   Priority|medium  |low

--- Comment #3 from Timur  ---
Convert-to is working, so you seem to have some local problem. 
You should write the full command you used, and add sample document.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 90486] [META] Chart bugs and enhancements

2022-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90486
Bug 90486 depends on bug 127720, which changed state.

Bug 127720 Summary: FILEOPEN PPTX Y error bars gone from XY Scatter chart
https://bugs.documentfoundation.org/show_bug.cgi?id=127720

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

  1   2   3   >