| Summary: | Create absolute sheet references instead of relative when clicking while building formulas | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Ady <ady-sf> |
| Component: | Calc | Assignee: | Eike Rathke <erack> |
| Status: | VERIFIED FIXED | ||
| Severity: | enhancement | CC: | erack, miguelangelrv, suokunlong |
| Priority: | medium | ||
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:5.4.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108917 | ||
|
Description
Ady
2015-04-23 05:38:30 UTC
Might make sense to change creation of sheet references to absolute because that is what users are used to from other spreadsheet programs. I'm against yet another option to change the default though.. However, changing that should only be done individually at places where references are automatically created when clicking with the mouse or similar. FWIW, there have been attempts to report this "unexpected" behavior in the past, and users that are used to the "expected" (as seen in other spreadsheet programs) behavior are having troubles identifying the real issue. This is especially relevant for users of other (popular) spreadsheet programs in which the default references to sheets are always absolute, not relative.
Such "old" users are seeing the problem when using the "copy/move sheet..." task. Under such situation, the resulting new (pasted) sheet has several "REF!" errors, so "old" users of other spreadsheet programs tend to think that the problem is with the "copy sheet" task itself, or with the formula not being copied "as expected". The _relative_ reference default behavior usually escapes the initial evaluation for these "old" users.
The "REF!" result is only one (evident) case. Some users (coming from other spreadsheet programs) would expect that copy+pasting a sheet would result in an "exact copy" (as with absolute references to sheets), and some users are unaware that the result is actually not an exact copy but a "relative" one.
The situation can be even more complex when copying sheets to other documents (as oppose to copying sheets inside the same workbook), as the position of the sheet can modify the whole result, and this situation is unexpected by unaware ("old") users.
What these "old" users don't realize at that moment is that what is really different is the "references to sheets" behavior (besides the fact that there is such a thing as relative references to sheets, they are the default ones in Calc), as I described in the initial description. Therefore, forum posts and alike are sometimes "answered" but "old" users cannot understand what's really "wrong".
Moreover, bug reports about this matter are recurrently being opened, but the reports are frequently misunderstood (mutually, by the initial reporter and by those who try to answer). One such example is bug #85538 <https://bugs.documentfoundation.org/show_bug.cgi?id=85538>.
I have had my own "REF!" experiences because of this "relative references to sheets as default" behavior, which is unexpected by users of other spreadsheet programs, who have been used to a different behavior (i.e. "absolute references to sheets as default behavior") for about 2 decades.
Replicating in other spreadsheet programs the 2 procedures I described in my initial description should help clarify the "expected" behavior regarding "references to sheets" and "references to cells in other sheets".
One thing that could also help users (in addition to this suggested change in behavior): adding and clarifying the Help information about relative references to sheets. In some other (popular) spreadsheet programs, an expression starting with "=Sheet1..." is treated as an absolute reference to "Sheet1", whereas in Calc such expression is by default a relative reference to "Sheet1", requiring the "$" symbol for it to be interpreted as absolute reference ("=$Sheet=...).
Having the possibility to choose between relative and absolute references to sheets is indeed useful. We ("old" users, or at least par tof them) just need an adjustment in the default behavior in Calc so to make its usage slightly more familiar to what we have been used to for 2 decades. (Note though, that there are some spreadsheet programs other than Calc that do include the possibility of relative references to worksheets.)
Whether with a new setting option, or with a new default behavior (or even without changing anything), the behavior in Calc needs to be much more clearly documented and published, so to not affect / confuse users coming from other spreadsheet programs, neither Calc users that might (only) be used to the current behavior.
I have been working with 123 since 1982 and it doesn't add an absolute sheet reference selecting with mouse. And as I remember Lotus-Symphony or the old Quattro Pro do the same. IMO not a bug, at most a request for ¿enhancement?. I'm sorry but many times we tend to think, that what it's fine for us, it`s fine for everybody, unfortunately much of the times not true. (In reply to m.a.riosv from comment #3) > I have been working with 123 since 1982 and it doesn't add an absolute sheet > reference selecting with mouse. And as I remember Lotus-Symphony or the old > Quattro Pro do the same. Quoting from my prior comments: "Note though, that there are some spreadsheet programs other than Calc that do include the possibility of relative references to worksheets." So indeed, the behavior is not problematic for everyone. And yet, the massive popularity of certain specific spreadsheet programs (far more than any other) makes the current default behavior a problem for a relevant amount of users. It takes (a lot of) time for a relevant amount of users to understand why certain complex worksheets they are building in Calc are not working as they expected (aka. "as they are used to"). For these users, it is not just a matter of adapting their usage to new / different ways of doing things. It is a first matter of having difficulty understanding the reasons why their formulas are failing after copy+pasting a sheet (only _then_ to start adapting their usage methods and their formulas). It is not a surprise that the issue comes back again and again in forums, lists, bug reports and other channels. Now, as I already said, there are advantages of having the possibility of relative references to sheets, and some programs other than Calc also use them (not necessarily in the same way as Calc does). This is why I mentioned an alternative possibility: providing a setting / option for the user to select the preferred behavior. Whichever the case, the behavior and usage of references to worksheets really needs more publicity / Help info, not only to help users in transitioning and converting their spreadsheet documents into Calc's native format, but also to promote this advantage feature of Calc in comparison to some other (popular) programs. > > IMO not a bug, at most a request for ¿enhancement?. Quoting from my prior comments: "but it is not a complete "bug", although close to it :)" When I open a report, I tend not to set the level / type of report by myself (I leave this to the developers); just as it would be inappropriate for some other reporter to set a level of "highly critical" (:-O) to his own report. If the resolution is to add more Help information and nothing else, it would help some users. If the resolution would be to change the current behavior, a relevant group of users would see it as an enhancement. If the resolution would be to add optional settings for users to be able to choose their default behavior, it would certainly be an enhancement. Whichever the case, there is currently a certain behavior. To some users, it is somewhat a problem. I agree it is not exactly a bug in the sense of a "crash" is, but the current behavior (and its related feature of relative references to sheets) can result in "incorrect copy+paste" (in the sense that the result is not the expected one for many users, and there is no easy way for them to notice it, especially in complex workbooks with multiple sheets). > > I'm sorry but many times we tend to think, that what it's fine for us, it`s > fine for everybody, unfortunately much of the times not true. I opened this report based on recurrent forum topics and similar questions, and even recurrent "bug reports", in addition to my own "bad experiences" with the matter. I am not saying that everyone should work in a certain way, and I am certainly not saying that "my way is the best and only valid way". I already mentioned that there are advantages of relative references being available in Calc. All I am saying is: It is a behavior that is causing (recurrent) confusion to more-than-a-few users, and I think it deserves some attention and potential modifications / improvements. ** 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 on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) 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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920 Still relevant as of version 5.1.5.2. I have not tested it in 5.2.x. *** Bug 107257 has been marked as a duplicate of this bug. *** Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca8f4a66e44aed731646066241cf2225bb9f8c2a Resolves: tdf#90799 generate absolute sheet for pointer-selected references It will be available in 5.4.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. Verified fixed on master. Any plan to backport on 5.3 branch, as this is a very important feature? Version: 5.4.0.0.alpha0+ Build ID: d11746a8f4dfa443a404add08ff8bfe51590c607 CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; VCL: kde4; Locale: zh-CN (zh_CN.UTF-8); Calc: group |