View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017774 | Lazarus | Widgetset | public | 2010-10-31 14:29 | 2010-11-24 16:22 |
Reporter | Martin Friebe | Assigned To | Paul Ishenin | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.9.29 (SVN) | ||||
Target Version | 0.9.30 | Fixed in Version | 0.9.29 (SVN) | ||
Summary | 0017774: Regression: GTK2 reports wrong Monitor for windows | ||||
Description | Gtk2 now seems to always report the primary monitor, even if the window is on the secondary. this uesed to work in rev 27829 see issue 0017771 | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 28458 | ||||
LazTarget | 0.9.30 | ||||
Widgetset | GTK 2 | ||||
Attached Files |
|
related to | 0017771 | closed | Martin Friebe | Solution in 0016835 is incomplete |
related to | 0017906 | closed | Zeljan Rikalo | QT: wrong Monitor returned for pos [QT (w32) Rangecheck error on hint] |
|
once fixed, please also remove the following IFDEF in components\synedit\syncompletion.pas line 1210... procedure TSynBaseCompletion.Execute(s: string; TokenRect: TRect); .... begin {$IFnDEF LCLGTK2} Mon := Screen.MonitorFromPoint(TokenRect.TopLeft); if Mon <> nil then TokenRect.Left := Min(TokenRect.Left, Mon.Left + Mon.Width - Form.Width); {$ENDIF} |
|
That ifndef breaks the code in that procedure, since you don't create mon for gtk2, but you still use it after the ifndef. |
|
hm..I don't see any changes against monitors in gtk2winapi, so wondering what can cause such regression ? More over, qt code is almost identical to gtk2 one. |
|
Please test and close if ok. |
|
thanks, works |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-10-31 14:29 | Martin Friebe | New Issue | |
2010-10-31 14:29 | Martin Friebe | LazTarget | => - |
2010-10-31 14:29 | Martin Friebe | Widgetset | => GTK 2 |
2010-10-31 14:30 | Martin Friebe | LazTarget | - => 0.9.30 |
2010-10-31 14:30 | Martin Friebe | Build | => 28009 |
2010-10-31 14:30 | Martin Friebe | Relationship added | related to 0017771 |
2010-10-31 14:32 | Vincent Snijders | Status | new => acknowledged |
2010-10-31 14:32 | Vincent Snijders | Target Version | => 0.9.30 |
2010-10-31 19:09 | Martin Friebe | Note Added: 0042503 | |
2010-11-01 12:53 | Henry Vermaak | Note Added: 0042549 | |
2010-11-01 16:14 | Zeljan Rikalo | Note Added: 0042558 | |
2010-11-19 18:41 | Martin Friebe | Relationship added | related to 0017906 |
2010-11-24 15:42 | Paul Ishenin | Fixed in Revision | => 28458 |
2010-11-24 15:42 | Paul Ishenin | Status | acknowledged => resolved |
2010-11-24 15:42 | Paul Ishenin | Fixed in Version | => 0.9.29 (SVN) |
2010-11-24 15:42 | Paul Ishenin | Resolution | open => fixed |
2010-11-24 15:42 | Paul Ishenin | Assigned To | => Paul Ishenin |
2010-11-24 15:42 | Paul Ishenin | Note Added: 0043473 | |
2010-11-24 16:22 | Martin Friebe | Status | resolved => closed |
2010-11-24 16:22 | Martin Friebe | Note Added: 0043480 |