Bug 98722 - EDITING: Page View jumps uncontrolled when doubleckicking an embedded Calc-table
Summary: EDITING: Page View jumps uncontrolled when doubleckicking an embedded Calc-table
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.5.2 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-View-Jumps Calc-Embedded
  Show dependency treegraph
 
Reported: 2016-03-17 12:00 UTC by Andreas
Modified: 2021-10-04 15:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example to show the view-bug as described (166.16 KB, application/vnd.oasis.opendocument.text)
2016-03-17 12:00 UTC, Andreas
Details
screenshot showing the calc table in writer (69.11 KB, image/png)
2016-03-17 16:13 UTC, Usama
Details
screenshot before doubleclick (157.82 KB, image/png)
2016-03-17 16:28 UTC, Andreas
Details
screenshot after doubleclick (162.70 KB, image/png)
2016-03-17 16:29 UTC, Andreas
Details
Screen-Video with behaviour (5.36 MB, video/mp4)
2019-10-04 07:30 UTC, Andreas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2016-03-17 12:00:33 UTC
Created attachment 123656 [details]
Example to show the view-bug as described

This happens ONLY when the View Mode in Writer is in "columns"-mode, so that more than one page is visible side by side. In this View Mode the displayed page (with the cursor) "jumps" out of the displayed range (screen), when you doublecklick on an embedded calc-table. To see this, you have to make a longer document with a few embedded calc-tables on different pages. Scroll one table into wiew an doublecklick it (to open it). The clicked table jumps out of view then! Attached is an example document.
Comment 1 Usama 2016-03-17 16:13:17 UTC
Created attachment 123665 [details]
screenshot showing the calc table in writer

Hello Andreas, Thank you for reporting the bug. 

Could you please attach a screenshot showing the problem?
I've tested it on LO 5.0.5 Ubuntu 15.10 and 5.2.0 Alpha Windows 7. and did not notice what you described.

I attached a screenshot showing what I see.

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 2 Andreas 2016-03-17 16:27:43 UTC
(In reply to Usama from comment #1)
> Created attachment 123665 [details]
> screenshot showing the calc table in writer
> 
> Hello Andreas, Thank you for reporting the bug. 
> 
> Could you please attach a screenshot showing the problem?
> I've tested it on LO 5.0.5 Ubuntu 15.10 and 5.2.0 Alpha Windows 7. and did
> not notice what you described.
> 
> I attached a screenshot showing what I see.
> 
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' once the requested document is provided.

Hello, 

thanks for the quick reply. I attached two screenshots. "clip1.png" shows my screen after I open the same document and scroll to the same table as in your screenshot. "clip2.png" shows my screen right after i doubleclick on the same table as in your screen (left top). As you can see, the layout has changed and the focused table is not on the screen any more. The table is in fact opened but i have to scroll to the correct position to see and to work with it. What i just realise is, that the layout changes from "two pages side by side" to "three pages side by side" every time i do a doublecklick on an calc-table! Maybe this is the core of the problem?
Comment 3 Andreas 2016-03-17 16:28:40 UTC
Created attachment 123666 [details]
screenshot before doubleclick
Comment 4 Andreas 2016-03-17 16:29:01 UTC
Created attachment 123667 [details]
screenshot after doubleclick
Comment 5 Andreas 2016-03-17 16:31:11 UTC
Additional info:
I have this behaviour is on three different computers, two with Windows 7 and one with Windows 10.
Comment 6 Usama 2016-03-21 19:53:35 UTC
I think I reached to some of what you described.

This what I've tried:
1. In sample file, chose multiple page views from the status bar (icon with two pages)
2. try to zoom out the file so you have free space around the document as in the screenshot
3. have the sidebar opened.
4. double click on the embedded table

The table will stay in it's place but the view will become 3 pages in row instead of 2.

is that what you are describing or you have the additional problem of the table moving to another part of the document?

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 7 Andreas 2016-03-22 08:09:12 UTC
Hello Usama,

Yes, you are right. I have the additional problem, that the table (almost) allways moves out of viwe when the layout is (unwantedly) changed from two columns to three columns. My screenshots show the behaviour very clear. so i can not provide more info in the moment. Between my two screenshots is nothing but the doubleclick, so i do not scroll anywhere! Before the Click, tbale is in view, after the click, layout changes to three columns (as you have also also described!) AND my table is out of view! (Sometimes the table is in view, but I have not discovered any rule for that...)

Andreas
Comment 8 Andreas 2016-03-22 08:36:49 UTC
Hi,

I have made some more experiments. The problem only occurs, when the sidebar is on and visible. When the table is opened, the sidebar is here switched off (disappears or is smaller, becaus I have no sidebar open for tables). Then the page layout is recalculated and due to the additional space (sidebar) toggled to three pages in a row. This change of layout causes the table to be moved out of view in a lot of cases. 

The problem does not occur, when sidebars are off OR sidebars are same size for tables _and_ for the rest of the document. 

It seem for me, that the calculation for the view of pages is not allways correct after the change of layout and should be revised.

Andreas
Comment 9 Buovjaga 2016-03-31 10:40:39 UTC
NEW per comment 6.

Could not repro myself.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 15b53976e5d119877e53f34b34cee33a5f2883fd
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-03-22_23:57:30
Locale: fi-FI (fi_FI)
Comment 10 QA Administrators 2017-05-22 13:19:57 UTC Comment hidden (obsolete)
Comment 11 Andreas 2017-05-22 13:34:21 UTC
The Bug is still there. Multiple Pages in the view AND the Sidebar open leads to uncontrolled layout-changes ("jumps") when opening an embeded Calc-Table with doubleclick. Can reproduce it with 5.3.
Comment 12 QA Administrators 2018-05-23 02:37:56 UTC Comment hidden (obsolete)
Comment 13 Andreas 2018-05-23 05:30:37 UTC
The described behaviour is still there. I try to explain again:

1. Open larger Documen.t (more than five pages)
2. Activate "column mode" with pages side by side.
3. Activate the Sidebar for embedded calc-tables and no sidebar for the rest of the document.
4. When double-clicking on the calc-table, the sidebar opens and the layout of the pages ist changed, due to the sidebar.
5. The opened calc-table is now out of view, somtimes many pages. (=not seen on the screen)
6. To work on the opened table, it mus be scrolled into view, which is disturbing.

It should be possible to calculate the layout of the pages in that way, that the opened calc-table stays visible on the screen. I consider this a bug.
Comment 14 QA Administrators 2019-10-04 03:05:03 UTC Comment hidden (obsolete)
Comment 15 Andreas 2019-10-04 07:30:47 UTC
Created attachment 154746 [details]
Screen-Video with behaviour

The bug is still present. I attached a small video with the behaviour. You see a document which is displayed in three columns. A doubleclick on the selected table opens the sidebar (that is the behavior for tables in my document)and the layout is changed to two columns becaus of the sidebar. Everything is fine to this point. But now the page with the selected table is not visible any more! The page is out of view and i have to search the selected table. I consider this a bug. The selected table should be visible after the chang of the displayed layout.
Comment 16 Andreas 2019-10-04 07:35:54 UTC
Additional Info to my previous post:
Version was Version: 6.3.2.2 (x64)
Comment 17 QA Administrators 2021-10-04 03:46:02 UTC Comment hidden (obsolete)
Comment 18 Andreas 2021-10-04 06:01:28 UTC
Semms that the "wrong" behaviour (display of wrong page/view when sidebar/navigator pops up during activating embedded calc-table) is fixed. I can not reproduce it any more with the newest version of libreoffice. The view is now consistent (table stays in view) when the navigator/sidebar pops up.