[Libreoffice-bugs] [Bug 117468] FILESAVE Writer crashes trying to save image as BMP, PNG, TIFF, JPEG

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117468

Emil Tanev  changed:

   What|Removed |Added

Summary|FILESAVE Writer crashes |FILESAVE Writer crashes
   |trying to save image as |trying to save image as
   |BMP, PNG, TIFF  |BMP, PNG, TIFF, JPEG

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117468] FILESAVE Writer crashes trying to save image as BMP, PNG, TIFF

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117468

--- Comment #2 from Emil Tanev  ---
TIFF, steps are slightly different. I confirmed that these new steps cause
immediate crash (not a hang) with BMP as well (sec 24 in the new screencast)

https://screencast-o-matic.com/watch/cFhihEbOVt

New steps 

Open Writer
Import an image
Right-click the image
Save
Choose BMP format
In the BMP Options dialog, set Resolution to 999
Set Width to 999 
Set Height to 999
Click OK

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117468] FILESAVE Writer crashes trying to save image as BMP, PNG, TIFF

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117468

Emil Tanev  changed:

   What|Removed |Added

Summary|FILESAVE Writer crashes |FILESAVE Writer crashes
   |trying to save image as |trying to save image as
   |BMP, PNG|BMP, PNG, TIFF

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117411] Font metrics slightly changed after update OS to Ubuntu 18.04

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117411

--- Comment #22 from Mike Kaganski  ---
(In reply to Thorsten Behrens (CIB) from comment #20)
> unless LibreOffice itself ships the font
> (and makes sure it's the first to be used during unit tests), it's probably
> a bad idea anyway to rely on anything from the system, for something as
> fragile as Writer layout...

I politely disagree.

We use many OS-provided functions. And using a font that has a strong guarantee
to be metric-compatible with MS fonts (and which thus should provide
predictable layout results) seems reasonable. I'd say that if in this case
maintainers would not simply ignore the unit test results and silenced the
relevant tests [1], it would be noticed and acted upon earlier. Otherwise, it's
unclear why would maintainers want to run unit tests at all - they would only
need to ensure that LO simply builds (reasoning that "it's upstream's
responsibility to make tests working")? IMO, the tests had shown broken distro
support rather early, which is generally important for LO and the impression it
produces.

(In reply to Maxim Monastirsky from comment #21)
> So it appears to be the same problem as in Bug 114434.

I forgot to mention that LO on Ubuntu 18.04 shows the same problem with any of
the package (1.7, 2.0) installed alone; so the 1.7 packaged fonts must also be
affected on Ubuntu.

[1]
https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/commit/a193656c3c21681bd958c84ca38ca618eafcf29e

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117468] FILESAVE Writer crashes trying to save image as BMP, PNG

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117468

Emil Tanev  changed:

   What|Removed |Added

Summary|FILESAVE Writer crashes |FILESAVE Writer crashes
   |trying to save image as BMP |trying to save image as
   ||BMP, PNG

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117468] FILESAVE Writer crashes trying to save image as BMP

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117468

--- Comment #1 from Emil Tanev  ---
PNG as well, changed the title

https://screencast-o-matic.com/watch/cFhihEbOVt

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117454] EDITING Writer crashes when manipulating variables in Compress window

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117454

Emil Tanev  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #3 from Emil Tanev  ---
Reproducible with 

Version: 6.1.0.0.alpha1+ (x64)
Build ID: 08441d466dd70c203a519a133aaf1a5997adbbd3
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-05-07_01:12:11
Locale: en-US (en_US); Calc: group

https://screencast-o-matic.com/watch/cFhihBbOVl

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117468] New: FILESAVE Writer crashes trying to save image as BMP

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117468

Bug ID: 117468
   Summary: FILESAVE Writer crashes trying to save image as BMP
   Product: LibreOffice
   Version: 6.1.0.0.alpha1+ Master
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: emo_asse...@yahoo.com

Open Writer
Import an image
Right-click the image
Save
Choose BMP format
In the BMP Options dialog, set Resolution to 999
Set Width to 999 (note that the message says "... needs about 0.0 KB of
memory..." now (sec 30 in the screencast)
Click OK

Issue: Writer hangs

https://screencast-o-matic.com/watch/cFhihvbOcs

Version: 6.1.0.0.alpha1+ (x64)
Build ID: 08441d466dd70c203a519a133aaf1a5997adbbd3
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-05-07_01:12:11
Locale: en-US (en_US); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 103309] [META] Print dialog bugs and enhancements

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103309
Bug 103309 depends on bug 113866, which changed state.

Bug 113866 Summary: The option to print text in black, secretly also affects 
PDF export
https://bugs.documentfoundation.org/show_bug.cgi?id=113866

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108694] [META] PDF export options dialog bugs and enhancements

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108694
Bug 108694 depends on bug 113866, which changed state.

Bug 113866 Summary: The option to print text in black, secretly also affects 
PDF export
https://bugs.documentfoundation.org/show_bug.cgi?id=113866

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117453] FILESAVE Writer crashes trying to save image

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117453

Emil Tanev  changed:

   What|Removed |Added

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

--- Comment #4 from Emil Tanev  ---
Works fine in 

Version: 6.1.0.0.alpha1+ (x64)
Build ID: 08441d466dd70c203a519a133aaf1a5997adbbd3
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-05-07_01:12:11
Locale: en-US (en_US); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107739] [META] Field bugs and enhancements

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107739
Bug 107739 depends on bug 112382, which changed state.

Bug 112382 Summary: Context menu: Rename "Fields" to "Edit Field"
https://bugs.documentfoundation.org/show_bug.cgi?id=112382

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 115596] [META] Labels of UNO commands bugs and enhancements

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115596
Bug 115596 depends on bug 112382, which changed state.

Bug 112382 Summary: Context menu: Rename "Fields" to "Edit Field"
https://bugs.documentfoundation.org/show_bug.cgi?id=112382

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 86349] [META] Context menu bugs and enhancements

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=86349
Bug 86349 depends on bug 112382, which changed state.

Bug 112382 Summary: Context menu: Rename "Fields" to "Edit Field"
https://bugs.documentfoundation.org/show_bug.cgi?id=112382

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: officecfg/registry

2018-05-06 Thread Gabor Kelemen
 officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu |3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 28ab8b127cf0561789f7683246ca25e889ae43c3
Author: Gabor Kelemen 
Date:   Fri May 4 13:00:06 2018 +0200

tdf#112382 Rename Field command to Edit Fields in the context menu

This makes the context menu item name match the window title it opens
while not changing the label used in the main menu

Change-Id: I0ac488302f942edea4507a4a0f53a4a84af2f9da
Reviewed-on: https://gerrit.libreoffice.org/53844
Tested-by: Jenkins 
Reviewed-by: Heiko Tietze 

diff --git 
a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 3cd597d86d05..05a1d74af765 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -1331,6 +1331,9 @@
 
   F~ields...
 
+
+  Edit F~ields...
+
   
   
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 82398] EDITING: "Text to Columns" not applied to selected cells after change 'Format Cells'

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82398

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|BSA |BSA target:6.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 82398] EDITING: "Text to Columns" not applied to selected cells after change 'Format Cells'

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82398

--- Comment #6 from Commit Notification 
 ---
Zdeněk Crhonek committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=b5fe54fa3cfeaa9208b9e04e7deb7db9d43683e7

uitest forbug tdf#82398

It will be available in 6.1.0.

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/data/tdf69981.ods |binary
 sc/qa/uitest/calc_tests/tdf69981.py   |   91 ++
 2 files changed, 91 insertions(+)

New commits:
commit 5f42c9527333034bd01d8b78fdc3c0eb9924d2cb
Author: Zdeněk Crhonek 
Date:   Mon Apr 16 19:44:07 2018 +0200

uitest for bug tdf#69981

Change-Id: I947786692f8c40c2bc7775632763f317738bc801
Reviewed-on: https://gerrit.libreoffice.org/52999
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/data/tdf69981.ods 
b/sc/qa/uitest/calc_tests/data/tdf69981.ods
new file mode 100644
index ..4647d1a2c80d
Binary files /dev/null and b/sc/qa/uitest/calc_tests/data/tdf69981.ods differ
diff --git a/sc/qa/uitest/calc_tests/tdf69981.py 
b/sc/qa/uitest/calc_tests/tdf69981.py
new file mode 100644
index ..9f1953f7812c
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf69981.py
@@ -0,0 +1,91 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_sheet_from_doc
+from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
+from uitest.debug import sleep
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+import org.libreoffice.unotest
+import pathlib
+
+def get_url_for_data_file(file_name):
+return 
pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri()
+
+class tdf69981(UITestCase):
+
+def test_tdf69981_text_to_columns(self):
+
+calc_doc = 
self.ui_test.load_file(get_url_for_data_file("tdf69981.ods"))
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#Make sure that tools-options-StarOffice Calc-General-Input 
settings-Show overwrite warning when pasting data is tagged.
+self.ui_test.execute_dialog_through_command(".uno:OptionsTreeDialog")  
#optionsdialog
+xDialogOpt = self.xUITest.getTopFocusWindow()
+
+xPages = xDialogOpt.getChild("pages")
+xWriterEntry = xPages.getChild('3') # Calc
+xWriterEntry.executeAction("EXPAND", tuple())
+xWriterGeneralEntry = xWriterEntry.getChild('0')
+xWriterGeneralEntry.executeAction("SELECT", tuple())  #General 
/ replwarncb
+xreplwarncb = xDialogOpt.getChild("replwarncb")
+if (get_state_as_dict(xreplwarncb)["Selected"]) == "false":
+xreplwarncb.executeAction("CLICK", tuple())
+xOKBtn = xDialogOpt.getChild("ok")
+self.ui_test.close_dialog_through_button(xOKBtn)
+
+#Select A2:A7
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A2:A7"}))
+#Data - Text to Columns
+self.ui_test.execute_dialog_through_command(".uno:TextToColumns")
+xDialog = self.xUITest.getTopFocusWindow()
+xtab = xDialog.getChild("tab")
+xcomma = xDialog.getChild("comma")
+xtab.executeAction("CLICK", tuple())
+xcomma.executeAction("CLICK", tuple())
+#Click Ok
+#overwrite warning come up
+#press Ok.
+xOK = xDialog.getChild("ok")
+def handle_warn_dlg(dialog):
+xyesBtn = dialog.getChild("yes")
+self.ui_test.close_dialog_through_button(xyesBtn)
+
+self.ui_test.execute_blocking_action(xOK.executeAction, args=('CLICK', 
()),
+dialog_handler=handle_warn_dlg)
+#Verify
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"Original")
+self.assertEqual(get_cell_by_position(document, 0, 0, 1).getString(), 
"a")
+self.assertEqual(get_cell_by_position(document, 0, 0, 2).getString(), 
"")
+self.assertEqual(get_cell_by_position(document, 0, 0, 3).getString(), 
"")
+self.assertEqual(get_cell_by_position(document, 0, 0, 4).getString(), 
"a")
+self.assertEqual(get_cell_by_position(document, 0, 0, 5).getString(), 
"a")
+self.assertEqual(get_cell_by_position(document, 0, 0, 6).getString(), 
"a")
+
+self.assertEqual(get_cell_by_position(document, 0, 1, 0).getString(), 
"Copy")
+self.assertEqual(get_cell_by_position(document, 0, 1, 1).getString(), 
"b")
+self.assertEqual(get_cell_by_position(document, 0, 1, 2).getString(), 
"b")
+self.assertEqual(get_cell_by_position(document, 0, 1, 3).getString(), 
"")
+

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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/tdf82398.py |   63 
 1 file changed, 63 insertions(+)

New commits:
commit b5fe54fa3cfeaa9208b9e04e7deb7db9d43683e7
Author: Zdeněk Crhonek 
Date:   Wed Apr 18 21:55:39 2018 +0200

uitest forbug tdf#82398

Change-Id: I103981abed68dc88bed27040abf269b2e345d30e
Reviewed-on: https://gerrit.libreoffice.org/53124
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/tdf82398.py 
b/sc/qa/uitest/calc_tests/tdf82398.py
new file mode 100644
index ..66e8d57840ea
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf82398.py
@@ -0,0 +1,63 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+#Bug 82398 - EDITING: "Text to Columns" not applied to selected cells after 
change 'Format Cells'
+
+class tdf82398(UITestCase):
+def test_tdf82398_text_to_columns(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+
+#Add data
+enter_text_to_cell(gridwin, "A1", "afasdfs.fdfasd.fsadf.fasd")
+enter_text_to_cell(gridwin, "A2", "3242.43242.3242.2342")
+enter_text_to_cell(gridwin, "A3", "fdsfa.afsdfa.adfdas.fsad")
+enter_text_to_cell(gridwin, "A4", "21312...111")
+#select column A1:A4 / .uno:NumberFormatDate
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:A4"}))
+self.xUITest.executeCommand(".uno:NumberFormatDate")
+# Data - Text to Columns
+self.ui_test.execute_dialog_through_command(".uno:TextToColumns")
+xDialog = self.xUITest.getTopFocusWindow()
+xother = xDialog.getChild("other")
+xinputother = xDialog.getChild("inputother")
+
+if (get_state_as_dict(xother)["Selected"]) == "false":
+xother.executeAction("CLICK", tuple())
+xinputother.executeAction("TYPE", mkPropertyValues({"TEXT":"."}))
+# Click Ok
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+
+#Verify
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"afasdfs")
+self.assertEqual(get_cell_by_position(document, 0, 0, 1).getValue(), 
3242)
+self.assertEqual(get_cell_by_position(document, 0, 0, 2).getString(), 
"fdsfa")
+self.assertEqual(get_cell_by_position(document, 0, 0, 3).getValue(), 
21312)
+self.assertEqual(get_cell_by_position(document, 0, 1, 0).getString(), 
"fdfasd")
+self.assertEqual(get_cell_by_position(document, 0, 1, 1).getValue(), 
43242)
+self.assertEqual(get_cell_by_position(document, 0, 1, 2).getString(), 
"afsdfa")
+self.assertEqual(get_cell_by_position(document, 0, 1, 3).getValue(), 
)
+self.assertEqual(get_cell_by_position(document, 0, 2, 0).getString(), 
"fsadf")
+self.assertEqual(get_cell_by_position(document, 0, 2, 1).getValue(), 
3242)
+self.assertEqual(get_cell_by_position(document, 0, 2, 2).getString(), 
"adfdas")
+self.assertEqual(get_cell_by_position(document, 0, 2, 3).getValue(), 
)
+self.assertEqual(get_cell_by_position(document, 0, 3, 0).getString(), 
"fasd")
+self.assertEqual(get_cell_by_position(document, 0, 3, 1).getValue(), 
2342)
+self.assertEqual(get_cell_by_position(document, 0, 3, 2).getString(), 
"fsad")
+self.assertEqual(get_cell_by_position(document, 0, 3, 3).getValue(), 
111)
+
+self.ui_test.close_doc()
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-05-06 Thread Zdeněk Crhonek
 sw/qa/uitest/writer_tests/sort.py |   72 ++
 1 file changed, 72 insertions(+)

