Bug 360295 - Open project dialog should not use heading for long text
Summary: Open project dialog should not use heading for long text
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2016-03-09 11:56 UTC by Kai Uwe Broulik
Modified: 2016-08-26 20:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2016-03-09 11:56:14 UTC
The open project dialog says something like "Choose project, cmake, blabla to open" which can get quite long in German. The heading should be used for, say "Open Project" and then perhaps have a sub-heading in regular font explaining what it does. Alternatively it could at least wrap as it causes the dialog to fill the entire width of the screen on a laptop

Reproducible: Always

Steps to Reproduce:
1. Press Ctrl+O on the start page of KDevelop
2.
3.

Actual Results:  
Cringe

Expected Results:  
A regularly sized dialog with a help text ontop
Comment 1 Sven Brauch 2016-03-09 14:16:18 UTC
Maybe if we touch this anyways we should try to get rid of the embedded file dialog? That is not going to work well on other platforms (windows).
One option would be two (or more) QCommandLinkButtons, "open a directory as a project", "import project from build system file". That'd also make it clearer what actually happens. I know a lot of users who in the beginning cannot figure out that you can simply select a directory and get that loaded as a project. Thoughts?
Comment 2 Kevin Funk 2016-03-09 14:26:48 UTC
+1 for getting rid off the embedded file dialog altogether. It doesn't work well on Windows, as you say.

It's actually on my TODO, see: https://phabricator.kde.org/T1129
Comment 3 Akshay 2016-03-09 14:44:38 UTC
Guys I can try to work on this bug
Comment 4 Sven Brauch 2016-03-09 15:40:13 UTC
@kfunk I know, that's why I looked into it and noticed it's probably not going to happen as long as it is embedded in that widget :]

@akshay, sure, go for it; maybe we should first come to a conclusion how we want it to look like, though?
Comment 5 Akshay 2016-04-04 07:24:44 UTC
How do I access the font size to change and solve this bug..?
Comment 6 Kevin Funk 2016-08-26 20:16:20 UTC
This is fixed now with Sven's refactoring of the Open Project Dialog.