Let's suppose I highlight cell A12 in Calc (with A1 at the top left corner of the window) and hit cursor down: when scroll lock is disabled I move to A13. When Scroll Lock is on it would be useful if I stayed on A12 and the whole worksheet scrolled up so that A2 would be at the top left corner of the window -- as Excel and Lotus Notes do. In other words, when the Scroll Lock key is activated scroll the entire table when using cursors instead of just moving a cell. FYI, this enhancement request was filed as bug n° 7179 on OOo's bugzilla in 2002 and is still considered as open.
Confirmed. Marking as NEW and Prioritizing: Enhancement: Confirmed Lowest: Just offering a third way to scroll, can already do it with mouse in two ways. Also Scroll Lock is being taken off of a lot of systems/keyboards these days, I actually didn't have it on three systems, had to go ask someone else to check it out
Per a developers input, marked as proposedeasyhack
Code Pointers: ScTabViewShell::KeyInput for the key input event as starting point ScViewData as the class holding the information which area is currently displayed. This should be quite easy, when the event is received call a method in ScViewData that just moves the shown area.
adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility. see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details
Hi, I am a student of FEE CTU.This semester we have a subject called Open Source Programming.So I would like to solve this bug. Sincerely, Tomas.
Hi all, I'm new to LibreOffice and this is what I chose as my first easy hack. Can some one point me to the source files that I must look into.
Best to go to the development mailing list as developers are a bit more responsive in general on the list than on the bug tracker
The scroll lock is not implemented in linux (ubuntu) like in windows. When I press the key under linux the third led is not shining. So I think it's much work to solve this problem both in windows and in linux.
(In reply to comment #8) It's not that the scroll lock key is implemented differently on Ubuntu; it's rather an X11 bug (press Ctrl-Shift-F2 and you'll see that scroll lock works on the console). You may find more information as well as a workaround on <https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/912044>. So when this X11 bug is fixed the problem should be solved for GNU/Linux without any additional work for LibreOffice, and things should work out of the box with Windows anyway. But because of this X11 bug, it would probably be a good idea to test this enhancement request on Windows, indeed.
More than two weeks ago I sent an e-mail to the current assignee of this bug asking if the was still interested in solving it but didn't get an answer; and as there was no input in well over a year, I'm going to reset the assignee field. PS: In my previous message, I wrote that to get a console on GNU/Linux you had to press Ctrl-Shift-F2. This should have been Ctrl-Alt-F2.
Migrating Whiteboard tags to Keywords: (easyHack, difficultyBeginner, skillCpp) [NinjaEdit]
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
The best method to start debugging is ScTabView::MoveCursorKeyInput.
Hello, I would like to work on this feature as my first contribution. Is it ok if I assign myself to it? Jakub Máša
(In reply to Jakub Máša from comment #14) > Hello, > > I would like to work on this feature as my first contribution. Is it ok if I > assign myself to it? > > Jakub Máša Please do, we have made a step by step guide, to help you: https://wiki.documentfoundation.org/Development/GetInvolved have fun jan i
A polite ping, are you still working on this ?
Unassigning due to lack of work.
we want to solve the bug, already assigned to myself
A polite ping, still working on this bug ?
Unassigning. Should you want to continue working on this bug please assign it again
Here is a video how this feature works in Microsoft Excel: https://youtu.be/p-QwdDSrbRk It would be somehow similar to using (alt+) PageUp/PageDown but instead of scroll by whole screen at once, every time you would use your arrow keys when ScreenLock is activated the screen would move only by one cell in the chosen direction. Enabling Scroll Lock functionality would be an elegant and useful enhancement especially if you work with bigger spreadsheets. I've asked about also about this feature on ask.libreoffice.org here: https://ask.libreoffice.org/en/question/76927/missing-scroll-lock-keyboard-key-feature-in-libreoffice-calc/ Wikipedia: https://en.wikipedia.org/wiki/Scroll_lock#Window_scrolling This bug/feature request is open since 14 years now.
(In reply to Markus Mohrhard from comment #13) > The best method to start debugging is ScTabView::MoveCursorKeyInput. All of the events inside this function move the current selected cell by different amounts. We need the function which is called when MouseWheelDown/Up event happens so that the current selected cell remains as it is and only the page moves up & down. Is there a way I can check the functions called when MouseWheelDown/Up event occurs? Or in case you know that function, please mention the same. Till then, I'd keep looking in the related files. Thanks.
I wrote a simple SAL_DEBUG("Testing") immediately inside ScTabView::MoveCursorKeyInput. It is strange that when I run Calc and press the Arrow keys nothing is printed on the console. When I do the same with ScTabView::MoveCursorEnter, which is defined just above, and then press Enter key, "Testing" is printed on console as expected. I'm not sure why ScTabView::MoveCursorKeyInput is not getting called.
Patch for review: https://gerrit.libreoffice.org/#/c/29720/
(In reply to abhilash300singh from comment #24) > Patch for review: > > https://gerrit.libreoffice.org/#/c/29720/ A polite ping still working on this bug ?
Abhilash Singh committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=453de3473cf6f383c71466a1ed15e28b844ed7e5 tdf#46200 Use the Scroll Lock key as a toggling lock key like Excel It will be available in 5.3.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.
(In reply to Commit Notification from comment #26) > Abhilash Singh committed a patch related to this issue. > It has been pushed to "master": Hi Abhialsh, Do I need to do some special setting to use the arrow keys in Calc as I'm used to? Arrow left/right do not work. Arrow up/down scroll. Scroll Lock (Fn-F12 on my key board) does not help. Version: 5.3.0.0.alpha1+ Build ID: 0af30952982767543cddd0b1ce643cb8d5c253a2 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; Layout Engine: new; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-11-11_23:43:27 Locale: nl-NL (nl_NL.UTF-8); Calc: group
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d38459355e3e845ad8db3c515536267923afe3ec accidentally kept always scroll test enabled.. tdf#46200 follow-up It will be available in 5.3.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.
(In reply to Cor Nouws from comment #27) > Do I need to do some special setting to use the arrow keys in Calc as I'm > used to? > Arrow left/right do not work. Arrow up/down scroll. Use the next build that includes my fix, I accidentally left the "always scroll" test mode enabled when committing an amended patch. Sorry for fuzz.
> Do I need to do some special setting to use the arrow keys in Calc as I'm > used to? > Arrow left/right do not work. Arrow up/down scroll. > Scroll Lock (Fn-F12 on my key board) does not help. I forgot to mention, but this only works on my Ubuntu 16.04 machine after I enter this command in console - xmodmap -e 'add mod3 = Scroll_Lock' I think I did it after reading this answer - http://askubuntu.com/questions/127167/how-do-i-enable-scroll-lock Besides my keyboard has a dedicated ScrollLock key, if that makes any difference. Also, things run fine without any intervention on Windows 10.
Please add settings to enable this functional. And disable this by default settings.
(In reply to abhilash300singh from comment #30) > I forgot to mention, but this only works on my Ubuntu 16.04 machine after I > enter this command in console - xmodmap -e 'add mod3 = Scroll_Lock' thanks for link and fix - works nicely! Cor
(In reply to JohnDoe_71Rus from comment #31) > Please add settings to enable this functional. And disable this by default > settings. Hi - can you please open a new issue - enhancement request for that and mention it here? And try to be clear in what/how you mean with "settings to enable this functional" thanks