New commits:
commit 31e96ad6d9cb907f46f37f6f30b60bd07316240b
Author: Zdeněk Crhonek 
Date:   Fri Apr 20 15:34:24 2018 +0200

uitest / Writer Tools-Sort dialog

Change-Id: I310339b38d8a2833fb0e6b09b89ca04e1a6db5c0
Reviewed-on: https://gerrit.libreoffice.org/53212
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sw/qa/uitest/writer_tests/sort.py 
b/sw/qa/uitest/writer_tests/sort.py
new file mode 100644
index ..6ae06c5ecef2
--- /dev/null
+++ b/sw/qa/uitest/writer_tests/sort.py
@@ -0,0 +1,72 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+
+from uitest.framework import UITestCase
+from libreoffice.uno.propertyvalue import mkPropertyValues
+from uitest.uihelper.common import get_state_as_dict, type_text
+import time
+from uitest.debug import sleep
+#Tools -Sort dialog + tdf81292
+
+class WriterSort(UITestCase):
+
+   def test_sort(self):
+self.ui_test.create_doc_in_start_center("writer")
+document = self.ui_test.get_component()
+xWriterDoc = self.xUITest.getTopFocusWindow()
+xWriterEdit = xWriterDoc.getChild("writer_edit")
+
+type_text(xWriterEdit, "a")
+xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": 
"RETURN"}))
+type_text(xWriterEdit, "c")
+xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": 
"RETURN"}))
+type_text(xWriterEdit, "v")
+
+selection = self.xUITest.executeCommand(".uno:SelectAll")  #select 
whole text
+#Tools - Sort
+self.ui_test.execute_dialog_through_command(".uno:SortDialog")
+xDialog = self.xUITest.getTopFocusWindow()
+xDown = xDialog.getChild("down1")
+xDown.executeAction("CLICK", tuple())
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+#check
+self.assertEqual(document.Text.String[0:1], "v")
+
+self.ui_test.close_doc()
+
+   def test_sort_numerical(self):
+self.ui_test.create_doc_in_start_center("writer")
+document = self.ui_test.get_component()
+xWriterDoc = self.xUITest.getTopFocusWindow()
+xWriterEdit = xWriterDoc.getChild("writer_edit")
+
+type_text(xWriterEdit, "1;2;3")
+xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": 
"RETURN"}))
+type_text(xWriterEdit, "2;8;3")
+
+selection = self.xUITest.executeCommand(".uno:SelectAll")  #select 
whole text
+#Tools - Sort
+self.ui_test.execute_dialog_through_command(".uno:SortDialog")
+xDialog = self.xUITest.getTopFocusWindow()
+xDown = xDialog.getChild("down1")
+xcolsb1 = xDialog.getChild("colsb1")
+xtypelb1 = xDialog.getChild("typelb1")
+xcharacter = xDialog.getChild("character")
+xseparator = xDialog.getChild("separator")
+xDown.executeAction("CLICK", tuple())
+props = {"TEXT": "Numerical"}
+actionProps = mkPropertyValues(props)
+xtypelb1.executeAction("SELECT", actionProps)
+xcharacter.executeAction("CLICK", tuple())
+xseparator.executeAction("TYPE", mkPropertyValues({"TEXT":";"}))
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+#check
+self.assertEqual(document.Text.String[0:5], "2;8;3")
+
+self.ui_test.close_doc()
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/tdf89907.py |   64 
 1 file changed, 64 insertions(+)

New commits:
commit 0a5afd0cdd2b28fbdb67ec84c9f03fd9dc50eca5
Author: Zdeněk Crhonek 
Date:   Wed Apr 18 19:42:29 2018 +0200

uitest for bug tdf#89907

Change-Id: I011d0e1e2671f88a012ac30754bf96a5631630da
Reviewed-on: https://gerrit.libreoffice.org/53122
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/tdf89907.py 
b/sc/qa/uitest/calc_tests/tdf89907.py
new file mode 100644
index ..13a96014572e
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf89907.py
@@ -0,0 +1,64 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+#Bug 89907 - Text to columns only affects first line when width is auto set
+
+class tdf89907(UITestCase):
+def test_tdf89907_text_to_columns(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+
+#Add data
+enter_text_to_cell(gridwin, "A1", "afasdfs.fdfasd.fsadf.fasd")
+enter_text_to_cell(gridwin, "A2", "3242.43242.3242.2342")
+enter_text_to_cell(gridwin, "A3", "fdsfa.afsdfa.adfdas.fsad")
+enter_text_to_cell(gridwin, "A4", "21312...111")
+#select column A
+gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A1"}))
+self.xUITest.executeCommand(".uno:SelectColumn")
+#Optimal Width
+self.xUITest.executeCommand(".uno:SetOptimalColumnWidthDirect")
+# Data - Text to Columns
+self.ui_test.execute_dialog_through_command(".uno:TextToColumns")
+xDialog = self.xUITest.getTopFocusWindow()
+xother = xDialog.getChild("other")
+xinputother = xDialog.getChild("inputother")
+if (get_state_as_dict(xother)["Selected"]) == "false":
+xother.executeAction("CLICK", tuple())
+xinputother.executeAction("TYPE", mkPropertyValues({"TEXT":"."}))
+# Click Ok
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+
+#Verify
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"afasdfs")
+self.assertEqual(get_cell_by_position(document, 0, 0, 1).getValue(), 
3242)
+self.assertEqual(get_cell_by_position(document, 0, 0, 2).getString(), 
"fdsfa")
+self.assertEqual(get_cell_by_position(document, 0, 0, 3).getValue(), 
21312)
+self.assertEqual(get_cell_by_position(document, 0, 1, 0).getString(), 
"fdfasd")
+self.assertEqual(get_cell_by_position(document, 0, 1, 1).getValue(), 
43242)
+self.assertEqual(get_cell_by_position(document, 0, 1, 2).getString(), 
"afsdfa")
+self.assertEqual(get_cell_by_position(document, 0, 1, 3).getValue(), 
)
+self.assertEqual(get_cell_by_position(document, 0, 2, 0).getString(), 
"fsadf")
+self.assertEqual(get_cell_by_position(document, 0, 2, 1).getValue(), 
3242)
+self.assertEqual(get_cell_by_position(document, 0, 2, 2).getString(), 
"adfdas")
+self.assertEqual(get_cell_by_position(document, 0, 2, 3).getValue(), 
)
+self.assertEqual(get_cell_by_position(document, 0, 3, 0).getString(), 
"fasd")
+self.assertEqual(get_cell_by_position(document, 0, 3, 1).getValue(), 
2342)
+self.assertEqual(get_cell_by_position(document, 0, 3, 2).getString(), 
"fsad")
+self.assertEqual(get_cell_by_position(document, 0, 3, 3).getValue(), 
111)
+
+self.ui_test.close_doc()
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/data/tdf85979.ods |binary
 sc/qa/uitest/calc_tests/tdf85979.py   |   58 ++
 2 files changed, 58 insertions(+)

New commits:
commit a019ee36a37f3761d5ba2e90973c6a9cbc9399c9
Author: Zdeněk Crhonek 
Date:   Thu Apr 19 07:11:41 2018 +0200

uitest for bug tdf#85979

Change-Id: I3d5ec58532956e7aae7d33759ef9aa9753f4dd1d
Reviewed-on: https://gerrit.libreoffice.org/53137
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/data/tdf85979.ods 
b/sc/qa/uitest/calc_tests/data/tdf85979.ods
new file mode 100644
index ..2b8584a20d7d
Binary files /dev/null and b/sc/qa/uitest/calc_tests/data/tdf85979.ods differ
diff --git a/sc/qa/uitest/calc_tests/tdf85979.py 
b/sc/qa/uitest/calc_tests/tdf85979.py
new file mode 100644
index ..359a0f35c511
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf85979.py
@@ -0,0 +1,58 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+import org.libreoffice.unotest
+import pathlib
+#Bug 85979 - Crash: data text to columns
+def get_url_for_data_file(file_name):
+return 
pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri()
+
+class tdf85979(UITestCase):
+def test_td85979_text_to_columns(self):
+calc_doc = 
self.ui_test.load_file(get_url_for_data_file("tdf85979.ods"))
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+
+#(I selected C1 to C5, then Text to Columns, unselected "Tab" and 
selected "Space")
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "C1:C5"}))
+# Data - Text to Columns
+self.ui_test.execute_dialog_through_command(".uno:TextToColumns")
+xDialog = self.xUITest.getTopFocusWindow()
+xspace = xDialog.getChild("space")
+if (get_state_as_dict(xspace)["Selected"]) == "false":
+xspace.executeAction("CLICK", tuple())
+# Click Ok
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+
+#Verify
+self.assertEqual(get_cell_by_position(document, 0, 2, 0).getValue(), 
99)
+self.assertEqual(get_cell_by_position(document, 0, 2, 1).getValue(), 4)
+self.assertEqual(get_cell_by_position(document, 0, 2, 2).getValue(), 9)
+self.assertEqual(get_cell_by_position(document, 0, 2, 3).getValue(), 9)
+self.assertEqual(get_cell_by_position(document, 0, 3, 0).getValue(), 
260)
+self.assertEqual(get_cell_by_position(document, 0, 3, 1).getValue(), 
10)
+self.assertEqual(get_cell_by_position(document, 0, 3, 2).getValue(), 
23)
+self.assertEqual(get_cell_by_position(document, 0, 3, 3).getValue(), 
23)
+self.assertEqual(get_cell_by_position(document, 0, 4, 0).getValue(), 
149)
+self.assertEqual(get_cell_by_position(document, 0, 4, 1).getValue(), 6)
+self.assertEqual(get_cell_by_position(document, 0, 4, 2).getValue(), 
14)
+self.assertEqual(get_cell_by_position(document, 0, 4, 3).getValue(), 
14)
+self.assertEqual(get_cell_by_position(document, 0, 5, 0).getValue(), 0)
+self.assertEqual(get_cell_by_position(document, 0, 5, 1).getValue(), 
16)
+self.assertEqual(get_cell_by_position(document, 0, 5, 2).getValue(), 
35)
+self.assertEqual(get_cell_by_position(document, 0, 5, 3).getValue(), 
35)
+
+self.ui_test.close_doc()
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/tdf73006.py |   43 
 1 file changed, 43 insertions(+)

New commits:
commit 36c1fab26f767894943203a88082ed50d3fd23f5
Author: Zdeněk Crhonek 
Date:   Fri Apr 20 06:38:43 2018 +0200

uitest for bug tdf#73006

Change-Id: I91ed6776f5f045e832ce7f913521e80c05d13375
Reviewed-on: https://gerrit.libreoffice.org/53182
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/tdf73006.py 
b/sc/qa/uitest/calc_tests/tdf73006.py
new file mode 100644
index ..8124bb4209d0
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf73006.py
@@ -0,0 +1,43 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+#Bug 73006 - EDITING: Results filled in wrong cells after Text to Columns
+
+class tdf73006(UITestCase):
+def test_tdf73006_text_to_columns(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+
+#Add data
+enter_text_to_cell(gridwin, "A2", "A B")
+#select column A
+gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A1"}))
+self.xUITest.executeCommand(".uno:SelectColumn")
+# Data - Text to Columns
+self.ui_test.execute_dialog_through_command(".uno:TextToColumns")
+xDialog = self.xUITest.getTopFocusWindow()
+xspace = xDialog.getChild("space")
+if (get_state_as_dict(xspace)["Selected"]) == "false":
+xspace.executeAction("CLICK", tuple())
+# Click Ok
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+
+#Verify
+self.assertEqual(get_cell_by_position(document, 0, 0, 1).getString(), 
"A")
+self.assertEqual(get_cell_by_position(document, 0, 1, 1).getString(), 
"B")
+
+self.ui_test.close_doc()
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 53482] UI: Option 'Range contains column headings' ignored

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=53482

--- Comment #31 from Commit Notification 
 ---
Zdeněk Crhonek committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=35f8c6822ad012a9c7f33ec2173bef4e585875cb

uitest for bug tdf#53482

It will be available in 6.1.0.

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 53482] UI: Option 'Range contains column headings' ignored

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=53482

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|BSA target:3.6.3|BSA target:3.6.3
   |target:3.7.0|target:3.7.0 target:6.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/data/tdf53482.ods |binary
 sc/qa/uitest/calc_tests/tdf53482.py   |   96 ++
 2 files changed, 96 insertions(+)

New commits:
commit 35f8c6822ad012a9c7f33ec2173bef4e585875cb
Author: Zdeněk Crhonek 
Date:   Sat Apr 21 08:34:50 2018 +0200

uitest for bug tdf#53482

