[telepathy] [Bug 316591] Contact list does not show settings-button, if its to narrow

Martin Klapetek martin.klapetek at gmail.com
Tue Mar 12 13:36:05 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=316591

Martin Klapetek <martin.klapetek at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |martin.klapetek at gmail.com
     Ever confirmed|0                           |1

--- Comment #1 from Martin Klapetek <martin.klapetek at gmail.com> ---
Thanks for the report.

This happens because the settings button is QToolButton while the rest is
QActions and apparently QToolBar is not happy with that. I'm not sure how to
properly fix this, inserting QMenu::menuAction() instead of the toolbutton
works too, but it inserts a button and a dropdown button, that are visually
separated. Furthermore the button itself does nothing (the dropdown button
works), it does emit triggered() while being clicked, so it could be just
connected to a slot and the menu popped up from that slot, but we'd need to
know the position of the popup and that's no easy task (50 lines of ifs and
coords mapping in Qt's source, I don't feel like copying that).

Does anyone know if this can be fixed using QToolButton?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list