D11051: Remembering side navigation panel state

Dileep Sankhla noreply at phabricator.kde.org
Tue Mar 27 18:58:15 UTC 2018


dileepsankhla added a comment.


  Actually I am getting the segmentation fault whenever I close Okular with a changed state of the side navigation panel and the code causing it is `Okular::Settings::setHideSideContainer( m_sidebar->isCollapsed() )` inside the Part destructor. `m_sidebar` is not causing this problem as I misunderstood the earlier; it gives the segfault for any value as the argument of `setHideSideContainer` except for the boolean values `True` and `False`.  It works fine for the absolute boolean values.
  Running it with gdb, I got segfault in `QAbstractScrollArea::horizontalScrollBarPolicy() const () from /usr/lib/libQt5Widgets.so.5` that is confusing for me. I need an idea regarding what can be done in this case?

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D11051

To: dileepsankhla, #okular, aacid
Cc: aacid, sander, #okular, michaelweghorn, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180327/286d9933/attachment.html>


More information about the Okular-devel mailing list