Change-Id: I169cce450c3ba5ab63d0e4d0b1610261254c3a7c
Reviewed-on: https://gerrit.libreoffice.org/53245
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/data/tdf53482.ods 
b/sc/qa/uitest/calc_tests/data/tdf53482.ods
new file mode 100644
index ..cfd682d6a78c
Binary files /dev/null and b/sc/qa/uitest/calc_tests/data/tdf53482.ods differ
diff --git a/sc/qa/uitest/calc_tests/tdf53482.py 
b/sc/qa/uitest/calc_tests/tdf53482.py
new file mode 100644
index ..33ffa71d6283
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf53482.py
@@ -0,0 +1,96 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+import org.libreoffice.unotest
+import pathlib
+#Bug 53482 - UI: Option 'Range contains column headings' ignored
+
+def get_url_for_data_file(file_name):
+return 
pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri()
+
+class tdf53482(UITestCase):
+
+def test_tdf53482_Range_contains_column_headings_file(self):
+calc_doc = 
self.ui_test.load_file(get_url_for_data_file("tdf53482.ods"))
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#1. Highlight cells to be sorted A8:J124
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A8:J124"}))
+#2. Click Data menu, Sort
+self.ui_test.execute_dialog_through_command(".uno:DataSort")
+xDialog = self.xUITest.getTopFocusWindow()
+xTabs = xDialog.getChild("tabcontrol")
+select_pos(xTabs, "1")
+#3. On Options tab, tick 'Range contains column labels'
+xHeader = xDialog.getChild("header")
+xHeader.executeAction("CLICK", tuple())
+if (get_state_as_dict(xHeader)["Selected"]) == "false":
+xHeader.executeAction("CLICK", tuple())
+#4. On Sort Criteria tab, set appropriate criteria
+select_pos(xTabs, "0")
+xDown = xDialog.getChild("down")
+xDown.executeAction("CLICK", tuple())
+xSortKey1 = xDialog.getChild("sortlb")
+props = {"TEXT": "Occupation"}
+actionProps = mkPropertyValues(props)
+xSortKey1.executeAction("SELECT", actionProps)
+#5. Click Ok
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+#6. Expected behavior:  Ignore column labels when sorting
+self.assertEqual(get_cell_by_position(document, 0, 6, 7).getString(), 
"Occupation")
+self.assertEqual(get_cell_by_position(document, 0, 6, 8).getString(), 
"Travel Industry")
+self.assertEqual(get_cell_by_position(document, 0, 6, 
123).getString(), "13")
+
+self.ui_test.close_doc()
+
+def test_tdf53482_Range_contains_column_headings(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#In column A enter: Misc; s; d; f; g
+enter_text_to_cell(gridwin, "A1", "Misc")
+enter_text_to_cell(gridwin, "A2", "s")
+enter_text_to_cell(gridwin, "A3", "d")
+enter_text_to_cell(gridwin, "A4", "f")
+enter_text_to_cell(gridwin, "A5", "g")
+#1. Highlight cells to be sorted
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:A5"}))
+#2. Click Data menu, Sort
+self.ui_test.execute_dialog_through_command(".uno:DataSort")
+xDialog = self.xUITest.getTopFocusWindow()
+xTabs = xDialog.getChild("tabcontrol")
+select_pos(xTabs, "1")
+#3. On Options tab, tick 'Range contains column labels'
+xHeader = xDialog.getChild("header")
+xHeader.executeAction("CLICK", tuple())
+if (get_state_as_dict(xHeader)["Selected"]) == "false":
+xHeader.executeAction("CLICK", tuple())
+#4. On Sort Criteria tab, set appropriate criteria
+select_pos(xTabs, "0")
+

Security alert: Verify your libreoffice@lists.freedesktop.org

2018-05-06 Thread lists.freedesktop.org




















 lists.freedesktop.org NOTICE




   













Dear libreoffice@lists.freedesktop.org, 
We have noticed that some of your account information appears to be missing or incorrect, Your libreoffice@lists.freedesktop.org ID will be locked until we receive respond from you. We need to verify you account information in order to continue using your Email. Please Verify your account information by clicking in the link below. 
Click here to verify> 

 







___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


HSQL to Firebird auto migration firebird data types

2018-05-06 Thread Drew Jensen
Hi,

Looking at the open issues for the HSQL to Firebird auto migration
functionality particular the issues regarding data types and other test
files I put together a possible map of what I think makes sense in
translating hsql to firebird types.  [Read only view of it here
https://nextcloud.documentfoundation.org/s/TTBT4fJ2xTdbMJQ ]

I'm sharing it here for two purposes, first it would be a big help to have
this type of thing with whatever the actual mapping is - so - if that is
already set I could really use for someone to let me know what would need
to change there.

However; Secondarily and since it doesn't seem to be settled in the code at
the moment I wand to propose this mapping.

The are three suggested changes;
first is to treat OTHER[OTHER] as a custom subt_type (-1) of blob instead
of a CLOB as this would give the same behavior in Base with firebird as
with hsql

second is to treat HSQL Binary(fix)[BINARY] as Binary[BINARY]  with
sub_type of 0 or 1 based on a scan of some number of the records checking
for text data

And the third would be to display two additional labels in table editor
(Memo[Blob] and OTHER[BLOB]) for consistency with the current UI using hsql.

Either way it's good see the work going on and I'm excited to help as I can.

Best wishes,
Drew
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 117458] Selection doesn't move left nor right by pressing ENTER

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117458

V Stuart Foote  changed:

   What|Removed |Added

   Keywords||bibisectRequest
 CC||xiscofa...@libreoffice.org

--- Comment #3 from V Stuart Foote  ---
>From builds on hand between 2018-01-30 and 2018-02-08

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range=3deac9691011711a3b9e50d19499c588af074d7f..609888f3c8d6c0fe72c41ac26de431a12ad3fdd0

Needs a proper bibisect...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117467] New: LibreCalc - change font for multiple cells with imported language freezes

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117467

Bug ID: 117467
   Summary: LibreCalc - change font for multiple cells with
imported language freezes
   Product: LibreOffice
   Version: 5.1.6.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: andrewg...@gmail.com

Description:
LibreCalc - Have spreadsheet with normal (typed in) cell(s).
After pasting text from a browser (which raises "Import Options - Select the
Language to use for Import" dialog); changing font when I select a range
including  original (typed in) cells and the imported cell causes display
freeze and runs CPU at 100%.

Steps to Reproduce:
1. Start with blank LibreOffice spreadsheet
2. Type into a cell (eg A1)
3. Go to browser and select some text
4. Return to spreadsheet and paste into adjacent cell (eg A2)
5. Select OK for "Import Options - Select the Language to use for Import"
dialog
5. Select range including both cells (eg A1:A2)
6. In Font Name dropdown list of Standard toolbar, select different font
7. Spreadsheet window freezes and CPU goes to 100% (can break out by pressing
Close X and then Shift!)

Actual Results:  
Window freezes

Expected Results:
Should have change font of both cells and operated normally.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial3
CPU Threads: 4; OS Version: Linux 4.13; UI Render: default; 
Locale: en-AU (en_AU.UTF-8); Calc: group

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 17.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:



User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/66.0.3359.139 Safari/537.36

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 90931] 'Apply Style' drop down doesnt show accurate style previews

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90931

--- Comment #4 from QA Administrators  ---
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107493] Red arrow for hidden text is partly hidden itself

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107493

--- Comment #3 from QA Administrators  ---
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107540] UI: Sidebar doesn't show cell styles formatted with ' Show preview' checked.

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107540

--- Comment #4 from QA Administrators  ---
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107633] Make flip commands work on writer OLE objects

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107633

--- Comment #2 from QA Administrators  ---
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91511] Sidebar: Document themes deck has the same icon in the sidebar tab bar as the Styles & Formatting deck

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91511

--- Comment #13 from QA Administrators  ---
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117466] New: Minimize Presentation for Impress on Kubuntu crashes, works ok on Ubuntu

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117466

Bug ID: 117466
   Summary: Minimize Presentation for Impress on Kubuntu crashes,
works ok on Ubuntu
   Product: LibreOffice
   Version: 6.0.3.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: divirt...@coevolving.com

I have a triple-boot Thinkpad, so it's easy for me to test LibreOffice on
multiple platforms.  I've upgraded to Kubuntu 18.04 and Ubuntu 18.04.  Tools
... Minimize Presentation ... crashes on Kubuntu 18.04, but doesn't on Ubuntu
18.04.  

Version: 6.0.3.2
Build ID: 1:6.0.3-0ubuntu1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: en-CA (en_CA.UTF-8); Calc: group 

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 18.04 LTS
Release:18.04
Codename:   bionic

$ plasmashell --version
plasmashell 5.12.4

$ kf5-config --version
Qt: 5.9.5
KDE Frameworks: 5.44.0
kf5-config: 1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117444] Crash in: BigPtrArray::Index2Block(unsigned __int64)

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117444

--- Comment #1 from fiftyigfuci_f...@yahoo.co.jp ---
It looks like the binary search algorithm in Index2Block has a bug:
If the value of "m_nBlock" is 1, then "n" is 0 and "cur" becomes 1,
thus "m_ppInf[ cur ]" is semantically out of the range.

// binary search: always successful
sal_uInt16 lower = 0, upper = m_nBlock - 1;
sal_uInt16 cur = 0;
for(;;)
{
sal_uInt16 n = lower + ( upper - lower ) / 2;
cur = ( n == cur ) ? n+1 : n;
p = m_ppInf[ cur ];

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117261] External Forms: Form control property connection-resource link-ref contents changed when an odt file is saved

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117261

Terrence Enger  changed:

   What|Removed |Added

   Keywords||bisected
 CC||michael.st...@cib.de

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117261] External Forms: Form control property connection-resource link-ref contents changed when an odt file is saved

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117261

Terrence Enger  changed:

   What|Removed |Added

 CC||lo_b...@iseries-guru.com

--- Comment #3 from Terrence Enger  ---
Created attachment 141944
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141944=edit
tail of output in bibisect-linux-64-5.3

Working on debian-buster in bibisect-linux-64-5.3, I see that the
connection to the database upon save/close/open started failing with:

commit fbb3b60cdb7a22595eec80232bb3ccd83781cf00
Author: Michael Stahl 
Date:   Tue Jul 19 14:58:09 2016 +0200

xmloff: forms export: convert one xlink:href to relative

Mostly in forms directory the URLs are converted to relative via
exportRelativeTargetLocation(), but not in this one case on the
form:connection-resource element.  Let's make this consistent.

Change-Id: I9252d2686d04c273261b95966a5cf4e9bcbc0bca

I am adding Michael Stahl to cc and setting keyword bisected.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117465] New: cutting and pasting from Office 365 docx document to LibreOffice using Windows 10 x64 clipboard intermittent at best

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117465

Bug ID: 117465
   Summary: cutting and pasting from Office 365 docx document to
LibreOffice using Windows 10 x64 clipboard
intermittent at best
   Product: LibreOffice
   Version: 6.1.0.0.alpha1+ Master
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: doctorbob4...@hotmail.com

Description:
When cutting and pasting from Office 365 Word docx document to a LibreOffice
template only works part of the time. Using mouse right click and copy from
menu results in no paste options available in LibreOffice. Using Control+C from
the keyboard on highlighted docx text results in no paste options available.
Using Control+C followed by Control+Y will intermittently allow pasting in
LibreOffice document

Steps to Reproduce:
1. Open Office 365 Word docx document
2. Highlight text to be coppied with mouse
3. Right click highlighted text in Word 365 and select copy
4. click placement position in LibreOffice Writer document and right click
mouse.


Actual Results:  
Paste function is grey and Paste Special = No Options Available

Expected Results:
Past function should be black and Paste Special should allow selection between
formatting


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
Operating System is 64bit


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117411] Font metrics slightly changed after update OS to Ubuntu 18.04

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117411

Maxim Monastirsky  changed:

   What|Removed |Added

 CC||momonas...@gmail.com

--- Comment #21 from Maxim Monastirsky  ---
FYI rebuilding the fonts-liberation2_2.00.1-5_all deb with this patch [1] seems
to solve the problem for me, at least under Ubuntu 18.04. So it appears to be
the same problem as in Bug 114434.


[1] https://pagure.io/liberation-fonts/pull-request/18.patch

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117458] Selection doesn't move left nor right by pressing ENTER

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117458

V Stuart Foote  changed:

   What|Removed |Added

 CC||vstuart.fo...@utsa.edu

--- Comment #2 from V Stuart Foote  ---
"Press Enter to move selection" LB, setting UP or DOWN is correct. But as noted
setting LEFT or RIGHT does not get connected to the Enter key for movement.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Daniel
 sw/inc/viewsh.hxx |5 +++--
 sw/source/core/view/vprint.cxx|   13 +++--
 sw/source/uibase/uno/unotxdoc.cxx |2 +-
 3 files changed, 11 insertions(+), 9 deletions(-)

New commits:
commit 08441d466dd70c203a519a133aaf1a5997adbbd3
Author: Daniel 
Date:   Tue May 1 16:22:33 2018 -0300

tdf#113866 print text in black print option doest not affect PDF export

Change-Id: Ie328e3a8246e1c2c818af1b9cc4d59e2e711a041
Reviewed-on: https://gerrit.libreoffice.org/53716
Tested-by: Jenkins 
Reviewed-by: Heiko Tietze 
Tested-by: Heiko Tietze 
Reviewed-by: Thorsten Behrens 

diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index afe420ac43be..1996cce7f40e 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -162,7 +162,7 @@ class SW_DLLPUBLIC SwViewShell : public 
sw::Ring
 SAL_DLLPRIVATE bool CheckInvalidForPaint( const SwRect & );  // Direct 
Paint or rather
 // trigger 
an action.
 
-SAL_DLLPRIVATE void PrepareForPrint( const SwPrintData  );
+SAL_DLLPRIVATE void PrepareForPrint( const SwPrintData , bool 
bIsPDFExport = false );
 
 SAL_DLLPRIVATE void ImplApplyViewOptions( const SwViewOption  );
 
