View Issue Details

IDProjectCategoryView StatusLast Update
0026094LazarusLCLpublic2014-04-30 14:57
ReporterKai Assigned ToBart Broersma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOSWindows 7 
Product Version1.2.2 
Summary0026094: Incorrect modal results for QuestionDlg
Description  ShowMessage(IntToStr(QuestionDlg('Caption', 'Question.', mtConfirmation, [mrRetry, 'R', mrAbort, 'A', mrCancel, 'C'], 0)));

should return 4, 3, 2 (buttons clicked from left to right)

It does, however, return 3 for both the Abort & Cancel buttons - 2 is never returned.
Steps To ReproduceClick buttons as indicated and inspect results.
Additional InformationThere is no difference whether alternative captions are used or not.
TagsNo tags attached.
Fixed in Revisionr44852
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0026092 resolvedMattias Gaertner Modl result & display issues with QuestionDlg 

Activities

Mattias Gaertner

2014-04-29 22:18

manager   ~0074678

Here under Linux/gtk2 it shows buttons C,A,R, which return 2,3,4.

Zeljan Rikalo

2014-04-30 10:05

developer   ~0074683

Gtk have reversed buttons so C,A,R is ok. Qt shows correct R,A,C and 4,3,2.
This is win32 ws bug.

Zeljan Rikalo

2014-04-30 10:06

developer   ~0074684

Strange, win32 under wine is correct.

Juha Manninen

2014-04-30 11:57

developer   ~0074685

Tested with Windows 7 and confirmed.

Bart Broersma

2014-04-30 14:57

developer   ~0074688

Please test and close if OK.

Issue History

Date Modified Username Field Change
2014-04-29 22:06 Kai New Issue
2014-04-29 22:18 Mattias Gaertner Note Added: 0074678
2014-04-30 10:01 Zeljan Rikalo Relationship added related to 0026092
2014-04-30 10:05 Zeljan Rikalo Note Added: 0074683
2014-04-30 10:06 Zeljan Rikalo Note Added: 0074684
2014-04-30 11:57 Juha Manninen LazTarget => -
2014-04-30 11:57 Juha Manninen Note Added: 0074685
2014-04-30 11:57 Juha Manninen Status new => confirmed
2014-04-30 14:57 Bart Broersma Fixed in Revision => r44852
2014-04-30 14:57 Bart Broersma Note Added: 0074688
2014-04-30 14:57 Bart Broersma Status confirmed => resolved
2014-04-30 14:57 Bart Broersma Resolution open => fixed
2014-04-30 14:57 Bart Broersma Assigned To => Bart Broersma