Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006419 [JEDI VCL] 00 JVCL Components tweak always 2015-07-12 05:47 2019-05-22 17:46
Reporter Gustavo Costa View Status public  
Assigned To obones
Priority normal Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Fixed in Version Daily / GIT Product Version Daily / GIT
  Target Version Product Build
Summary 0006419: Position of TJvDesktopAlert with multi screen
Description When we are using the TJvDesktopAlert, with property Location.Position = dapBottomRight, with multi monitors, the alert is showed always in the main monitor.

I think that it is better to show the alert in bottom, right of the monitor where the active form is showing.

Or add this option in Location.Position.
Steps To Reproduce
Additional Information I've tried and works using the follow code in the JvJVCLUtils.ScreenWorkArea function

Result := Screen.MonitorFromWindow(Screen.ActiveForm.Handle).WorkareaRect;
Tags No tags attached.
Attached Files zip file icon Mantis6419_JvDesktopAlertDemo.zip [^] (5,387 bytes) 2019-05-04 12:55
zip file icon Mantis6419_JvDesktopAlertDemoNew.zip [^] (54,057 bytes) 2019-05-04 13:07

- Relationships

-  Notes
(0021195)
obones (administrator)
2015-09-14 11:26

Please provide the zipped sources of a sample application showing this
(0021801)
mh (reporter)
2019-05-04 13:09

The first attachment can be deleted, my mistake - sorry!
For the second: unzip it on a computer with 2 displays. Run it and click the button. No matter on which screen the application is, the alert will always be shown at the same position: at the bottom right of the main monitor.
(0021802)
mh (reporter)
2019-05-04 13:25

Created this pull request for the issue now:
https://github.com/project-jedi/jvcl/pull/120 [^]

If implemented the alert (run attached demo after implementing the fix) does not always appear on the main screen bottom right, but on the bottom right of the screen the form calling the alert is on.

- Issue History
Date Modified Username Field Change
2015-07-12 05:47 Gustavo Costa New Issue
2015-09-14 11:26 obones Note Added: 0021195
2015-09-14 11:26 obones Status new => feedback
2019-05-04 12:55 mh File Added: Mantis6419_JvDesktopAlertDemo.zip
2019-05-04 13:07 mh File Added: Mantis6419_JvDesktopAlertDemoNew.zip
2019-05-04 13:09 mh Note Added: 0021801
2019-05-04 13:25 mh Note Added: 0021802
2019-05-22 17:46 obones Status feedback => resolved
2019-05-22 17:46 obones Fixed in Version => Daily / GIT
2019-05-22 17:46 obones Resolution open => fixed
2019-05-22 17:46 obones Assigned To => obones


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker