[Bug 440101] New: yast2 Qt UI generates 2 events on a single click
https://bugzilla.novell.com/show_bug.cgi?id=440101 Summary: yast2 Qt UI generates 2 events on a single click Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: YaST2 AssignedTo: sh@novell.com ReportedBy: lslezak@novell.com QAContact: jsrain@novell.com Found By: --- There is a table with `notify and `immediate options in repositories.ycp. The table generates two events on a single click in Qt UI: 2008-10-30 08:39:59 <5> muffin(25780) [YCP] clients/repositories.ycp:837 Input: $["EventReason":"SelectionChanged", "EventSerialNo":22, "EventType":"WidgetEvent", "ID":`table, "WidgetClass":`Table, "WidgetID":`table] 2008-10-30 08:39:59 <5> muffin(25780) [YCP] clients/repositories.ycp:837 Input: $["EventReason":"Activated", "EventSerialNo":23, "EventType":"WidgetEvent", "ID":`table, "WidgetClass":`Table, "WidgetID":`table] The second event ("Activated") should be generated only on double click. The result is that a single click in the table enables/disables the selected repository instead of just selecting it. Tested in Beta3 + Yast from SVN. The bug may also cause problems in other Yast modules => Critical -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c1
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c2
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c3
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c4
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c5
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c6
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c7
--- Comment #7 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c8
--- Comment #8 from Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c9
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c10
--- Comment #10 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c11
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c12
--- Comment #12 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c13
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c14
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c15
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User christoph@maxiom.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c18
Christoph Feck
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c19
--- Comment #19 from Stefan Hundhammer
Applications need to check the QStyle::SH_ItemView_ActivateItemOnSingleClick property using QStyle::styleHint() if they use the activated() signal. Depending on the style, that may be a single click, or a double click.
Ugh? You can't be serious. This is broken by design. This invalidates the whole idea of widget styles. If applications have to do arcane things like that, we'd better drop that widget style immediately. There is no reasonable way for this to be handled in all the Qt applications that are out there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=440101
User christoph@maxiom.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c20
--- Comment #20 from Christoph Feck
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c21
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c22
--- Comment #22 from Stefan Hundhammer
From my side this is issue is done with that workaround. Fixed in SVN trunk.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c23
--- Comment #23 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=440101
User stbinner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c24
Stephan Binner
The bug may also cause problems in other Yast modules => Critical
That's no criteria for "Critical" severity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=440101
User remur@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c25
Karsten König
https://bugzilla.novell.com/show_bug.cgi?id=440101
User sven.burmeister@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c26
Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=440101
User tgoettlicher@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c27
--- Comment #27 from Thomas Göttlicher
Should this bug not be assigned to YaST? In yast it's fixed with a workaround (see comment #22).
As the use of the various signals (activated, clicked, doubleClicked) might cause confusions in all qt application with certain widget styles this bug isn't yast specific. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=440101
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c28
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=440101
User remur@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c29
--- Comment #29 from Karsten König
https://bugzilla.novell.com/show_bug.cgi?id=440101
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c30
Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=440101
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c31
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=440101
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c32
Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=440101
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c33
--- Comment #33 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=440101
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440101#c34
Ladislav Slezak
participants (1)
-
bugzilla_noreply@novell.com