Bug 222070

Summary: clicking right mouse button on spectre viewer makes it unusable
Product: [Applications] kalzium Reporter: Igor Poboiko <igor.poboiko>
Component: generalAssignee: Kalzium Developers <kalzium>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Igor Poboiko 2010-01-10 16:43:27 UTC
Version:           2.3.80 (using Devel)
Compiler:          i686-pc-linux-gnu-gcc (Gentoo 4.3.3-r2 p1.2, pie-10.1.5) 4.3.3 
OS:                Linux
Installed from:    Compiled sources

I'm using KDE 4.3.90 (aka 4.4 RC1) and Qt 4.6.0.
When I'm clicking right mouse button on spectre viewer (picture with spectre) of any material (which have spectre in kalzium, of course; for example, copper (29, Cu)), kalzium sets minimum and maximum values to values, that differs by 1nm (for example, 2001nm and 2002nm) and disables editing of this spinboxes, so I cannot change it values. To make it usable again I'm clicking "Next" and "Previous", and that sets minimum and maximum to it default values.

PS sorry for my bad english
Comment 1 Etienne 2010-05-30 21:10:50 UTC
SVN commit 1132472 by erebetez:

When rightclicking on the spectrumwidget, reset the borders to the inital values.
    Zooming out is to slow/not logic.
    Min/Max spinboxes updates the spectrumview.
    Removed the setRange for Min/Max spinboxes.

    Thanks Igor Poboiko for the bugreport.

    CC_BUG: annma@kde.org
    Could you please Backport that one to the 4.5 branch?

    BUG: 222070

 M  +5 -5      spectrumview.ui  
 M  +0 -2      spectrumviewimpl.cpp  
 M  +7 -5      spectrumwidget.cpp  
 M  +8 -2      spectrumwidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1132472
Comment 2 Anne-Marie Mahfouf 2010-05-31 21:43:48 UTC
SVN commit 1132963 by annma:

backport of 1132472 to 4.5
CCBUG=222070
CCMAIL=etienne.rebetez@oberwallis.ch


 M  +5 -5      spectrumview.ui  
 M  +0 -2      spectrumviewimpl.cpp  
 M  +7 -5      spectrumwidget.cpp  
 M  +8 -2      spectrumwidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1132963