Bug 305833

Summary: nntpgrab_gui crashes on groupbox label resize
Product: [Plasma] Oxygen Reporter: nucleo <nucleo>
Component: gtk3-engineAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: normal CC: b7.10110111, hugo.pereira.da.costa, web
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description nucleo 2012-08-26 18:55:26 UTC
nntpgrab-gui-0.7.2-1.fc17 crashes in oxygen-gtk3-1.1.0

Reproducible: Always

Steps to Reproduce:
See bug https://bugzilla.redhat.com/show_bug.cgi?id=851846


Expected Results:  
No crash
Comment 1 Ruslan Kabatsayev 2012-08-26 19:26:41 UTC
I can reproduce. Quite a tricky bug...
Comment 2 Ruslan Kabatsayev 2012-08-28 15:15:38 UTC
@Hugo
The problem is in your code related to resizing groupboxes. You should know better how it works, so here's some starting info for you to debug it.
The backtrace in redhat bugzilla lacks some information because of not installed debuginfo, so here's the bottom of stack: http://pastebin.com/wbUEWc8S .
Also, if you don't know how to reproduce:
1. Run nntpgrab_gui
2. Press "Start standalone"
3. "Configuration" tab
4. "Display settings" list item
Comment 3 Ruslan Kabatsayev 2012-09-30 21:51:09 UTC
Git commit 74c57cf58cd2f57edad668d7fa1f67aab44f52f7 by Ruslan Kabatsayev.
Committed on 30/09/2012 at 23:48.
Pushed by kabatsayev into branch 'gtk3-1.1'.

Set groupbox label state as resized before actually resizing it to prevent infinite recursion

M  +2    -1    src/animations/oxygengroupboxlabeldata.h

http://commits.kde.org/oxygen-gtk/74c57cf58cd2f57edad668d7fa1f67aab44f52f7
Comment 4 Ruslan Kabatsayev 2012-09-30 21:54:20 UTC
The above fixes the bug in IMO a nice way.