Bug 143618 - LibreOffice Calc do not show imported data preview importing unformated text (KDE only?)
Summary: LibreOffice Calc do not show imported data preview importing unformated text ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KDE, KF5
  Show dependency treegraph
 
Reported: 2021-07-30 07:28 UTC by Jiří Rohlíček
Modified: 2023-02-20 06:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the Im[port window (108.07 KB, image/png)
2021-07-30 07:29 UTC, Jiří Rohlíček
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiří Rohlíček 2021-07-30 07:28:08 UTC
Description:
After last update 7.0.6.2 LibreOffice Calc the import wizzard does not display imported data to setup division to columns.
The same problem is using function Data Text to Columns

Steps to Reproduce:
1. get some text to clipboard 
2. paste to sheet as "Unformated text"
   same using paste special "Use text import dialog"
3.

Actual Results:
The import window pops-up, but the field to display imported text is clear

Expected Results:
The import window has to show imported data to be able to set up rules to divide the text to columns.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Will upload screenshot
Comment 1 Jiří Rohlíček 2021-07-30 07:29:53 UTC
Created attachment 173960 [details]
Screenshot of the Im[port window
Comment 2 Jiří Rohlíček 2021-07-30 07:46:56 UTC
Raising the Text Import popup get errors in  messages:
Jul 30 09:43:12 houska2 soffice.bin[162759]: QPainter::begin: Paint device returned engine == 0, type: 3
Jul 30 09:43:12 houska2 soffice.bin[162759]: QPainter::save: Painter not active
Jul 30 09:43:12 houska2 soffice.bin[162759]: QPainter::setPen: Painter not active
Jul 30 09:43:12 houska2 soffice.bin[162759]: QPainter::setBrush: Painter not active
Jul 30 09:43:12 houska2 soffice.bin[162759]: QPainter::drawRects: Painter not active
Jul 30 09:43:12 houska2 soffice.bin[162759]: QPainter::restore: Unbalanced save/restore
Jul 30 09:43:14 houska2 soffice.bin[162759]: QPainter::begin: Paint device returned engine == 0, type: 3
Jul 30 09:43:14 houska2 soffice.bin[162759]: QPainter::save: Painter not active
Jul 30 09:43:14 houska2 soffice.bin[162759]: QPainter::setPen: Painter not active
Jul 30 09:43:14 houska2 soffice.bin[162759]: QPainter::setBrush: Painter not active
Jul 30 09:43:14 houska2 soffice.bin[162759]: QPainter::drawRects: Painter not active
Jul 30 09:43:14 houska2 soffice.bin[162759]: QPainter::restore: Unbalanced save/restore
Jul 30 09:43:28 houska2 soffice.bin[162759]: QPainter::begin: Paint device returned engine == 0, type: 3
Jul 30 09:43:28 houska2 soffice.bin[162759]: QPainter::save: Painter not active
Jul 30 09:43:28 houska2 soffice.bin[162759]: QPainter::setPen: Painter not active
Jul 30 09:43:28 houska2 soffice.bin[162759]: QPainter::setBrush: Painter not active
Jul 30 09:43:28 houska2 soffice.bin[162759]: QPainter::drawRects: Painter not active
Jul 30 09:43:28 houska2 soffice.bin[162759]: QPainter::restore: Unbalanced save/restore
Jul 30 09:46:26 houska2 soffice.bin[162759]: QPainter::begin: Paint device returned engine == 0, type: 3
Jul 30 09:46:26 houska2 soffice.bin[162759]: QPainter::save: Painter not active
Jul 30 09:46:26 houska2 soffice.bin[162759]: QPainter::setPen: Painter not active
Jul 30 09:46:26 houska2 soffice.bin[162759]: QPainter::setBrush: Painter not active
Jul 30 09:46:26 houska2 soffice.bin[162759]: QPainter::drawRects: Painter not active
Jul 30 09:46:26 houska2 soffice.bin[162759]: QPainter::restore: Unbalanced save/restore
Comment 3 Eleonora Govallo 2021-07-30 17:28:59 UTC
No repro in Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 1dd4a80fa076bedb3a82821517036bad8dd79857
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-26_22:41:19
Calc: threaded

Please update your office to the latest version and try to reproduce the bug.
Comment 4 Jiří Rohlíček 2021-07-31 13:49:44 UTC
Hello,

installed LibreOffice_7.1.5.2_Linux_x86-64 from 
wget https://download.documentfoundation.org/libreoffice/stable/7.1.5/rpm/x86_64/LibreOffice_7.1.5_Linux_x86-64_rpm.tar.gz
Problem reproduced.

Jiri Rohlicek
--- tail /var/log/messages
Jul 31 15:44:16 houska2 systemd[3666]: Started LibreOffice 7.1 Calc - Spreadsheet.
Jul 31 15:44:17 houska2 kwin_x11[4409]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15972, resource id: 150994950, major code: 18 (ChangeProperty), minor code: 0
Jul 31 15:44:18 houska2 kwin_x11[4409]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 17200, resource id: 132120577, major code: 15 (QueryTree), minor code: 0
Jul 31 15:44:20 houska2 kwin_x11[4409]: kwin_core: XCB error: 152 (BadDamage), sequence: 21835, resource id: 16005377, major code: 143 (DAMAGE), minor code: 2 (Destroy)
Jul 31 15:45:15 houska2 kwin_x11[4409]: kwin_core: XCB error: 152 (BadDamage), sequence: 41449, resource id: 16010974, major code: 143 (DAMAGE), minor code: 2 (Destroy)
Jul 31 15:45:19 houska2 kwin_x11[4409]: kwin_core: XCB error: 152 (BadDamage), sequence: 48436, resource id: 16011261, major code: 143 (DAMAGE), minor code: 2 (Destroy)
Jul 31 15:45:19 houska2 kwin_x11[4409]: kwin_core: XCB error: 152 (BadDamage), sequence: 48439, resource id: 16011103, major code: 143 (DAMAGE), minor code: 2 (Destroy)
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::begin: Paint device returned engine == 0, type: 3
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::save: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::setPen: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::setBrush: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::drawRects: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::restore: Unbalanced save/restore
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::begin: Paint device returned engine == 0, type: 3
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::save: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::setPen: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::setBrush: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::drawRects: Painter not active
Jul 31 15:45:26 houska2 soffice.bin[379576]: QPainter::restore: Unbalanced save/restore
Comment 5 Roman Kuznetsov 2021-07-31 14:53:57 UTC
No rerpo in

Version: 7.1.5.2 / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: CL

Please write info from your LibreOffice's Help-About dialog
Comment 6 Jiří Rohlíček 2021-07-31 18:46:08 UTC
Version: 7.1.5.2 / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 4; OS: Linux 5.12; UI render: default; VCL: kf5
Locale: cs-CZ (C); UI: en-US
Calc: threaded
Comment 7 Jiří Rohlíček 2022-03-06 09:04:34 UTC
I reinstalled LibreOffice to Version: 7.2.5.2 / LibreOffice Community
Still the same problem with same error messages:
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::save: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
...

But, if I run the Office Calc as root, no error messages appear and the import wizzard is displayed OK.

I am currently on Fedora release 34 (Thirty Four) with plasma-desktop-5.22.5.
Comment 8 Jiří Rohlíček 2022-03-06 09:05:40 UTC
Version: 7.2.5.2 / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 4; OS: Linux 5.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 9 Jan-Marek Glogowski 2022-04-08 16:32:00 UTC
(In reply to Jiří Rohlíček from comment #8)
> Version: 7.2.5.2 / LibreOffice Community
> Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
> CPU threads: 4; OS: Linux 5.12; UI render: default; VCL: gtk3
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded

This uses the gtk3 backend, so there shouldn't be any QPainter error messages. And you shouldn't run any GUI programs as root.

Please check that you have the kde integration package installed. "VCL:" should show something like kf5 (cairo+x11).
Comment 10 Jiří Rohlíček 2022-04-11 09:23:11 UTC
I reinstalled the 7.2.5.2 version again and Import Wizzard is now OK.
--
Version: 7.2.5.2 / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 4; OS: Linux 5.12; UI render: default; VCL: kf5 (cairo+xcb)
Locale: cs-CZ (C); UI: en-US
Calc: threaded
--
Probably my fault.
Thank for help.