View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034436 | Lazarus | IDE | public | 2018-10-19 13:54 | 2018-10-27 08:14 |
Reporter | Ondrej Pokorny | Assigned To | Juha Manninen | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.1 (SVN) | ||||
Summary | 0034436: IDE FindReplace dialog can go outside the monitor area | ||||
Description | The top position of the IDE FindReplace dialog is determined by the current line. It uses the wrong bounds so that it can go beyound the work area. | ||||
Steps To Reproduce | 1.) Place the task bar on top of the screen. 2.) Place the editor caret/cursor so that the FindReplace dialog goes behind the task bar. See attached screenshot. | ||||
Additional Information | Patch attached. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | r59340 | ||||
LazTarget | - | ||||
Widgetset | |||||
Attached Files |
|
|
|
|
dialogposition-01.patch (573 bytes)
Index: ide/sourceeditor.pp =================================================================== --- ide/sourceeditor.pp (revision 59322) +++ ide/sourceeditor.pp (working copy) @@ -3560,7 +3560,7 @@ begin with EditorComponent do P := ClientToScreen(Point(CaretXPix, CaretYPix)); - ABounds := Screen.MonitorFromPoint(P).BoundsRect; + ABounds := Screen.MonitorFromPoint(P).WorkareaRect; Left := EditorComponent.ClientOrigin.X + (EditorComponent.Width - Width) div 2; Top := P.Y - Height - 3 * EditorComponent.LineHeight; if Top < ABounds.Top + 10 then |
|
Applied, thanks. |
|
Thanks |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-10-19 13:54 | Ondrej Pokorny | New Issue | |
2018-10-19 13:54 | Ondrej Pokorny | File Added: finddialog-top.png | |
2018-10-19 13:54 | Ondrej Pokorny | File Added: dialogposition-01.patch | |
2018-10-22 20:41 | Juha Manninen | Assigned To | => Juha Manninen |
2018-10-22 20:41 | Juha Manninen | Status | new => assigned |
2018-10-22 20:44 | Juha Manninen | Fixed in Revision | => r59340 |
2018-10-22 20:44 | Juha Manninen | LazTarget | => - |
2018-10-22 20:44 | Juha Manninen | Note Added: 0111514 | |
2018-10-22 20:44 | Juha Manninen | Status | assigned => resolved |
2018-10-22 20:44 | Juha Manninen | Resolution | open => fixed |
2018-10-27 08:14 | Ondrej Pokorny | Note Added: 0111599 | |
2018-10-27 08:14 | Ondrej Pokorny | Status | resolved => closed |