Summary: | Contact list does not show settings-button, if its to narrow | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | m4yer+zeug |
Component: | contactlist | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | aspotashev, kontakt, mklapetek |
Priority: | NOR | ||
Version: | git-latest | ||
Target Milestone: | Future | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
m4yer+zeug
2013-03-12 12:25:32 UTC
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? The core of the problem lies in the docs: "When a QToolBar is not a child of a QMainWindow, it loses the ability to populate the extension pop up with widgets added to the toolbar using addWidget(). Please use widget actions created by inheriting QWidgetAction and implementing QWidgetAction::createWidget() instead." So our options are either 1) Make the QToolBar child of QMainWindow (might be tricky) 2) Create a special QWidgetAction class which reimplements QWidgetAction::createWidget() (easier imho, but longer to finish) We have it in version 0.9. I struggled few minutes how to find the settings button and it was really annoying, till i resized the window :) Would love to see some fix for this. Thanks! What do you think about moving the Configure button up, next to the presence status? Hard to say, VDG team should take a look at this. This button won't be used to often. If you configure app once, than you won't look there any soon. But situation when it is hidden and can't be easily located might be frustrated :) Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. Dear user, unfortunately Telepathy is no longer maintained. Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat. |