https://bugs.documentfoundation.org/show_bug.cgi?id=146929
--- Comment #7 from Caolán McNamara <[email protected]> --- I think this particular dialog is svx/source/dialog/compressgraphicdialog.cxx if the desire is to *not* store some config so its saved and restored on the next restart of LibreOffice then some static variables to save the state for the application lifetime might be enough, for example in svx/source/dialog/charmap.cxx:55 we do that so there could be f.e. a static sal_Int32 nQuality = 6, set that to m_xQualitySlider in ::Initialize and then call SlideHdl(*m_xQualitySlider) and maybe "::Update" could set the value from m_xQualitySlider back to that static nQuality so user changes to it are persistent until the next restart of LibreOffice. I suppose there could be an additional argument that the dialog should be using the already detected input type of the image to preselect whether jpg/png is the best choice of output. Probably png is the best choice unless the input is already jpg. -- You are receiving this mail because: You are the assignee for the bug.