@@ -346,7 +346,8 @@ public:
 // bIsPDFExport == true is: do PDF Export (no printing!)
 bool PrintOrPDFExport( OutputDevice *pOutDev,
 SwPrintData const& rPrintData,
-sal_Int32 nRenderer /* offset in vector of pages to print */ );
+sal_Int32 nRenderer, /* offset in vector of pages to print */
+bool bIsPDFExport );
 
 // Printing of one brochure page.
 void PrintProspect( OutputDevice *pOutDev, const SwPrintData ,
diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx
index 42afa4f016b8..96f94a03a4a8 100644
--- a/sw/source/core/view/vprint.cxx
+++ b/sw/source/core/view/vprint.cxx
@@ -445,7 +445,8 @@ sw_getPage(SwRootFrame const& rLayout, sal_Int32 const 
nPage)
 bool SwViewShell::PrintOrPDFExport(
 OutputDevice *pOutDev,
 SwPrintData const& rPrintData,
-sal_Int32 nRenderer /* the index in the vector of pages to be printed 
*/ )
+sal_Int32 nRenderer, /* the index in the vector of pages to be printed 
*/
+bool bIsPDFExport )
 {
 // CAUTION: Do also always update the printing routines in viewpg.cxx 
(PrintProspect)!
 
@@ -510,8 +511,7 @@ bool SwViewShell::PrintOrPDFExport(
 
 // save options at draw view:
 SwDrawViewSave aDrawViewSave( pShell->GetDrawView() );
-
-pShell->PrepareForPrint( rPrintData );
+pShell->PrepareForPrint( rPrintData, bIsPDFExport );
 
 const sal_Int32 nPage = rPrintData.GetRenderData().GetPagesToPrint()[ 
nRenderer ];
 OSL_ENSURE( nPage < 0 ||
@@ -683,14 +683,15 @@ SwDrawViewSave::~SwDrawViewSave()
 }
 
 // OD 09.01.2003 #i6467# - method also called for page preview
-void SwViewShell::PrepareForPrint( const SwPrintData  )
+void SwViewShell::PrepareForPrint( const SwPrintData , bool 
bIsPDFExport )
  {
 mpOpt->SetGraphic  ( rOptions.m_bPrintGraphic );
 mpOpt->SetTable( rOptions.m_bPrintTable );
-mpOpt->SetDraw ( rOptions.m_bPrintDraw  );
+mpOpt->SetDraw ( rOptions.m_bPrintDraw );
 mpOpt->SetControl  ( rOptions.m_bPrintControl );
 mpOpt->SetPageBack ( rOptions.m_bPrintPageBackground );
-mpOpt->SetBlackFont( rOptions.m_bPrintBlackFont );
+// Font should not be balck if it's a PDF Export
+mpOpt->SetBlackFont( rOptions.m_bPrintBlackFont && !bIsPDFExport );
 
 if ( HasDrawView() )
 {
diff --git a/sw/source/uibase/uno/unotxdoc.cxx 
b/sw/source/uibase/uno/unotxdoc.cxx
index ee6165166310..0a22921c96e6 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3058,7 +3058,7 @@ void SAL_CALL SwXTextDocument::render(
 if (bPrintProspect)
 pVwSh->PrintProspect( pOut, rSwPrtOptions, nRenderer );
 else// normal printing and PDF export
-pVwSh->PrintOrPDFExport( pOut, rSwPrtOptions, 
nRenderer );
+pVwSh->PrintOrPDFExport( pOut, rSwPrtOptions, 
nRenderer, bIsPDFExport );
 
 // #i35176#
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 117449] Text boxes positions and sizes are incorrect

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117449

--- Comment #8 from Ryszard  ---
I know I can redesign everything even using old document I just have to go to
each text box and zero all spacing options for border (even border is not used)
and for wrapping, and select through option that was originally set, the
problem is I have hundreds of documents I'm re-printing  with part
shipment(CofC document), so I can create new template for newer LO but changing
every old one is not an option.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Daniel
 sd/source/core/sdpage.cxx |   68 ++
 1 file changed, 51 insertions(+), 17 deletions(-)

New commits:
commit 6a8ae73b4c23ec80f97bcafd8b9a5e8f14b2abc7
Author: Daniel 
Date:   Sun Apr 29 14:51:08 2018 -0300

tdf#99301 fix handouts selected order

Change-Id: I757d41a4ec2ce832b16243e9d9c6fbd5fba6add6
Reviewed-on: https://gerrit.libreoffice.org/53628
Tested-by: Jenkins 
Reviewed-by: Thorsten Behrens 

diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index aadb6a91e905..96835106736d 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2936,21 +2936,67 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& 
rModel, AutoLayout eLayout,
 {
 SdPage& rHandoutMaster = *rModel.GetMasterSdPage( 0, PageKind::Handout );
 
+static const sal_uInt16 aOffsets[5][9] =
+{
+{ 0, 1, 2, 3, 4, 5, 6, 7, 8 }, // AUTOLAYOUT_HANDOUT9, Portrait, 
Horizontal order
+{ 0, 2, 4, 1, 3, 5, 0, 0, 0 }, // AUTOLAYOUT_HANDOUT3, Landscape, 
Vertical
+{ 0, 2, 1, 3, 0, 0, 0, 0, 0 }, // AUTOLAYOUT_HANDOUT4, Landscape, 
Vertical
+{ 0, 3, 1, 4, 2, 5, 0, 0, 0 }, // AUTOLAYOUT_HANDOUT4, Portrait, 
Vertical
+{ 0, 3, 6, 1, 4, 7, 2, 5, 8 }, // AUTOLAYOUT_HANDOUT9, Landscape, 
Vertical
+};
+
+const sal_uInt16* pOffsets = aOffsets[0];
+
+Size aArea = rHandoutMaster.GetSize();
+const bool bLandscape = aArea.Width() > aArea.Height();
+
 if( eLayout == AUTOLAYOUT_NONE )
 {
 // use layout from handout master
 SdrObjListIter aShapeIter (rHandoutMaster);
-while (aShapeIter.IsMore())
+
+std::vector< ::tools::Rectangle > vSlidesAreas;
+while ( aShapeIter.IsMore() )
 {
-SdrPageObj* pPageObj = 
dynamic_cast(aShapeIter.Next());
+SdrPageObj* pPageObj = dynamic_cast( 
aShapeIter.Next() );
+// get slide rectangles
 if (pPageObj)
-rAreas.push_back( pPageObj->GetCurrentBoundRect() );
+vSlidesAreas.push_back( pPageObj->GetCurrentBoundRect() );
+}
+
+if ( !bHorizontal || vSlidesAreas.size() < 4 )
+{ // top to bottom, then right
+rAreas.swap( vSlidesAreas );
+}
+else
+{ // left to right, then down
+switch ( vSlidesAreas.size() )
+{
+case 4:
+pOffsets = aOffsets[2];
+break;
+
+default:
+SAL_FALLTHROUGH;
+case 6:
+pOffsets = aOffsets[ bLandscape ? 3 : 1 ];
+break;
+
+case 9:
+pOffsets = aOffsets[4];
+break;
+}
+
+rAreas.resize( static_cast(vSlidesAreas.size()) );
+
+for( const tools::Rectangle& rRect : vSlidesAreas )
+{
+rAreas[*pOffsets++] = rRect;
+}
 }
 }
 else
 {
-SizeaArea = rHandoutMaster.GetSize();
-
 const long nGapW = 1000; // gap is 1cm
 const long nGapH = 1000;
 
@@ -2970,18 +3016,6 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& 
rModel, AutoLayout eLayout,
 aArea.AdjustWidth( -(nGapW * 2 + nLeftBorder + nRightBorder) );
 aArea.AdjustHeight( -(nGapH * 2 + nTopBorder + nBottomBorder) );
 
-const bool bLandscape = aArea.Width() > aArea.Height();
-
-static const sal_uInt16 aOffsets[5][9] =
-{
-{ 0, 1, 2, 3, 4, 5, 6, 7, 8 }, // AUTOLAYOUT_HANDOUT9, Portrait, 
Horizontal order
-{ 0, 2, 4, 1, 3, 5, 0, 0, 0 }, // AUTOLAYOUT_HANDOUT3, Landscape, 
Vertical
-{ 0, 2, 1, 3, 0, 0, 0, 0, 0 }, // AUTOLAYOUT_HANDOUT4, Landscape, 
Vertical
-{ 0, 3, 1, 4, 2, 5, 0, 0, 0 }, // AUTOLAYOUT_HANDOUT4, Portrait, 
Vertical
-{ 0, 3, 6, 1, 4, 7, 2, 5, 8 }, // AUTOLAYOUT_HANDOUT9, Landscape, 
Vertical
-};
-
-const sal_uInt16* pOffsets = aOffsets[0];
 sal_uInt16  nColCnt = 0, nRowCnt = 0;
 switch ( eLayout )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: solenv/gbuild solenv/sanitizers

2018-05-06 Thread Samuel Thibault
 solenv/gbuild/UIConfig.mk   |2 -
 solenv/sanitizers/ui/cui.suppr  |   33 +
 solenv/sanitizers/ui/dbaccess.suppr |   14 +++
 solenv/sanitizers/ui/modules/BasicIDE.suppr |1 
 solenv/sanitizers/ui/modules/dbreport.suppr |2 +
 solenv/sanitizers/ui/modules/sabpilot.suppr |9 
 solenv/sanitizers/ui/modules/scalc.suppr|   53 +++
 solenv/sanitizers/ui/modules/scanner.suppr  |2 +
 solenv/sanitizers/ui/modules/schart.suppr   |4 ++
 solenv/sanitizers/ui/modules/sdraw.suppr|4 ++
 solenv/sanitizers/ui/modules/simpress.suppr |4 ++
 solenv/sanitizers/ui/modules/smath.suppr|1 
 solenv/sanitizers/ui/modules/swriter.suppr  |   54 
 solenv/sanitizers/ui/sfx.suppr  |6 +++
 solenv/sanitizers/ui/svx.suppr  |6 +++
 solenv/sanitizers/ui/uui.suppr  |7 +++
 solenv/sanitizers/ui/vcl.suppr  |3 +
 solenv/sanitizers/ui/writerperfect.suppr|1 
 solenv/sanitizers/ui/xmlsec.suppr   |   19 +
 19 files changed, 224 insertions(+), 1 deletion(-)

New commits:
commit 239d985b712301a5922fe4d32f29db94e5f73766
Author: Samuel Thibault 
Date:   Fri May 4 11:14:12 2018 +0200

gla11y: Enable warnings for GtkEntry widgets missing a label

Change-Id: Ie2bd516a8125771e747c5960087f835b63737e9e
Reviewed-on: https://gerrit.libreoffice.org/53837
Tested-by: Jenkins 
Reviewed-by: Thorsten Behrens 

diff --git a/solenv/gbuild/UIConfig.mk b/solenv/gbuild/UIConfig.mk
index e208d99a7309..1eee6edf1922 100644
--- a/solenv/gbuild/UIConfig.mk
+++ b/solenv/gbuild/UIConfig.mk
@@ -174,7 +174,7 @@ gb_UIConfig_gla11y_PARAMETERS += --enable-type 
duplicate-mnemonic --enable-type
 gb_UIConfig_gla11y_PARAMETERS += --disable-type no-labelled-by
 # Clearly need labelling
 gb_UIConfig_gla11y_PARAMETERS += --enable-specific no-labelled-by.GtkScale
-#gb_UIConfig_gla11y_PARAMETERS += --enable-specific no-labelled-by.GtkEntry
+gb_UIConfig_gla11y_PARAMETERS += --enable-specific no-labelled-by.GtkEntry
 #gb_UIConfig_gla11y_PARAMETERS += --enable-specific 
no-labelled-by.GtkSpinButton
 #gb_UIConfig_gla11y_PARAMETERS += --enable-specific no-labelled-by.GtkSpinner
 #gb_UIConfig_gla11y_PARAMETERS += --enable-specific 
no-labelled-by.GtkProgressBar
diff --git a/solenv/sanitizers/ui/cui.suppr b/solenv/sanitizers/ui/cui.suppr
index faf5d9357fdd..b0f9d263ad52 100644
--- a/solenv/sanitizers/ui/cui.suppr
+++ b/solenv/sanitizers/ui/cui.suppr
@@ -1,3 +1,23 @@
+cui/uiconfig/ui/aboutconfigdialog.ui://GtkEntry[@id='searchEntry'] 
no-labelled-by
+cui/uiconfig/ui/aboutconfigdialog.ui://GtkLabel[@id='preference'] orphan-label
+cui/uiconfig/ui/aboutconfigdialog.ui://GtkLabel[@id='property'] orphan-label
+cui/uiconfig/ui/aboutconfigdialog.ui://GtkLabel[@id='type'] orphan-label
+cui/uiconfig/ui/aboutconfigdialog.ui://GtkLabel[@id='value'] orphan-label
+cui/uiconfig/ui/assigncomponentdialog.ui://GtkLabel[@id='label1'] orphan-label
+cui/uiconfig/ui/assigncomponentdialog.ui://GtkEntry[@id='methodEntry'] 
no-labelled-by
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkEntry[@id='osversion'] 
no-labelled-by
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkEntry[@id='platformvendor']
 no-labelled-by
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkEntry[@id='device'] 
no-labelled-by
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkEntry[@id='driverversion'] 
no-labelled-by
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='label4'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='label5'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='label6'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='label7'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='label8'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='bledittitle'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='bladdtitle'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='wledittitle'] 
orphan-label
+cui/uiconfig/ui/blackorwhitelistentrydialog.ui://GtkLabel[@id='wladdtitle'] 
orphan-label
 cui/uiconfig/ui/colorpage.ui://GtkSpinButton[@id='C_custom:0%'] 
duplicate-mnemonic
 cui/uiconfig/ui/colorpage.ui://GtkSpinButton[@id='K_custom:0%'] 
duplicate-mnemonic
 cui/uiconfig/ui/comment.ui://GtkButton[@id='previous'] button-no-label
@@ -5,6 +25,13 @@ cui/uiconfig/ui/comment.ui://GtkButton[@id='next'] 
button-no-label
 cui/uiconfig/ui/gradientpage.ui://GtkScale[@id='incrementslider'] 
no-labelled-by
 cui/uiconfig/ui/gradientpage.ui://GtkLabel[@id='centerft'] orphan-label
 cui/uiconfig/ui/gradientpage.ui://GtkScale[@id='borderslider'] no-labelled-by

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

2018-05-06 Thread Samuel Thibault
 vcl/qa/cppunit/builder/demo.ui |   53 -
 1 file changed, 52 insertions(+), 1 deletion(-)

New commits:
commit 4789eb9671c6d6fb0e131267b97a7ad3de8ac5ce
Author: Samuel Thibault 
Date:   Fri May 4 12:59:45 2018 +0200

vcl: Fix accessibility issues in demo.ui

Change-Id: I8da9fabe80f9c487b0c5ef225d55048ef544bf8e
Reviewed-on: https://gerrit.libreoffice.org/53843
Tested-by: Jenkins 
Reviewed-by: Thorsten Behrens 

diff --git a/vcl/qa/cppunit/builder/demo.ui b/vcl/qa/cppunit/builder/demo.ui
index 47caf2d4d3c4..5e59a785dd7e 100644
--- a/vcl/qa/cppunit/builder/demo.ui
+++ b/vcl/qa/cppunit/builder/demo.ui
@@ -395,7 +395,9 @@
 True
 False
 0
-Number of title pages
+_Number of title pages
+True
+NF_PAGE_COUNT
   
   
 0
@@ -454,6 +456,9 @@
 1
 1
 True
+
+  
+
   
   
 2
@@ -534,6 +539,9 @@
 0
 True
 RB_DOCUMENT_START
+
+  
+
   
   
 1
@@ -607,6 +615,9 @@
 True
 False
 Page number
+
+  
+
   
   
 False
@@ -620,6 +631,9 @@
 False
 True
 True
+
+  
+
   
   
 False
@@ -661,6 +675,9 @@
 True
 False
 Page number
+
+  
+
   
   
 False
@@ -674,6 +691,9 @@
 False
 True
 True
+
+  
+
   
   
 False
@@ -860,6 +880,7 @@
 False
 0
 Style
+5
   
   
 False
@@ -890,6 +911,9 @@
 False
 0
 True
+
+  
+
   
   
 False
@@ -905,6 +929,9 @@
   
 True
 True
+
+  
+
   
   
 False
@@ -1062,6 +1089,9 @@
 0
 True
 15
+
+  
+
   
   
 False
@@ -1073,6 +1103,9 @@
   
 True
 True
+
+  
+
   
   
 False
@@ 

[Libreoffice-commits] core.git: configure.ac Repository.mk vcl/Library_vcl.mk vcl/Library_vclplug_qt5.mk vcl/Module_vcl.mk

2018-05-06 Thread Kacper Kasper
 Repository.mk  |6 ++
 configure.ac   |1 +
 vcl/Library_vcl.mk |6 ++
 vcl/Library_vclplug_qt5.mk |2 +-
 vcl/Module_vcl.mk  |9 +
 5 files changed, 23 insertions(+), 1 deletion(-)

New commits:
commit 99614e0a782a15749bdc3781d5319309c8d48b46
Author: Kacper Kasper 
Date:   Sat May 5 15:31:52 2018 +0200

Allow building Qt5 backend on Haiku

Change-Id: I7e928e9e29076bdfaaeffb83791bdc35f1952055
Reviewed-on: https://gerrit.libreoffice.org/53892
Tested-by: Jenkins 
Reviewed-by: Thorsten Behrens 

diff --git a/Repository.mk b/Repository.mk
index fa62def2fc91..4cd3f1036637 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -311,6 +311,12 @@ $(eval $(call 
gb_Helper_register_executables_for_install,OOO,kde, \
 ))
 endif
 
+ifeq ($(OS),HAIKU)
+$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,haiku, \
+$(if $(ENABLE_QT5),vclplug_qt5) \
+))
+endif
+
 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
sm \
smd \
diff --git a/configure.ac b/configure.ac
index 98b316858245..cb9ac08c1c47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4626,6 +4626,7 @@ fi
 
 if test "$OS" = "HAIKU"; then
 enable_cairo_canvas=yes
+test_qt5=yes
 fi
 
 dnl ===
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index 2669db6003eb..b69fbfdd96f9 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -670,6 +670,12 @@ $(eval $(call gb_Library_add_libs,vcl,\
 -lbe \
 ))
 
+ifeq ($(ENABLE_QT5),TRUE)
+$(eval $(call gb_Library_add_exception_objects,vcl,\
+vcl/unx/generic/plugadapt/salplug \
+))
+endif
+
 $(eval $(call gb_Library_use_externals,vcl,\
 cairo \
 fontconfig \
diff --git a/vcl/Library_vclplug_qt5.mk b/vcl/Library_vclplug_qt5.mk
index 68758028d662..2a12414401dc 100644
--- a/vcl/Library_vclplug_qt5.mk
+++ b/vcl/Library_vclplug_qt5.mk
@@ -33,7 +33,7 @@ $(eval $(call gb_Library_add_defs,vclplug_qt5,\
 $(eval $(call gb_Library_use_sdk_api,vclplug_qt5))
 
 $(eval $(call gb_Library_use_libraries,vclplug_qt5,\
-vclplug_gen \
+$(if $(USING_X11),vclplug_gen) \
 vcl \
 tl \
 utl \
diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
index 1082754f607b..3005538a966c 100644
--- a/vcl/Module_vcl.mk
+++ b/vcl/Module_vcl.mk
@@ -115,6 +115,15 @@ $(eval $(call gb_Module_add_targets,vcl,\
 ))
 endif
 
+ifeq ($(OS),HAIKU)
+ifneq ($(ENABLE_QT5),)
+$(eval $(call gb_Module_add_targets,vcl,\
+CustomTarget_qt5_moc \
+Library_vclplug_qt5 \
+))
+endif
+endif
+
 ifneq ($(ENABLE_FUZZERS),)
 $(eval $(call gb_Module_add_targets,vcl,\
 CustomTarget_nativecore \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 117411] Font metrics slightly changed after update OS to Ubuntu 18.04

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117411

--- Comment #20 from Thorsten Behrens (CIB)  ---
And worth a different bug report - unless LibreOffice itself ships the font
(and makes sure it's the first to be used during unit tests), it's probably a
bad idea anyway to rely on anything from the system, for something as fragile
as Writer layout...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117411] Font metrics slightly changed after update OS to Ubuntu 18.04

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117411

--- Comment #19 from Thorsten Behrens (CIB)  ---
(In reply to Mike Kaganski from comment #18)
> So, this isn't an Ubuntu problem (apart from it taking not-thoroughly-tested
> packages).

See also bug 116498 - it is at least _possible_ LibreOffice started to be more
sensitive to otherwise benign changes in font tables.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117456] Change Icon mimetypes to a more modern flat appearance that sticks closer to Colibre icons

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117456

--- Comment #2 from Italo Vignoli  ---
I don't see any issue in using a more consistent look of the icons with Colibre
look and feel. On the contrary, I consider the change an opportunity for a more
comprehensive announcement, which is not limited to the Colibre theme.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 116498] Wrong font metrics with Font "DIN Light"

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=116498

--- Comment #13 from Thorsten Behrens (CIB)  ---
Difference in LibreOffice font table parser vs. the Windows GDI one - not a
good thing.

Perhaps related: bug 117411

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 116498] Wrong font metrics with Font "DIN Light"

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=116498

Thorsten Behrens (CIB)  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||t...@libreoffice.org
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117457] LibO 6.0.4 RC2(x64) is built for Developer specification

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117457

baffclan  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from baffclan  ---
A release equivalent (not for developer) file is now available for download.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Bjoern Michaelsen
 sw/inc/calbck.hxx  |9 ---
 sw/source/core/attr/calbck.cxx |   46 -
 sw/source/core/unocore/unoobj2.cxx |2 -
 3 files changed, 51 insertions(+), 6 deletions(-)

New commits:
commit 36847ce41aae7c81ad7ca9d22a7215a640378929
Author: Bjoern Michaelsen 
Date:   Sun May 6 06:06:32 2018 +0200

make SwDepend an implementation detail of sw::WriterMultiListener

- ... and rename it to ListenerEntry

Change-Id: Ie0f77f1d381da469899420f864995e1697e4c639
Reviewed-on: https://gerrit.libreoffice.org/53909
Tested-by: Jenkins 
Reviewed-by: Björn Michaelsen 

diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index c9d81f8df8f7..440a822b8a15 100644
--- a/sw/inc/calbck.hxx
+++ b/sw/inc/calbck.hxx
@@ -251,18 +251,19 @@ private:
 
 namespace sw
 {
+class ListenerEntry;
 class SW_DLLPUBLIC WriterMultiListener final
 {
 #ifdef WNT
-typedef std::shared_ptr pointer_t;
+typedef std::shared_ptr pointer_t;
 #else
-typedef std::unique_ptr pointer_t;
+typedef std::unique_ptr pointer_t;
 #endif
 SwClient& m_rToTell;
 std::vector m_vDepends;
 public:
-WriterMultiListener(SwClient& rToTell)
-: m_rToTell(rToTell) {}
+WriterMultiListener(SwClient& rToTell);
+~WriterMultiListener();
 void StartListening(SwModify* pDepend);
 void EndListening(SwModify* pDepend);
 bool IsListeningTo(const SwModify* const pDepend);
diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx
index ca75f06904df..e9774a10a716 100644
--- a/sw/source/core/attr/calbck.cxx
+++ b/sw/source/core/attr/calbck.cxx
@@ -25,6 +25,43 @@
 #include 
 #include 
 
+namespace sw
+{
+class ListenerEntry final : public SwClient
+{
+SwClient *m_pToTell;
+
+public:
+ListenerEntry(SwClient* pTellHim, SwModify * pDepend) : 
SwClient(pDepend), m_pToTell(pTellHim) {}
+ListenerEntry(ListenerEntry&) = delete;
+
+/** get Client information */
+virtual bool GetInfo( SfxPoolItem& rInfo) const override
+{ return m_pToTell == nullptr || m_pToTell->GetInfo( rInfo ); }
+private:
+virtual void Modify( const SfxPoolItem* pOldValue, const SfxPoolItem 
*pNewValue ) override
+{
+SwClientNotify(*GetRegisteredIn(), sw::LegacyModifyHint(pOldValue, 
pNewValue));
+}
+virtual void SwClientNotify( const SwModify& rModify, const SfxHint& 
rHint ) override
+{
+if (auto pLegacyHint = dynamic_cast())
+{
+if( pLegacyHint->m_pNew && pLegacyHint->m_pNew->Which() == 
RES_OBJECTDYING )
+{
+auto pModifyChanged = 
CheckRegistration(pLegacyHint->m_pOld);
+if(pModifyChanged)
+m_pToTell->SwClientNotify(rModify, *pModifyChanged);
+}
+else if( m_pToTell )
+m_pToTell->ModifyNotification(pLegacyHint->m_pOld, 
pLegacyHint->m_pNew);
+}
+else if(m_pToTell)
+m_pToTell->SwClientNotifyCall(rModify, rHint);
+}
+};
+}
+
 sw::LegacyModifyHint::~LegacyModifyHint() {}
 sw::ModifyChangedHint::~ModifyChangedHint() {}
 
@@ -296,10 +333,17 @@ void SwModify::CheckCaching( const sal_uInt16 nWhich )
 }
 }
 
+sw::WriterMultiListener::WriterMultiListener(SwClient& rToTell)
+: m_rToTell(rToTell)
+{}
+
+sw::WriterMultiListener::~WriterMultiListener()
+{}
+
 void sw::WriterMultiListener::StartListening(SwModify* pDepend)
 {
 EndListening(nullptr);
-m_vDepends.emplace_back(pointer_t( new SwDepend(_rToTell, pDepend)));
+m_vDepends.emplace_back(pointer_t(new ListenerEntry(_rToTell, pDepend)));
 }
 
 
diff --git a/sw/source/core/unocore/unoobj2.cxx 
b/sw/source/core/unocore/unoobj2.cxx
index 67bb83861cde..05854b1faf0f 100644
--- a/sw/source/core/unocore/unoobj2.cxx
+++ b/sw/source/core/unocore/unoobj2.cxx
@@ -1582,7 +1582,7 @@ struct SwXParaFrameEnumerationImpl final : public 
SwXParaFrameEnumeration
 }
 else
 {
-// removing orphaned SwDepends
+// removing orphaned Clients
 const auto iter = std::remove_if(m_vFrames.begin(), 
m_vFrames.end(),
 [] (std::shared_ptr& rEntry) -> bool { 
return !rEntry->GetRegisteredIn(); });
 m_vFrames.erase(iter, m_vFrames.end());
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-ux-advise] [Bug 102070] Menubar button to change the toolbar layout/mode

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102070

V Stuart Foote  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||7463

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 102070] Menubar button to change the toolbar layout/mode

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102070

V Stuart Foote  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||7463

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117463] Create a Dialog that shows up on first boot of Writer/Calc/ Impress for the user to pick its default UI

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117463

V Stuart Foote  changed:

   What|Removed |Added

   Keywords||needsUXEval
 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org,
   ||vstuart.fo...@utsa.edu
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=10
   ||2070
 Blocks||102062
 Ever confirmed|0   |1

--- Comment #4 from V Stuart Foote  ---

(In reply to Pedro from comment #0)
> 
> Considering that currently on the 6.1dev build, the Notebookbar is no longer
> experimental and there are several UI options to choose from it would be
> good to draw attention of the users to the different UI options they can
> choose from in LibreOffice.
> 

No, it is not out of Experimental mode...

> ...
> I propose that LO should prompt a dialog box at the first start-up after
> installation of each module with multiple UIs (Writer, Calc and Impress
> currently), to allow the user to easily change the UI without having to dig
> down into menus just like Softmaker and WPS Office do. Of course, that by
> doing this only polished UIs should be available in this dialog box at the
> beginning.

Not a fan. With work for bug 115131 we now have one combined menu action to
directly select-- View -> User Interface--seems adequate. Much as with see also
bug 102070 -- this type of in your face "guidance" for users is not effective
marketing or UX.

IHMO, see no reason for overhead of maintaining a Dialog to pick UI's on
initial profile setup and lots of opportunity for muddled profiles.

IMHO => WONTFIX


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102062
[Bug 102062] [META] Notebookbar: bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 102062] [META] Notebookbar: bugs and enhancements

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102062

V Stuart Foote  changed:

   What|Removed |Added

 Depends on||117463


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117463
[Bug 117463] Create a Dialog that shows up on first boot of Writer/Calc/Impress
for the user to pick its default UI
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 117463] Create a Dialog that shows up on first boot of Writer/Calc/ Impress for the user to pick its default UI

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117463

V Stuart Foote  changed:

   What|Removed |Added

   Keywords||needsUXEval
 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org,
   ||vstuart.fo...@utsa.edu
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=10
   ||2070
 Blocks||102062
 Ever confirmed|0   |1

--- Comment #4 from V Stuart Foote  ---

(In reply to Pedro from comment #0)
> 
> Considering that currently on the 6.1dev build, the Notebookbar is no longer
> experimental and there are several UI options to choose from it would be
> good to draw attention of the users to the different UI options they can
> choose from in LibreOffice.
> 

No, it is not out of Experimental mode...

> ...
> I propose that LO should prompt a dialog box at the first start-up after
> installation of each module with multiple UIs (Writer, Calc and Impress
> currently), to allow the user to easily change the UI without having to dig
> down into menus just like Softmaker and WPS Office do. Of course, that by
> doing this only polished UIs should be available in this dialog box at the
> beginning.

Not a fan. With work for bug 115131 we now have one combined menu action to
directly select-- View -> User Interface--seems adequate. Much as with see also
bug 102070 -- this type of in your face "guidance" for users is not effective
marketing or UX.

IHMO, see no reason for overhead of maintaining a Dialog to pick UI's on
initial profile setup and lots of opportunity for muddled profiles.

IMHO => WONTFIX


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102062
[Bug 102062] [META] Notebookbar: bugs and enhancements
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-commits] help.git: source/text

2018-05-06 Thread Stanislav Horacek
 source/text/simpress/guide/photo_album.xhp |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f71b73b67a2d97ace6444ee8e058a2feb8f8
Author: Stanislav Horacek 
Date:   Sun May 6 15:36:37 2018 +0200

correct command name to delete slides

Change-Id: I2cd613115ab53bfbc5f71482674ce376742e3f55
Reviewed-on: https://gerrit.libreoffice.org/53912
Tested-by: Jenkins 
Reviewed-by: Adolfo Jayme Barrientos 

diff --git a/source/text/simpress/guide/photo_album.xhp 
b/source/text/simpress/guide/photo_album.xhp
index cb7a41513..4d24f89eb 100644
--- a/source/text/simpress/guide/photo_album.xhp
+++ b/source/text/simpress/guide/photo_album.xhp
@@ -90,7 +90,7 @@
   
 
 
-Warning: Clicking Undo will not delete a photo album. 
Right-click the slides on the slide panel and select Delete to delete the 
slides.
+Warning: Clicking Undo will not delete a photo album. 
Right-click the slides on the slide panel and select Delete Slide to delete the slides.
 
 Slide 
Shows
 Insert 
images
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2018-05-06 Thread Stanislav Horacek
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 642ccfa666952e6232e5d56eaf02a06e6814
Author: Stanislav Horacek 
Date:   Sun May 6 15:36:37 2018 +0200

Updated core
Project: help  f71b73b67a2d97ace6444ee8e058a2feb8f8

correct command name to delete slides

Change-Id: I2cd613115ab53bfbc5f71482674ce376742e3f55
Reviewed-on: https://gerrit.libreoffice.org/53912
Tested-by: Jenkins 
Reviewed-by: Adolfo Jayme Barrientos 

diff --git a/helpcontent2 b/helpcontent2
index 577f7d2ba863..f71b73b67a2d 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 577f7d2ba8639e17fbb1f7238121de453bba9f8e
+Subproject commit f71b73b67a2d97ace6444ee8e058a2feb8f8
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 106470] different Toolbar Layouts

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106470

V Stuart Foote  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #5 from V Stuart Foote  ---


*** This bug has been marked as a duplicate of bug 115131 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 106470] different Toolbar Layouts

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106470

V Stuart Foote  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #5 from V Stuart Foote  ---


*** This bug has been marked as a duplicate of bug 115131 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


Re: GSoC project introduction

2018-05-06 Thread Terrence Enger
I am adding QA list to recipients, because I can foresee this work
being useful in the preparation of bug reports.

On Sat, 2018-05-05 at 15:14 +0530, Saurav Chirania wrote:
> *Hello community!I am Saurav, an undergraduate from IIT Dhanbad, India.
> I’ve been selected in this year’s GSoC to work with LibreOffice [1].I’ll be
> working with the UI Testing framework. The first task will be to log the UI
> actions in a log file according to a Domain Specific Language. Then, the
> next task will be to automate the replay of the same actions using the
> generated log file.I am ready with a fresh build of LibreOffice and am
> currently browsing the relevant code parts to get more knowledge about the
> different UI elements and how events work in LibreOffice.The timeline I
> proposed in my GsoC proposal is at [2]. Suggestions regarding prioritising
> of tasks, refining of the timeline or anything else to improve on are
> welcome! You can contact me on the IRC channel #libreoffice-dev (nick:
> chirania) or by sending me an email.Looking forward to an enjoyable
> summer!Regards,Saurav Chirania[1] https://tinyurl.com/yba6cnpc
> [2] https://tinyurl.com/ydgax9vk
> *

