View Issue Details

IDProjectCategoryView StatusLast Update
0035794LazarusIDEpublic2019-07-05 01:10
ReporterPavol SAssigned ToJuha Manninen 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformWin32OSWindowsOS Version10
Product Version2.0.2Product Build60954 
Target VersionFixed in Version 
Summary0035794: Project Options for Windows is not saved correctly
DescriptionLast option DPI awareness option is not saved.
Steps To Reproduce1. Create new project.
2. Navigate Project/Project Options/Application/For Windows. Check [x] Use manifest resource (and enable themes) and under DPI awareness select "Vista-8; on, 8.1/10+: per monitor/V2 (True/PM)".
3. Save project.
4. Close Lazarus
5. Open Lazarus and project
6. There is another DPI awareness option selected "Vista-8:on, 8.1+: per monitor (True/PM)"
TagsNo tags attached.
Fixed in Revisionr61531
LazTarget-
Widgetset
Attached Files

Activities

Pavol S

2019-07-04 20:57

reporter  

bug.jpg (78,504 bytes)
bug.jpg (78,504 bytes)

Juha Manninen

2019-07-05 01:10

developer   ~0117070

The saved textual value is taken from array ManifestDpiAwareValues which had 2 identical strings. I changed one a little and it works now.
IMO the logic for storing DPI awareness is more complex than necessary. If somebody wants to simplify it, please do.

Issue History

Date Modified Username Field Change
2019-07-04 20:57 Pavol S New Issue
2019-07-04 20:57 Pavol S File Added: bug.jpg
2019-07-05 01:00 Juha Manninen Assigned To => Juha Manninen
2019-07-05 01:00 Juha Manninen Status new => assigned
2019-07-05 01:10 Juha Manninen Status assigned => resolved
2019-07-05 01:10 Juha Manninen Resolution open => fixed
2019-07-05 01:10 Juha Manninen Fixed in Revision => r61531
2019-07-05 01:10 Juha Manninen LazTarget => -
2019-07-05 01:10 Juha Manninen Note Added: 0117070