Bug 304333

Summary: Current Launch Configuration button is too narrow after restart
Product: [Unmaintained] kdelibs Reporter: András Manţia <amantia>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: aleixpol, benjamin-huth, Saljacky
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Correct layout
Broken layout

Description András Manţia 2012-07-31 13:32:21 UTC
Set up some launches for a project, add the Current Launch Configuration button to a toolbar. It looks fine, e.g. "project: MyBeautifulApplication". Restart KDevelop, now the button is narrow and the whole text is not visible, making the button very hard to use.

Reproducible: Always

Actual Results:  
Button should keep its size
Comment 1 Aleix Pol 2013-02-27 17:53:56 UTC
Can you still reproduce this? I have never seen this behavior.

Maybe you can provide a screenshot?
Comment 2 András Manţia 2013-02-27 18:18:57 UTC
Created attachment 77633 [details]
Correct layout
Comment 3 András Manţia 2013-02-27 18:19:31 UTC
Created attachment 77634 [details]
Broken layout
Comment 4 András Manţia 2013-02-27 18:20:22 UTC
Sure, it is in master. See the screenshots with the correct (after I remove the combo from the toolbar and add back) and broken (after restart) state.
Comment 5 Aleix Pol 2013-03-04 03:34:33 UTC
Uh ok, I didn't even know we had this combo box... :)
Comment 6 Aleix Pol 2013-04-04 03:27:32 UTC
yes I can reproduce, I fear it's a bug in KSelectAction, I'll see what I can find...
Comment 7 Christoph Feck 2013-04-24 09:43:42 UTC
Aleix, if it turns out to be a kdelibs bug, please reassign. According to the documentation, it should pick the correct minimum size automatically. I am not sure, however, if you add the items delayed, so that it cannot determine the size beforehand.
Comment 8 Aleix Pol 2013-04-26 13:50:57 UTC
Yes, it's probably that it doesn't re-adapt. I'm unsure what would be the best fix for that.

I'll move it to kdelibs.
Comment 9 Tomáš Poledný 2014-04-04 09:48:52 UTC
I think button with  drop down menu like button "Go back in context history" will be fine.
Comment 10 Benjamin Huth 2021-01-29 10:02:28 UTC
Has there been some progress in this case?

I know the bug is very old, but it still is an issue in KDevelop 5.6.1. The first thing I do whenever I launch KDevelop is to add/remove something from the toolbar, so that the Combo-Box gets the right size, which is a bit annoying.
Comment 11 Christoph Cullmann 2024-09-14 17:06:43 UTC
Hi,

kdelibs (version 4 and earlier) is no longer maintained since a few years.

KDE Frameworks 5 or 6 might already have resolved this bug.

If not, please re-open against the matching framework if feasible or against the application that shows the issue.

We then can still dispatch it to the right Bugzilla product or component.

Greetings
Christoph Cullmann