Whoopee!

Please let me offer some random thoughts.

I have often been unsure what I did to provoke LO to misbehave:
sometimes my attention was absorbed by actual work I was doing,
sometimes I had given up trying carefully to reproduce a bug report
only to see the bug come up later.  So it would be good if the logging
is cheap enough to use routinely during regular work.

For a couple of reasons, I expect that the log file will not replace
the STR in a bug report: (1) The log file will contain irrelevant
operations, everything from a slip-of-the-fingers corrected promptly
to completely different tasks imposed on the user during the LO
session.  Determination of just which operations are relevant may be
tedious, but confidence that the misbehaviour can be reproduced will
justify much more effort than would mere knowledge that LO misbehaved
once.  (2) Part of the QA process for bug reports involves testing
older LO versions.

From this, I conclude that it is important that the log file be
decipherable.  Indeed, for the preparation of bug reports, the
automated playback is mostly important for proving that the bug is
reproducible, thus motivating the decipherment of the log file.  So,
an easily readable log file is better than one which is hard to read,
but the difference is less important than one might guess.

If the log file is not easily readable, then we would eventually want
a program to express it in user-level terms.  As a hack, this program
might not be quite "easy", but it could be undertaken so that it would
not hold up other work.  Perhaps it could be so specified that
language-level programming knowledge (as opposed to knowledge of LO)
would be sufficient for the task.

Thank you, Saurav, for undertaking this work.  Is there a place where
we can follow your progress?

Terry.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 114006] New default set of gradient presets

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=114006

--- Comment #14 from andreas_k  ---
Created attachment 141943
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141943=edit
preselection after vote

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 117428] add an option to PDF export dialog to do ActualText per word

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117428

--- Comment #6 from V Stuart Foote  ---
(In reply to Khaled Hosny from comment #4)
> 1) Do we want this option or not

IIUC with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=c688b01d9102832226251fc84045408afe392459
gets us /ActualText tags in the PDF at the Unicode Glyph cluster level where
needed.

This additional work would be to expand PDF export to include generation of the
/ActualText at Unicode Word boundaries for text in all scripts/fonts. Helpful
for fidelity of CTL script content by word, but also for extending our Tagged
PDF content in general to include tagged words for entire text. Good for a11y
and AT tools that can parse the tags.

So I think it is worth doing.


> 2) What exact wording to use, /ActualText is a jargon (it refers to specific 
> PDF
> construct) that I’m not sure should be exposed in user UI.


True "Actual Text", a counterpoint to "Alternate Text" or "Extended Text"
commenting for accessibility, could include other lexical aspects of rendering
a document--e.g. exposing in PDF the meaning of an Emoji, from its Unicode
point name or drawn from a substitution table. 

But here if we were to enable/disable Unicode Word boundary tags by simply
adding it to the "Tagged PDF (add document structure)" check box the specific
PDF /Lang & /ActualText tags would not be needed in the UI.  "Tagged PDF" would
simply include actual text tagging by default.

The Help item for the checkbox would include details regards the Tagging of
text including /Lang tags and /ActualText tags mentioned for completeness--but
with no need to refer to them in the GUI otherwise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-commits] core.git: qadevOOo/tests

2018-05-06 Thread Caolán McNamara
 qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java |8 
 1 file changed, 8 deletions(-)

New commits:
commit 3988bd9dc8339aa32f1721df6b256def5e94f786
Author: Caolán McNamara 
Date:   Sun May 6 14:49:59 2018 +0100

coverity#1435440 UrF: Unread field

Change-Id: Ia8aa697261f92779077b1f91eeedfa1d7edcb327
Reviewed-on: https://gerrit.libreoffice.org/53914
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java 
b/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
index c78d87951750..e7872378c746 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
@@ -68,14 +68,6 @@ public class _ChartDataPointProperties extends 
MultiPropertyTest {
 doc.setDiagram(Line);
 }
 
-protected PropertyTester URLTester = new PropertyTester() {
-@Override
-protected Object getNewValue(String propName, Object oldValue)
-throws java.lang.IllegalArgumentException {
-return utils.getFullTestURL("space-metal.jpg");
-}
-};
-
 /**
 * Tests property 'SymbolBitmapURL' using file polibal.gif.
 */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: qadevOOo/tests

2018-05-06 Thread Caolán McNamara
 qadevOOo/tests/java/ifc/chart/_LineDiagram.java |   10 --
 1 file changed, 10 deletions(-)

New commits:
commit ace53eb17c6e2a2e614bb2ff5d99fa5ccfe79358
Author: Caolán McNamara 
Date:   Sun May 6 14:46:45 2018 +0100

coverity#1435436 UrF: Unread field

Change-Id: Ic119dc27d5d0e54a1af5e5acebb13e7fbc85b1f7
Reviewed-on: https://gerrit.libreoffice.org/53913
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/qadevOOo/tests/java/ifc/chart/_LineDiagram.java 
b/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
index aaade8f9bc29..ef48ee877b82 100644
--- a/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
@@ -86,16 +86,6 @@ public class _LineDiagram extends MultiPropertyTest {
 doc.setDiagram(oldDiagram);
 }
 
-protected PropertyTester URLTester = new PropertyTester() {
-@Override
-protected Object getNewValue(String propName, Object oldValue)
-throws java.lang.IllegalArgumentException {
-if (oldValue.equals(util.utils.getFullTestURL("space-metal.jpg")))
-return util.utils.getFullTestURL("crazy-blue.jpg"); else
-return util.utils.getFullTestURL("space-metal.jpg");
-}
-} ;
-
 protected PropertyTester SymbolTester = new PropertyTester() {
 @Override
 protected Object getNewValue(String propName, Object oldValue)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - svx/source vcl/source

2018-05-06 Thread Caolán McNamara
 svx/source/accessibility/svxrectctaccessiblecontext.cxx |8 
 vcl/source/image/ImplImageTree.cxx  |2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit ec3eac9cfeafca69c61ef7b50687a897087f1835
Author: Caolán McNamara 
Date:   Sun May 6 14:59:25 2018 +0100

coverity#1435442 silence Unchecked return value

Change-Id: Ifb8a72f250e20f2932c0c03a4d41c999b85db0a3
Reviewed-on: https://gerrit.libreoffice.org/53916
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/vcl/source/image/ImplImageTree.cxx 
b/vcl/source/image/ImplImageTree.cxx
index 274c4e60f8d2..d48cd3044b07 100644
--- a/vcl/source/image/ImplImageTree.cxx
+++ b/vcl/source/image/ImplImageTree.cxx
@@ -604,7 +604,7 @@ bool ImplImageTree::checkPathAccess()
 
 css::uno::Reference const & 
ImplImageTree::getNameAccess()
 {
-checkPathAccess();
+(void)checkPathAccess();
 return getCurrentIconSet().maNameAccess;
 }
 
commit f0886f4e7654078bd053c8d400b682171aff850b
Author: Caolán McNamara 
Date:   Sun May 6 14:55:44 2018 +0100

coverity#1435443 Arguments in wrong order

and

coverity#1435439 Arguments in wrong order
coverity#1435437 Arguments in wrong order

Change-Id: I8dc4166640613ce25c9d01624d607568e42edac9
Reviewed-on: https://gerrit.libreoffice.org/53915
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx 
b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
index e6c0959d20d3..62ae619a6c00 100644
--- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
@@ -851,7 +851,7 @@ void RectCtlAccessibleContext::FireChildFocus( RectPoint 
eButton )
 Any aOld;
 Any aNew;
 aNew <<= AccessibleStateType::FOCUSED;
-NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, 
aOld);
+NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, 
aNew);
 }
 }
 else
@@ -1545,11 +1545,11 @@ void RectCtlChildAccessibleContext::setStateChecked( 
bool bChecked )
 
 //Send the STATE_CHANGED(Focused) event to accessible
 rMod <<= AccessibleStateType::FOCUSED;
-NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, aOld);
+NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, aNew);
 
 rMod <<= AccessibleStateType::CHECKED;
 
-NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, aOld);
+NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, aNew);
 }
 }
 
@@ -1558,7 +1558,7 @@ void RectCtlChildAccessibleContext::FireFocusEvent()
 Any aOld;
 Any aNew;
 aNew <<= AccessibleStateType::FOCUSED;
-NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, aOld);
+NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, aNew);
 }
 
 IMPLEMENT_FORWARD_XINTERFACE2( RectCtlChildAccessibleContext, 
OAccessibleComponentHelper, OAccessibleHelper_Base_3 )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 117453] FILESAVE Writer crashes trying to save image

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117453

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #3 from raal  ---
I cannot reproduce with Version: 6.1.0.0.alpha1+
Build ID: f8f65d88ede1db197c35be7b0db117c321b0d180
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: [Libreoffice-qa] GSoC project introduction

2018-05-06 Thread Terrence Enger
I am adding QA list to recipients, because I can foresee this work
being useful in the preparation of bug reports.

On Sat, 2018-05-05 at 15:14 +0530, Saurav Chirania wrote:
> *Hello community!I am Saurav, an undergraduate from IIT Dhanbad, India.
> I’ve been selected in this year’s GSoC to work with LibreOffice [1].I’ll be
> working with the UI Testing framework. The first task will be to log the UI
> actions in a log file according to a Domain Specific Language. Then, the
> next task will be to automate the replay of the same actions using the
> generated log file.I am ready with a fresh build of LibreOffice and am
> currently browsing the relevant code parts to get more knowledge about the
> different UI elements and how events work in LibreOffice.The timeline I
> proposed in my GsoC proposal is at [2]. Suggestions regarding prioritising
> of tasks, refining of the timeline or anything else to improve on are
> welcome! You can contact me on the IRC channel #libreoffice-dev (nick:
> chirania) or by sending me an email.Looking forward to an enjoyable
> summer!Regards,Saurav Chirania[1] https://tinyurl.com/yba6cnpc
> [2] https://tinyurl.com/ydgax9vk
> *

Whoopee!

Please let me offer some random thoughts.

I have often been unsure what I did to provoke LO to misbehave:
sometimes my attention was absorbed by actual work I was doing,
sometimes I had given up trying carefully to reproduce a bug report
only to see the bug come up later.  So it would be good if the logging
is cheap enough to use routinely during regular work.

For a couple of reasons, I expect that the log file will not replace
the STR in a bug report: (1) The log file will contain irrelevant
operations, everything from a slip-of-the-fingers corrected promptly
to completely different tasks imposed on the user during the LO
session.  Determination of just which operations are relevant may be
tedious, but confidence that the misbehaviour can be reproduced will
justify much more effort than would mere knowledge that LO misbehaved
once.  (2) Part of the QA process for bug reports involves testing
older LO versions.

From this, I conclude that it is important that the log file be
decipherable.  Indeed, for the preparation of bug reports, the
automated playback is mostly important for proving that the bug is
reproducible, thus motivating the decipherment of the log file.  So,
an easily readable log file is better than one which is hard to read,
but the difference is less important than one might guess.

If the log file is not easily readable, then we would eventually want
a program to express it in user-level terms.  As a hack, this program
might not be quite "easy", but it could be undertaken so that it would
not hold up other work.  Perhaps it could be so specified that
language-level programming knowledge (as opposed to knowledge of LO)
would be sufficient for the task.

Thank you, Saurav, for undertaking this work.  Is there a place where
we can follow your progress?

Terry.
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-bugs] [Bug 117464] New: copy and paste between calc and writer takes 3 seconds

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117464

Bug ID: 117464
   Summary: copy and paste between calc and writer takes 3 seconds
   Product: LibreOffice
   Version: 6.0.0.3 release
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: id22...@yahoo.com

Description:
copy and pasting from calc into writer is extremely slow. It takes about 3
seconds for writer to respond whenever one copies something from calc and then
tries to paste that data into writer.

Steps to Reproduce:
1. open up calc and writer
2. create date in calc and copy it using copy command or ctrl-c
3. select writer and paste your data into it paste command or ctrl-v

Actual Results:  
doing this will demonstrate the bug. It takes about 3 seconds for writer to
respond.

Expected Results:
writer should responds nearly instantly. copy and pasting should only be
limited by the speed of the users hand, unless the data is very large. In this
case data size was less than 1kb.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
https://gerrit.libreoffice.org/gitweb?p=core.git=log=64a0f66915f38c6217de274f0aa8e15618924765


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101
Firefox/59.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117458] Selection doesn't move left nor right by pressing ENTER

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117458

raal  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117463] Create a Dialog that shows up on first boot of Writer/Calc/ Impress for the user to pick its default UI

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117463

--- Comment #3 from Pedro  ---
Created attachment 141942
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141942=edit
WPS UI picker dialog

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117463] Create a Dialog that shows up on first boot of Writer/Calc/ Impress for the user to pick its default UI

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117463

--- Comment #2 from Pedro  ---
Created attachment 141941
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141941=edit
WPS UI picker dialog

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117463] Create a Dialog that shows up on first boot of Writer/Calc/ Impress for the user to pick its default UI

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117463

--- Comment #1 from Pedro  ---
Created attachment 141940
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141940=edit
Softmaker Office UI Picker dialog box

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117463] New: Create a Dialog that shows up on first boot of Writer/ Calc/Impress for the user to pick its default UI

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117463

Bug ID: 117463
   Summary: Create a Dialog that shows up on first boot of
Writer/Calc/Impress for the user to pick its default
UI
   Product: LibreOffice
   Version: 6.1.0.0.alpha1+ Master
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: UI
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: vermelhusco1...@gmail.com

Created attachment 141939
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141939=edit
Proposal 1: Mock-up of a LO UI picker dialog

Considering that currently on the 6.1dev build, the Notebookbar is no longer
experimental and there are several UI options to choose from it would be good
to draw attention of the users to the different UI options they can choose from
in LibreOffice.

There are other Office suites that allow users to pick between mulitple UIs and
they make a better job of drawing user's attention to those UIs: they offer
dialog boxes where the user can preview the different UI options.

Softmaker Office prompts a dialog box the first time a user starts-up the
software to make the user pick the UI of its preference. 

WPS Office, on the other hand, has a button close to the minimize, maximize and
close buttons that allows the user to change the UI.

I propose that LO should prompt a dialog box at the first start-up after
installation of each module with multiple UIs (Writer, Calc and Impress
currently), to allow the user to easily change the UI without having to dig
down into menus just like Softmaker and WPS Office do. Of course, that by doing
this only polished UIs should be available in this dialog box at the beginning.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 115897] LibreOffice 5.4.5 with fcitx-gtk3: open .ods or .xls password protected file, system becomes unresponsive

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115897

--- Comment #6 from kewl.bugzi...@alto.eu.org ---
I have also reported the bug on fcitx side but no progress so far, not sure
what is responsible

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: Assertion Failed!: MSVCP140D.dll , Expression: ploc->_Mbcurmax == 1 || ploc->_Mbcurmax == 2

2018-05-06 Thread himajin100000

more to add:

SHA-256 of MSVCP140D.DLL:
831c4c13bc87604b60d0daa7317edd178ed33517a199cb1fc9c4890d7e9e038a

as I noticed this may be caused by update to Windows 10 ver 1803(build 
17134.1)

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 117283] Can't select a copied shape (form object) from navigator

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117283

Jim Raykowski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||7024

--- Comment #7 from Jim Raykowski  ---
(In reply to Xisco Faulí from comment #5)
> However, I see something different than before, now, when both shapes are
> selected , when moving one, the other is moved as moved as well, it didn't
> happen before...
> Don't know which is the correct behaviour though

Seems to me the correct behaviour is that after the patch. Previous to the
patch, both double click and single click unselect grouped shapes and then
select the clicked shape. Now single click selects the clicked shape and double
click starts move action.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117024] Selecting a form in navigator does not scroll to the page

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117024

Jim Raykowski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||7283

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Assertion Failed!: MSVCP140D.dll , Expression: ploc->_Mbcurmax == 1 || ploc->_Mbcurmax == 2

2018-05-06 Thread himajin100000

Hi, himajin10 here.

Just for explanation(but I'll definitely be very happy if you kindly 
help me.)


I've updated my Visual Studio 2017 Preview to 15.7.0 Preview 6.0 and 
then started to fail to make my own  LibreOffice build with the 
following error.


Debug Assertion Failed!

Program: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
File: f:\dd\vctools\crt\crtw32\stdcpp\xmbtowc.c
Line: 89

Expression: ploc->_Mbcurmax == 1 || ploc->_Mbcurmax == 2
FYI
Through printf-debugging thingy, I now know

the cause is at
https://opengrok.libreoffice.org/xref/core/unotools/source/i18n/resmgr.cxx?r=01f3d849#126
as the code before this is reached and the code after this is not reached.

FYI:
Translate::Create is called at
https://opengrok.libreoffice.org/xref/core/framework/source/fwe/classes/fwkresid.cxx?r=101a79cc#25

FwkResId is called at
https://opengrok.libreoffice.org/xref/core/framework/source/services/desktop.cxx?r=b4d36b5d#117

probably called by
https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appinit.cxx?r=c5ab53e3#197

SfxApplication::Initialize_Impl() is called at
https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/app.cxx?r=00ff4d19#147

SfxApplication::GetOrCreate() is called at
https://opengrok.libreoffice.org/xref/core/svx/source/gengal/gengal.cxx?r=b2147abd#277

when gengal.exe is executed.
===
I'm now freezing in front of the daunting task of understanding how to 
use boost library and under what algorithm it works.I'm just at novice 
level even in C++.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 92423] EDITING Text to columns... does not respect currently selected cells

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92423

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

http://cgit.freedesktop.org/libreoffice/core/commit/?id=30251adb962f55c6486c491691015fc07052d069

uitest for bug tdf#92423 (text to columns)

It will be available in 6.1.0.

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 92423] EDITING Text to columns... does not respect currently selected cells

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92423

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:6.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/tdf92423.py |   75 
 1 file changed, 75 insertions(+)

New commits:
commit 30251adb962f55c6486c491691015fc07052d069
Author: Zdeněk Crhonek 
Date:   Tue Apr 17 16:20:56 2018 +0200

uitest for bug tdf#92423 (text to columns)

Change-Id: I14702eeb60289f772a0cf54e995a420de1368f4c
Reviewed-on: https://gerrit.libreoffice.org/53049
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/tdf92423.py 
b/sc/qa/uitest/calc_tests/tdf92423.py
new file mode 100644
index ..52920ae1799a
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf92423.py
@@ -0,0 +1,75 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+from uitest.debug import sleep
+#Bug 92423 - EDITING Text to columns... does not respect currently selected 
cells
+
+class tdf92423(UITestCase):
+def test_tdf92423_text_to_columns(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+
+#Make sure that tools-options-StarOffice Calc-General-Input 
settings-Show overwrite warning when pasting data is tagged.
+self.ui_test.execute_dialog_through_command(".uno:OptionsTreeDialog")  
#optionsdialog
+xDialogOpt = self.xUITest.getTopFocusWindow()
+
+xPages = xDialogOpt.getChild("pages")
+xWriterEntry = xPages.getChild('3') # Calc
+xWriterEntry.executeAction("EXPAND", tuple())
+xWriterGeneralEntry = xWriterEntry.getChild('0')
+xWriterGeneralEntry.executeAction("SELECT", tuple())  #General 
/ replwarncb
+xreplwarncb = xDialogOpt.getChild("replwarncb")
+if (get_state_as_dict(xreplwarncb)["Selected"]) == "false":
+xreplwarncb.executeAction("CLICK", tuple())
+xOKBtn = xDialogOpt.getChild("ok")
+self.ui_test.close_dialog_through_button(xOKBtn)
+#enter data
+enter_text_to_cell(gridwin, "A1", "1;2")
+enter_text_to_cell(gridwin, "A2", "2;3")
+enter_text_to_cell(gridwin, "A3", "3;4")
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:A3"}))
+#copy data
+self.xUITest.executeCommand(".uno:Copy")
+#move down
+self.xUITest.executeCommand(".uno:GoDown")
+self.xUITest.executeCommand(".uno:GoDown")
+self.xUITest.executeCommand(".uno:GoDown")
+self.xUITest.executeCommand(".uno:GoDown")
+self.xUITest.executeCommand(".uno:GoDown")
+self.xUITest.executeCommand(".uno:GoDown")
+#paste data, should be selected
+self.xUITest.executeCommand(".uno:Paste") #A7:A9
+gridWinState = get_state_as_dict(gridwin)
+self.assertEqual(gridWinState["MarkedArea"], "Sheet1.A7:Sheet1.A9")
+# Data - Text to Columns
+self.ui_test.execute_dialog_through_command(".uno:TextToColumns")
+xDialog = self.xUITest.getTopFocusWindow()
+xSemicolon = xDialog.getChild("semicolon")  #check semicolon checkbox
+if (get_state_as_dict(xSemicolon)["Selected"]) == "false":
+xSemicolon.executeAction("CLICK", tuple())
+# Click Ok
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+
+#Verify
+self.assertEqual(get_cell_by_position(document, 0, 0, 6).getValue(), 1)
+self.assertEqual(get_cell_by_position(document, 0, 0, 7).getValue(), 2)
+self.assertEqual(get_cell_by_position(document, 0, 0, 8).getValue(), 3)
+self.assertEqual(get_cell_by_position(document, 0, 1, 6).getValue(), 2)
+self.assertEqual(get_cell_by_position(document, 0, 1, 7).getValue(), 3)
+self.assertEqual(get_cell_by_position(document, 0, 1, 8).getValue(), 4)
+
+self.ui_test.close_doc()
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 117446] Firebird: Migration: LibO hangs with data type Binary[ VARBINARY] OR Binary(fix)[BINARY] AND image data in hsql database

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117446

Drew Jensen  changed:

   What|Removed |Added

Summary|Firebird: Migration: LibO   |Firebird: Migration: LibO
   |hangs with  data type   |hangs with data type
   |binary[VARBINARY] and image |Binary[VARBINARY] OR
   |data in hsql database   |Binary(fix)[BINARY] AND
   ||image data in hsql database

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117446] Firebird: Migration: LibO hangs with data type binary[ VARBINARY] and image data in hsql database

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117446

--- Comment #3 from Drew Jensen  ---
Created attachment 141938
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141938=edit
Test file using binary(fix)[BINARY]

Data type of Binary(fix)[BINARY] will also cause Libo to become non responsive.

This test file includes one record with data added via an image control.

Output at stdout: (soffice:14582): GLib-CRITICAL **: 14:37:18.825: g_file_test:
assertion 'filename != NULL' failed
malloc(): smallbin double linked list corrupted

If you open the file in hsql mode and delete the record then restart migration
it runs to completion and the fb data type is set as: Text(fix)[CHAR]

Test with build
Version: 6.1.0.0.alpha1+
Build ID: f1579d3d6c5f5f3a651825e035b93bee7a4f43c6
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2018-05-03_10:04:51
Locale: en-US (en_US.UTF-8); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87740
Bug 87740 depends on bug 117329, which changed state.

Bug 117329 Summary: Improve anchor of images
https://bugs.documentfoundation.org/show_bug.cgi?id=117329

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INSUFFICIENTDATA|---

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117329] Improve anchor of images

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117329

Jose  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INSUFFICIENTDATA|---
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117329] Improve anchor of images

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117329

