Files
libreoffice/xmlsecurity/source/dialogs
Jan-Marek Glogowski b3348ce498 Fix macro security UI usability problems
* Don't hide the option dialogs "Macro security" push button.
  I don't see any reason, why these settings should be hidden, if
  macros are disabled or settings locked. At least a user can now
  check, what is going on (still nothing shows disabled macros for
  a document in the UI AFAIK).
* Don't scale the lock icons of the trusted list boxes.
  This just uses the same alignments, which the macro security
  level lock image uses, otherwise the image is scaled to fit the
  whole space of its layout cell.
* Don't disable the trusted list boxes.
  If the setting is locked, it's sufficient to disable all the
  buttons, which allow modification (so View can stay enabled).
  This way you can still scroll the list. Correct button handling
  is already implemented and works for me.
* Catch exceptions of broken certificate data.
  If your config contains certificates, which can't be correctly
  decoded, the NSS backend will throw an exception, which kills
  the dialog, but not the nested loop, resulting in a locked LO.
  Also show an error dialog with the broken base64-encoded data.

Change-Id: I79002e0ce85cf9a9017caf858407f2f635a3a074
Reviewed-on: https://gerrit.libreoffice.org/85056
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-12-17 11:58:07 +01:00
..