Bug 295224 - Some formatter styles don't show previews randomly
Summary: Some formatter styles don't show previews randomly
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Astyle (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 16:55 UTC by Alexander Shaduri
Modified: 2016-09-13 11:49 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Shaduri 2012-03-02 16:55:39 UTC
Version:           git master (using KDE 4.7.2) 
OS:                Linux

I'm using KDevelop git master (2012-03-02).

In the Configure KDevelop dialog there is a "Source Formatter" section which shows a preview of selected formatter.
The thing is, the preview widget disappears randomly when selecting some formatters.

If the formatter is set to Custom Script Formatter, "Gnu Indent: GNU" and "Gnu Indent: Original Berkley" styles are shown without preview, but "Gnu Indent: Kernighan & Ritchie" is sometimes with preview, sometimes without.
For example, it may not show a preview but if I open the dialog the second time, it might.

Same goes for "Artistic Style" formatters - most of them usually have their previews, but sometimes they don't (e.g. "Stroustrup" seems to lose it most often).

Another annoying thing is that if the Preview is not shown, the whole block of controls jumps completely to the right.

Thanks

Reproducible: Sometimes

Steps to Reproduce:
Open the Configure KDevelop dialog, click Source Formatters, switch around the formatting styles.

Actual Results:  
Sometimes some styles don't have previews.

Expected Results:  
Every style should have a preview.

openSUSE 12.1, x86_64.
Comment 1 Anton Anikin 2016-09-13 11:49:44 UTC
"jumps" fixed