View Issue Details

IDProjectCategoryView StatusLast Update
0006419JEDI VCL00 JVCL Componentspublic2019-05-22 17:46
ReporterGustavo CostaAssigned Toobones 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in VersionDaily / GIT 
Summary0006419: Position of TJvDesktopAlert with multi screen
DescriptionWhen 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.
Additional InformationI've tried and works using the follow code in the JvJVCLUtils.ScreenWorkArea function

Result := Screen.MonitorFromWindow(Screen.ActiveForm.Handle).WorkareaRect;
TagsNo tags attached.

Activities

obones

2015-09-14 11:26

administrator   ~0021195

Please provide the zipped sources of a sample application showing this

2019-05-04 12:55

 

Mantis6419_JvDesktopAlertDemo.zip (5,387 bytes)

2019-05-04 13:07

 

Mantis6419_JvDesktopAlertDemoNew.zip (54,057 bytes)

mh

2019-05-04 13:09

reporter   ~0021801

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.

mh

2019-05-04 13:25

reporter   ~0021802

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