Ask Your Question

SERIOUS WARNING! "Close" button acts as "OK".

asked 2015-03-17 15:22:02 +0100

LibreGuy gravatar image

updated 2015-08-28 13:35:34 +0100

Alex Kemp gravatar image

I am using the latest version of LO and noticed some very strange (and dangerous) behavior.

In some occasions (I didn't try them all of course) pressing the "close" button of a pop-up box, has the same result as clicking the "OK" button.

For example, I wanted to delete a template. By mistake I selected the wrong template, so I closed the pop-up box (by pressing the little cross). Instead of aborting the operation (normal behavior) my template got deleted (as if I had pressed the "OK" button). So gone was my template. I tried to repeat this behavior and the exact same thing happened.

Another example. Create a new style. Now modify this style by changing the background color to, for example, red. Do NOT click the "OK" button, but instead click the "close" button (the little cross). Now try modifying your style again ... surprise surprise, you will notice that your background color has been saved, while you didn't press the "OK" button.

This is a serious warning, because it can cause unexpected behavior. In my case I unintentionally threw away a template.

edit retag flag offensive close merge delete


I cannot reproduce either of the described situations with LO on Ubuntu Gnome 14.10. Can you describe which LO version and what operating system you have?

Nicd gravatar imageNicd ( 2015-03-17 15:46:46 +0100 )edit

I am using version (the latest version) on Windows 7.

LibreGuy gravatar imageLibreGuy ( 2015-03-17 15:54:15 +0100 )edit

I also cannot reproduce on LO4.4 on Linux

BTW: why did you use [x]close -button instead the obvious cancel-button ??

karolus gravatar imagekarolus ( 2015-03-20 07:07:14 +0100 )edit

Because normally they have the exact same behavior. Closing a dialog box or cancelling an action do normally both have the same result: abort the current operation. Which button you press is a matter of personal choice actually. Sometimes I press cancel, sometimes I press close. There is no specific reason to click one of them.

LibreGuy gravatar imageLibreGuy ( 2015-03-20 15:09:27 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-03-17 17:10:32 +0100

pierre-yves samyn gravatar image

updated 2015-03-19 07:38:20 +0100


I reproduce with windows 7 & Version: Build ID: b5ac74bf8683a92078a2bc8aff97d4b436af63cb Locale: fr_FR

First Issue: In Writer, Calc... (not from the Start Center of course)

  1. File> Templates> Manage
  2. Click to select the template
  3. Click "Delete" in the toolbar. Expected & actual result: dialog opens "Do you want to delete..."
  4. Close the dialog with the cross (not "Yes", not "No" buttons).

Expected: deletion is canceled Actual result: template deleted

Second Issue

  1. File New Text
  2. Right click "Default Style" in the "Styles & formatting" panel of the sidebar then New
  3. Organize tab, replace "Untitled1" by what you want (e.g. Foo)
  4. Change tab (e.g. click Indents & Spacing). We can see that the name of the new style is already in the list
  5. Close the dialog with the cross: style remains.
  6. Right click the "foo" style, you can not delete.
  7. Save and reload the document: "ghost" style has disappeared.


As I have not found an Issue I created:

PS: Is there a mechanism (template) on this site that will include a link to BZ (see fdo for the wiki) ? Regards

edit flag offensive delete link more



Thank you for testing and confirming the unexpected behavior.

LibreGuy gravatar imageLibreGuy ( 2015-03-17 17:33:51 +0100 )edit

As this has been reproduced, you should file a bug for it at Mention the steps to reproduce and set the version as and OS as Windows 7. You can link to this thread. Do search for an existing bug before filing a new one though.

Nicd gravatar imageNicd ( 2015-03-18 08:25:05 +0100 )edit

Since I don't have an account to file a bug and at the moment am lacking time to create one, perhaps someone who already has an account could file this bug. Please feel free to do so. A link to this topic might be sufficient since all information is in it. Thanks very much.

LibreGuy gravatar imageLibreGuy ( 2015-03-18 15:13:07 +0100 )edit

Thank you pierre-yves samyn for reporting the bug!

LibreGuy gravatar imageLibreGuy ( 2015-03-19 11:52:51 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-03-17 15:22:02 +0100

Seen: 128 times

Last updated: Mar 19 '15