I recently installed LibreOffice 3.5 on my wife's new macbook air running Lion, which does not have Java installed by default. Whenever she would cut and paste, she would be prompted to install Java, for some reason I don't quite understand. In any case, unchecking "Use a java runtime environment" from options seems to have fixed the issue. I understand there are some parts of LibreOffice which use Java. I guess it's ok to prompt if they're being activated. I don't think that's the case here though. The behaviour I would expect is that a user who is just using the basics of writer should never be asked to install software which is not necessary to the task at hand (cutting and pasting). Not sure the best way of accomplishing that -- maybe making "use a java runtime" option false if no java runtime is installed?
Thank you very much for your bug report! I completely agree with you that the behaviour of LibreOffice you describe is annyoing and needs to be fixed (Java installation and activation should not be necessary for a simple thing like cut/copy/paste). This issue is more or less REPRODUCIBLE with * LibreOffice 3.5.6.2 (Build ID: e0fbe70-dcba98b-297ab39-994e618-0f858f0) and * LibreOffice 3.6.1.1 (Build ID: 4db6344), both on MacOS X 10.6.8 (Intel), with German langpack installed. My steps: 1) disable the Java VM completely (on MacOS X 10.6.x, this is done via starting Applications/Utilities/Java Setup.app, selecting tab "General", and unchecking all checkboxes); 2) start LibreOffice; 3) open any Writer document; 4) select some character(s) or words; 5) select "Edit > Copy" or "Edit > Cut" from the menu, or press Command+C or Command+X; -> the alert box visible in attachment 65728 [details] appears. Two observations: (i) Interesting enough, this happens only once; i.e., after the 1st time the alert box appears, I can copy/paste several times without the box reappearing. Only when I quit LibreOffie and restart it, the next time I try to cut/copy any text, the alert appears again. This is a little difference to the original description (comment #0) which says "_Whenever_ she would cut and paste [...]". (ii) Unchecking "Use a java runtime environment" in the LibreOffice application preferences (section "LibreOffice" > "Java") does not really fix the issue for me, it just changes the behaviour: on my first attempt to cut/copy any text after starting LibreOffice, another alert box appears (visible in attachment 65729 [details]) which allows to choose between "Yes", "No", and "Cancel"; if I press "No", I can continue working (incl. cut and copy of text) without any alert, until I restart LibreOffice. @William Lachance: To make sure that we see exactly the same issue, could you please check (if possible) if you can confirm my two little observations above (i.e. (i): the alert appears only on the first attempt to copy/paste text after starting LibreOffice; (ii) unchecking "Use a java runtime environment" in the application preferences does not fix the issue completely, it just changes the kind of alert which appears), or if you really see the alert box every time you try to cut/copy any text. Just describe your results in an additional comment on this page (https://bugs.freedesktop.org/show_bug.cgi?id=51036, click "Add Comment"). Thank you very much in advance!
Because we did not get an answer in my question in comment #1 yet, I set the status of this bug to NEW anyway (because it *is* reproducible, see comment #1), to prevent that it gets closed because of the missing answer. @William Lachance: It would be still be helpful if you could try to get back to us and answer my question in comment #1. Thank you very much!
** 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 (4.3.5 or later): 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) Thank you for your help! -- The LibreOffice QA Team
There appears to be no way to test this behaviour on OSX 10.10 other than by removing Java from the file system, as the option to switch off Java via the Utilities > Java setup dialog was removed when Apple abandoned its own version of Java for the one provided by Oracle. Note that the problem originally manifested itself on OSX 10.6 and 10.7 for which LO 4.3.x versions are the last that will supported for these OSes. As LO 4.4 is 64bit only, the test parameters of the original bug report can not be met. Additionally, my understanding is that LO now requires both Apple Java for OSX and Oracle Java > 1.7 to be present, see bug 74877, and bug 89695, so testing this without a JDK/JVM even just by opening a Writer document is guaranteed to provoke a "missing Java" error
I would be inclined to set this as wontfix in line with bug 74877
** 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.0.5 or 5.1.2 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 your help! -- The LibreOffice QA Team This NEW Message was generated on: 2016-04-16
Just uninstalled Java and this works for me Version: 5.2.3.3 Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf CPU Threads: 2; OS Version: Mac OS X 10.12; UI Render: default; Locale: en-US (en_NO.UTF-8); Calc: group