Bug 304333 - Current Launch Configuration button is too narrow after restart
Summary: Current Launch Configuration button is too narrow after restart
Status: CONFIRMED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: Git
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 13:32 UTC by András Manţia
Modified: 2021-01-29 10:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Correct layout (27.39 KB, image/png)
2013-02-27 18:18 UTC, András Manţia
Details
Broken layout (18.66 KB, image/png)
2013-02-27 18:19 UTC, András Manţia
Details

Note You need to log in before you can comment on or make changes to this bug.
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.