broulik created this revision. broulik added reviewers: Plasma, hein. broulik set the repository for this revision to R119 Plasma Desktop. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY Having opened a file with a long file name would result in a huge context menu. The number is a guesstimation based on the task maximum width in normal panels but admittedly quite random. TEST PLAN Uses new API in https://phabricator.kde.org/D4257 Unfortunately here it just blatantly cuts off the contents (also with Fusion theme) and the menu is still placed as though it was as wide without the restrictions :/ Can someone with newer Qt (than 5.7.0) try if this is still an issue there? F2166494: Screenshot_20170125_181140.png <https://phabricator.kde.org/F2166494> REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D4281 AFFECTED FILES applets/taskmanager/package/contents/code/layout.js applets/taskmanager/package/contents/ui/ContextMenu.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma, hein Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas