MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029605Community[OCCT] OCCT:Samplespublic2018-03-21 12:462018-03-21 13:59
ReporterVico Liang 
Assigned Toapn 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.2.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029605: Samples, AndroidQt - Qt::AA_EnableHighDpiScaling display issue
DescriptionTo reproduce the issue:
1. Enable High-DPI with function:
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

2. Set window width and height with the Item's width and height, rather than with the device dependent width and height from function below:
   eglQuerySurface (anEglDisplay, anEglSurf, EGL_WIDTH, &aWidth);
   eglQuerySurface (anEglDisplay, anEglSurf, EGL_HEIGHT, &aHeight);
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0025149closedbugmaster Open CASCADE Samples - add Qt5/QML sample for Android 4.x 

-  Notes
(0074728)
kgv (developer)
2018-03-21 13:53

> 1. Enable High-DPI with function: QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

This is not "enable High-DPI" - it is always enabled.
This enables "automatic" High-DPI, which should scale some QML controls "automatically".

- Issue History
Date Modified Username Field Change
2018-03-21 12:46 Vico Liang New Issue
2018-03-21 12:46 Vico Liang Assigned To => kgv
2018-03-21 12:52 kgv Category OCCT:Visualization => OCCT:Samples
2018-03-21 12:52 kgv Product Version => 7.2.0
2018-03-21 12:52 kgv Summary AndroidQt sample : High-DPI display issue => Samples, AndroidQt - High-DPI display issue
2018-03-21 12:54 Vico Liang Note Added: 0074725
2018-03-21 12:55 Vico Liang Note Deleted: 0074725
2018-03-21 12:56 Vico Liang Description Updated View Revisions
2018-03-21 13:51 kgv Summary Samples, AndroidQt - High-DPI display issue => Samples, AndroidQt - Qt::AA_EnableHighDpiScaling display issue
2018-03-21 13:53 kgv Note Added: 0074728
2018-03-21 13:53 kgv Assigned To kgv => apn
2018-03-21 13:59 kgv Relationship added related to 0025149


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker