Bug 42535 - Editing UI: Ctrl+Shift-RightArrow faulty extension result
Summary: Editing UI: Ctrl+Shift-RightArrow faulty extension result
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact: QA Administrators
URL:
Whiteboard:
Keywords:
: 62436 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-02 14:18 UTC by David
Modified: 2014-12-18 17:23 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Test document with steps to reproduce inside (12.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-07-24 11:59 UTC, sasha.libreoffice
Details

Description David 2011-11-02 14:18:38 UTC
Context:
in Calc of LO 3.4.3 on WinXP Pro

The cell range L155:AA155 contains empty cells. The cells on either end of that range are filled with numbers.

The cell above L155 contains a formula. In fact all the cells in the row above (cells ...L154:AA156...) contain either a formula or a value.

The task is to copy the formula from L154 to L155, make an edit, extend the range from L155 to AA155, Edit | Fill Right.
 
The keystokes:
In L154: Ctrl+C
Down Arrow: moves to L155
Ctrl+V: paste
Esc: terminate the "dotted border" focus on L154
F2: make the small edit
Enter: terminate the edit
Ctrl+Shift+RightArrow: SHOULD extend to AB156 where it finds the next filled cell in the row.
~~~~~~~~~~~~~~~~~~~~~: ACTUALLY extends selection to a large portion of column L. I originally thought that the faulty extension was to the entire column L.

Mr. Stephan Zeitsman of the User's Help forum subsequently observed:

"I just tried your example (after I posted my reply).  I find that the
selection is actually extended to K1:L155, which means it selects
column K and column L (but not the entire column, only up to row 155).
 This is very strange behaviour, as it actually extends the selection
to the *left*, although I pressed Ctrl + Shift + RightArrow."
 
Workaround
start as above until:
F2: make the small edit
Enter: terminate the edit
RightArrow (once): shift focus from L155 to M155
LeftArrow (once): shift focus from M155 to L155
Ctrl+Shift+RightArrow: SHOULD and DOES extend to AB156 where it finds the next filled cell in the row.
 
I use the M$ Natural Keyboard. The defective behavior results using either of the possible keys for "RightArrow": the 4-keypad "compass set" or the NumberPad (NumLock off).

Mr. Stephan Zeitsman suggested I examine these two existing bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=39212
https://bugs.freedesktop.org/show_bug.cgi?id=37230
 
I slogged through those two. I think my issue is different. I am in no way attempting or expecting my keystroke sequence to intelligently (or foolishly) emulate any behavior I have ever used in M$ Excel. 

So I respectfully report here.
--
David S. Crampton
Comment 1 sasha.libreoffice 2012-04-19 02:45:57 UTC
Thanks for bugreport
Please, attach spreadsheet that demonstrates this problem (where I can do described experiments)
Comment 2 David 2012-05-25 16:57:38 UTC
Sasha,

I have been away for a month. At this time I cannot spend more time on this bug report. I did a lot of detailed writing on it in my first submission. The problem still exists in build 402.  Others have also reported it or similar.  It was not so much spreadsheet specific as I recalled.

Sorry I can't contribute more at this time.
David

-----Original Message-----
From: bugzilla-daemon <bugzilla-daemon@freedesktop.org>
To: dcramptond <dcramptond@netscape.net>
Sent: Thu, Apr 19, 2012 2:46 am
Subject: [Bug 42535] Editing UI: Ctrl+Shift-RightArrow faulty extension result


https://bugs.freedesktop.org/show_bug.cgi?id=42535
sasha.libreoffice@gmail.com changed:
           What    |Removed                     |Added
---------------------------------------------------------------------------
                CC|                            |sasha.libreoffice@gmail.com
--- Comment #1 from sasha.libreoffice@gmail.com 2012-04-19 02:45:57 PDT ---
hanks for bugreport
lease, attach spreadsheet that demonstrates this problem (where I can do
escribed experiments)
Comment 3 QA Administrators 2013-07-18 06:15:55 UTC
Dear Bug Submitter,

Please read the entire message in its entirety before continuing - also please respond directly to FDO when replying - do not reply via email.

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

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

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


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


Warm Regards,
QA Team
Comment 4 David 2013-07-19 14:30:20 UTC
Bug Guys,


In my original submittal, I gave a very precise keystroke sequence that produced the aberrant selection.



I don't understand what more you might need. I see the same (or very similar) behavior in more recent v3.6.6.2.



I just don't have the time nor the focus to revisit that keystroke sequence. If the bug falls off your list so be it.



David



-----Original Message-----
From: bugzilla-daemon <bugzilla-daemon@freedesktop.org>
To: dcramptond <dcramptond@netscape.net>
Sent: Wed, Jul 17, 2013 11:15 pm
Subject: [Bug 42535] Editing UI: Ctrl+Shift-RightArrow faulty extension result


                  
" QA Administrators changed              bug 42535        
             
          
            
What
            
Removed
            
Added
          
         
           
QA Contact
           
                           
           
qa-admin@libreoffice.org           
         

      
        
            Comment # 3              on bug 42535              from " QA Administrators        
Dear Bug Submitter,

Please read the entire message in its entirety before continuing - also please
respond directly to FDO when replying - do not reply via email.

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

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

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


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


Warm Regards,
QA Team
        
            
      You are receiving this mail because:            
          
You reported the bug.
Comment 5 sasha.libreoffice 2013-07-24 11:59:28 UTC
Created attachment 82931 [details]
Test document with steps to reproduce inside
Comment 6 sasha.libreoffice 2013-07-24 12:01:29 UTC
Thanks for reply. Sorry for inconvenience.

I have attached needed document.
Reproduced problem in 4.1.0 on Fedora (RFR) 64 bit
Comment 7 m.a.riosv 2014-05-10 21:03:58 UTC
*** Bug 78534 has been marked as a duplicate of this bug. ***
Comment 8 tmacalp 2014-05-15 03:12:02 UTC
*** Bug 62436 has been marked as a duplicate of this bug. ***
Comment 9 tmacalp 2014-05-15 03:27:28 UTC
As described in bug 62436, this bug seems to stem from all "move to block margin" operations immediately following a paste being wonky.

Essentially, immediately after you paste into a cell, your next select/move to block margin operation(ctrl+arrow or ctrl+shift+arrow) will be erroneously based from cell A1 instead of the real cursor cell.

My test:
1. Start a new spreadsheet
2. Insert a number in A10
3. Select any cell (C15 in this case)
4. Copy (Ctrl-C)
5. Paste into same cell (Ctrl-V)
6. Ctrl+shift+down

Expected:
We were in C15 when we performed the select to block margin action, so ctrl+shift+down should select the range C15:C1048576

Actual:
Selects range A10:C15.  This is because it selects from the cursor cell C15 to the cell ctrl+shift+down'd from A1.  Since in step 2 we inserted a number into A10, it selects the range A10:C15.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.