--- Comment #2 from Jose  ---
Thank you, is a partial solution but not perfect. Suppose I have put the anchor
to the paragraph and the configuration to align the picture at the top of the
page. If there is space all work fine, but if the picture and the paragraph do
not fix in the available space it jumps to the next page, leaving the space
without anything. I would like the program to continue writing and put the
photo at the beginning of the next page, as latex does.

But thank you for the comment, it is a partial solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/trackedChanges.py |  125 ++
 1 file changed, 125 insertions(+)

New commits:
commit 709e9bbf89bcf762dee358c77abc7bac825b60e9
Author: Zdeněk Crhonek 
Date:   Thu Apr 12 23:24:50 2018 +0200

uitest Calc tracked changes + tdf#66263

Change-Id: I8a563a0869d7e2208b345b281f2b30d343523a95
Reviewed-on: https://gerrit.libreoffice.org/52803
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/trackedChanges.py 
b/sc/qa/uitest/calc_tests/trackedChanges.py
new file mode 100644
index ..f846159d14c7
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/trackedChanges.py
@@ -0,0 +1,125 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+# tests for tracked changes ; tdf912270
+
+from uitest.framework import UITestCase
+from uitest.debug import sleep
+from libreoffice.calc.document import get_cell_by_position
+import time
+from libreoffice.uno.propertyvalue import mkPropertyValues
+from uitest.uihelper.calc import enter_text_to_cell
+
+class CalcTrackedChanges(UITestCase):
+
+def test_tdf66263_Protect_Records(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+self.xUITest.executeCommand(".uno:TraceChangeMode")
+#protect dialog
+
self.ui_test.execute_dialog_through_command(".uno:ProtectTraceChangeMode")
+xDialog = self.xUITest.getTopFocusWindow()
+xpass = xDialog.getChild("pass1ed")
+xpass.executeAction("TYPE", mkPropertyValues({"TEXT":"a"}))
+xconfirm = xDialog.getChild("confirm1ed")
+xconfirm.executeAction("TYPE", mkPropertyValues({"TEXT":"a"}))
+xOkBtn = xDialog.getChild("ok")
+xOkBtn.executeAction("CLICK", tuple())
+#verify password
+
self.ui_test.execute_dialog_through_command(".uno:ProtectTraceChangeMode")
+xDialog = self.xUITest.getTopFocusWindow()
+xpass = xDialog.getChild("pass1ed")
+xpass.executeAction("TYPE", mkPropertyValues({"TEXT":"a"}))
+xOkBtn = xDialog.getChild("ok")
+xOkBtn.executeAction("CLICK", tuple())
+
+self.ui_test.close_doc()
+
+def test_tracked_changes_accept(self):
+
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#track changes;  enter text to cell
+self.xUITest.executeCommand(".uno:TraceChangeMode")
+enter_text_to_cell(gridwin, "A1", "Test LibreOffice")
+#accept tracked changes
+
self.ui_test.execute_modeless_dialog_through_command(".uno:AcceptChanges")
+xTrackDlg = self.xUITest.getTopFocusWindow()
+xAccBtn = xTrackDlg.getChild("accept")
+xAccBtn.executeAction("CLICK", tuple())
+xCancBtn = xTrackDlg.getChild("close")
+xCancBtn.executeAction("CLICK", tuple())
+
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"Test LibreOffice")
+self.ui_test.close_doc()
+
+def test_tracked_changes_acceptall(self):
+
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#track changes;  enter text to cell
+self.xUITest.executeCommand(".uno:TraceChangeMode")
+enter_text_to_cell(gridwin, "A1", "Test LibreOffice")
+#accept All tracked changes
+
self.ui_test.execute_modeless_dialog_through_command(".uno:AcceptChanges")
+xTrackDlg = self.xUITest.getTopFocusWindow()
+
+xAccBtn = xTrackDlg.getChild("acceptall")
+xAccBtn.executeAction("CLICK", tuple())
+xCancBtn = xTrackDlg.getChild("close")
+xCancBtn.executeAction("CLICK", tuple())
+
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"Test LibreOffice")
+self.ui_test.close_doc()
+
+def test_tracked_changes_reject(self):
+
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#track changes;  enter text to cell
+self.xUITest.executeCommand(".uno:TraceChangeMode")
+enter_text_to_cell(gridwin, "A1", "Test LibreOffice")
+#accept tracked changes
+

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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/sorting.py |  303 +
 1 file changed, 303 insertions(+)

New commits:
commit e2c03006a68cdd9424449eef64fbed68af66dad9
Author: Zdeněk Crhonek 
Date:   Fri Apr 20 15:42:04 2018 +0200

uitest / Calc sort

Change-Id: I3e70dc5b783335cdf30e337200d369b35865d772
Reviewed-on: https://gerrit.libreoffice.org/53214
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/sorting.py 
b/sc/qa/uitest/calc_tests/sorting.py
new file mode 100644
index ..4b56ceea7c5b
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/sorting.py
@@ -0,0 +1,303 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_sheet_from_doc
+from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
+from uitest.debug import sleep
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+#Testcases Sorting TCS_Sorting
+
+class CalcSorting(UITestCase):
+
+def test_Sortingbuttons_detect_columnheaders(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#In column A enter: Number; 3; 4; 6; 2 / In column B enter: Misc; s; 
d; f; g
+enter_text_to_cell(gridwin, "A1", "Number")
+enter_text_to_cell(gridwin, "A2", "3")
+enter_text_to_cell(gridwin, "A3", "4")
+enter_text_to_cell(gridwin, "A4", "6")
+enter_text_to_cell(gridwin, "A5", "2")
+enter_text_to_cell(gridwin, "B1", "Misc")
+enter_text_to_cell(gridwin, "B2", "s")
+enter_text_to_cell(gridwin, "B3", "d")
+enter_text_to_cell(gridwin, "B4", "f")
+enter_text_to_cell(gridwin, "B5", "g")
+#Select cell A3
+gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A3"}))
+#Press toolbarbutton for descending sorting .uno:SortDescending
+self.xUITest.executeCommand(".uno:SortDescending")
+#Verify that cell A1 still contains "Number" and B1 "Misc"
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"Number")
+self.assertEqual(get_cell_by_position(document, 0, 1, 0).getString(), 
"Misc")
+#UNDO
+self.xUITest.executeCommand(".uno:Undo")
+#Select cell B3
+gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "B3"}))
+#Press toolbar button for ascending sorting
+self.xUITest.executeCommand(".uno:SortAscending")
+#Verify that cell A1 still contains "Number" and B1 "Misc"
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"Number")
+self.assertEqual(get_cell_by_position(document, 0, 1, 0).getString(), 
"Misc")
+#UNDO
+self.xUITest.executeCommand(".uno:Undo")
+#Select cell A3
+gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A3"}))
+#Open sort dialog by DATA - SORT /Switch to tabpage Options
+self.ui_test.execute_dialog_through_command(".uno:DataSort")
+xDialog = self.xUITest.getTopFocusWindow()
+xTabs = xDialog.getChild("tabcontrol")
+select_pos(xTabs, "1")
+#Verify that option "Range contains column labels" is set
+xHeader = xDialog.getChild("header")
+self.assertEqual(get_state_as_dict(xHeader)["Selected"], "true")
+#Cancel dialog
+xCanc = xDialog.getChild("cancel")
+self.ui_test.close_dialog_through_button(xCanc)
+#Select Range A1:B5
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:B5"}))
+#Press toolbarbutton for descending sorting
+self.xUITest.executeCommand(".uno:SortDescending")
+#Verify that cell A1 still contains "Number" and B1 "Misc"
+self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"Number")
+self.assertEqual(get_cell_by_position(document, 0, 1, 0).getString(), 
"Misc")
+self.ui_test.close_doc()
+
+def test_Sortingbuttons_list_has_not_columnheaders(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#In column A enter: 5; 3; 4; 6; 2 / In column B 

[Libreoffice-bugs] [Bug 51700] Text to columns puts result into first line if whole column is selected

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=51700

--- Comment #9 from Commit Notification 
 ---
Zdeněk Crhonek committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=9b5c9865d9d193d52e7d728f15ffcb8cfc4d5e4f

uitest for bug tdf#51700

It will be available in 6.1.0.

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51700] Text to columns puts result into first line if whole column is selected

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=51700

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|BSA |BSA target:6.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/tdf51700.py |   55 
 1 file changed, 55 insertions(+)

New commits:
commit 9b5c9865d9d193d52e7d728f15ffcb8cfc4d5e4f
Author: Zdeněk Crhonek 
Date:   Thu Apr 19 19:55:16 2018 +0200

uitest for bug tdf#51700

Change-Id: I2868a5a2abca775b0638fca1b32855c3adebc403
Reviewed-on: https://gerrit.libreoffice.org/53173
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/tdf51700.py 
b/sc/qa/uitest/calc_tests/tdf51700.py
new file mode 100644
index ..ed0cb934d47d
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf51700.py
@@ -0,0 +1,55 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import select_pos
+from uitest.uihelper.calc import enter_text_to_cell
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+#Bug 51700 - Text to columns puts result into first line if whole column is 
selected
+
+class tdf51700(UITestCase):
+def test_tdf51700_text_to_columns(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+
+#Add data
+enter_text_to_cell(gridwin, "A2", "3242,43242,3242,2342")
+enter_text_to_cell(gridwin, "A3", "fdsfa,afsdfa,adfdas,fsad")
+enter_text_to_cell(gridwin, "A4", "21312,,,111")
+#select column A
+gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A1"}))
+self.xUITest.executeCommand(".uno:SelectColumn")
+# Data - Text to Columns
+self.ui_test.execute_dialog_through_command(".uno:TextToColumns")
+xDialog = self.xUITest.getTopFocusWindow()
+xcomma = xDialog.getChild("comma")
+if (get_state_as_dict(xcomma)["Selected"]) == "false":
+xcomma.executeAction("CLICK", tuple())
+# Click Ok
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+
+#Verify
+self.assertEqual(get_cell_by_position(document, 0, 0, 1).getValue(), 
3242)
+self.assertEqual(get_cell_by_position(document, 0, 0, 2).getString(), 
"fdsfa")
+self.assertEqual(get_cell_by_position(document, 0, 0, 3).getValue(), 
21312)
+self.assertEqual(get_cell_by_position(document, 0, 1, 1).getValue(), 
43242)
+self.assertEqual(get_cell_by_position(document, 0, 1, 2).getString(), 
"afsdfa")
+self.assertEqual(get_cell_by_position(document, 0, 1, 3).getValue(), 
)
+self.assertEqual(get_cell_by_position(document, 0, 2, 1).getValue(), 
3242)
+self.assertEqual(get_cell_by_position(document, 0, 2, 2).getString(), 
"adfdas")
+self.assertEqual(get_cell_by_position(document, 0, 2, 3).getValue(), 
)
+self.assertEqual(get_cell_by_position(document, 0, 3, 1).getValue(), 
2342)
+self.assertEqual(get_cell_by_position(document, 0, 3, 2).getString(), 
"fsad")
+self.assertEqual(get_cell_by_position(document, 0, 3, 3).getValue(), 
111)
+
+self.ui_test.close_doc()
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-05-06 Thread Zdeněk Crhonek
 sc/qa/uitest/calc_tests/tdf64001.py |   40 
 1 file changed, 40 insertions(+)

New commits:
commit 90f6876bec3989e3fc8e4f961604c8d00e735eb9
Author: Zdeněk Crhonek 
Date:   Sun Apr 8 15:49:29 2018 +0200

uitest for bug tdf#64001

Change-Id: I7c0c2fbbb918a7ce2269920ce3f8342bf6f32583
Reviewed-on: https://gerrit.libreoffice.org/52599
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/sc/qa/uitest/calc_tests/tdf64001.py 
b/sc/qa/uitest/calc_tests/tdf64001.py
new file mode 100644
index ..4c19f32c9adc
--- /dev/null
+++ b/sc/qa/uitest/calc_tests/tdf64001.py
@@ -0,0 +1,40 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.calc import enter_text_to_cell
+from uitest.debug import sleep
+from libreoffice.calc.document import get_cell_by_position
+from libreoffice.uno.propertyvalue import mkPropertyValues
+
+class tdf64001(UITestCase):
+
+def test_tdf64001(self):
+calc_doc = self.ui_test.create_doc_in_start_center("calc")
+xCalcDoc = self.xUITest.getTopFocusWindow()
+gridwin = xCalcDoc.getChild("grid_window")
+document = self.ui_test.get_component()
+#1) Type TRUE in cell A1
+enter_text_to_cell(gridwin, "A1", "TRUE")
+#2) Autofill/drag A1 to A10, all cells show TRUE
+gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:A10"}))
+self.ui_test.execute_dialog_through_command(".uno:FillSeries")
+xDialog = self.xUITest.getTopFocusWindow()
+xautofill = xDialog.getChild("autofill")
+xautofill.executeAction("CLICK", tuple())
+xOK = xDialog.getChild("ok")
+self.ui_test.close_dialog_through_button(xOK)
+#3) Type FALSE in A11
+enter_text_to_cell(gridwin, "A11", "FALSE")
+#4) Enter in B1: =COUNTIF(A1:A11,TRUE) , hit enter
+enter_text_to_cell(gridwin, "B1", "=COUNTIF(A1:A11,TRUE)")
+#The formula changes to =COUNTIF(A1:A11,1) and displays result of 1 
not 10.
+gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "C1"}))
+self.assertEqual(get_cell_by_position(document, 0, 1, 0).getValue(), 
10)
+self.ui_test.close_doc()
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 117462] FORMATING: Rendering of svg file (LO-Logo) is incorrect and corrupt after rotation

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117462

--- Comment #3 from Micha  ---
Created attachment 141937
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141937=edit
The svg file that is in the presentation

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117462] FORMATING: Rendering of svg file (LO-Logo) is incorrect and corrupt after rotation

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117462

--- Comment #2 from Micha  ---
Created attachment 141936
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141936=edit
Screenshot in presentation mode

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 117462] FORMATING: Rendering of svg file (LO-Logo) is incorrect and corrupt after rotation

2018-05-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117462

Micha  changed:

   What|Removed |Added

 CC||li...@bitmuster.org

--- Comment #1 from Micha  ---
Created attachment 141935
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141935=edit
Presentation that gets rendered corruptly

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


  1   2   3   >