Bug 60117 - Widget missing in scoring dialog
Summary: Widget missing in scoring dialog
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-20 13:17 UTC by Malte S. Stretz
Modified: 2003-08-29 00:23 UTC (History)
0 users

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


Attachments
screenshot of the scoring dialog (11.80 KB, image/png)
2003-06-20 13:18 UTC, Malte S. Stretz
Details
aligns combobox/widgets while keeping dummy label (589 bytes, patch)
2003-08-05 08:53 UTC, Mark Draheim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2003-06-20 13:17:55 UTC
Version:           0.7.2 (using KDE 3.1.2)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18

Hi,

I think this bug must have been introduced with 0.7.2 -- on KDE 3.1.0 I did use the scoring successfully. The problem is, that the widget to actually set the score in the scoring dialog is missing when you choose the action "change score"; instead you have the label which you should see when you didn't select any action. The weird thing is, that it happens only every second time (ie n mod 2 == 0) I open the dialog...

Cheers,
Malte
Comment 1 Malte S. Stretz 2003-06-20 13:18:54 UTC
Created attachment 1852 [details]
screenshot of the scoring dialog

note the label saying "Btte w
Comment 2 Mark Draheim 2003-08-05 08:50:02 UTC
the problem is introduced by the dummy label "Select an action". That one 
offsets all widgets on the right by one. Someone apparently tried to fix this 
by adding a QString:null to the combo box on the left. However, the null 
string is added to the end while the dummy label is at the start. So the two 
sides match in length 4 but the 3 choices within are still offset by one. 
 
One solution is to add the null string to the start by moving the code up. 
That way you start with "select an action" and see an unlabelled combo box.I 
attach a patch that does this. 
 
However, I'd prefer to have the dummy label AND the null string removed, 
though, as I fail to see the point of introducing it in the first place. 
 
 
Comment 3 Mark Draheim 2003-08-05 08:53:15 UTC
Created attachment 2155 [details]
aligns combobox/widgets while keeping dummy label
Comment 4 Sergey Latkin 2003-08-14 21:58:06 UTC
The bug is still there, this time in KDE 3.1.3. 
There is a workaround: use <tab> to get a keyboard focus to a list of actions, 
change action with a kbd, and lo! you can see the missing widget. You can use 
a mouse afterwards, it stays there until you close a dialog. 
Comment 5 Zack Rusin 2003-08-29 00:21:11 UTC
Thanks, the bug has been fixed. 
Comment 6 Zack Rusin 2003-08-29 00:23:24 UTC
*** Bug has been marked as fixed ***.