wd'qscreen'

508 317 1440 900 72 72 24 1 2147483647 72 72 101

the first 2 numbers are dimension n mm

3rd and 4th are pixel sixe

72 is dpi


but this result is incorrect because screen spec should be 13.3-inch
(diagonal) LED-backlit display with IPS technology; 2560-by-1600 native
resolution at 227 pixels therefore screen size should 286 by 180 mm


I'm not sure how to get the correct result from Qt.

On Thu, Apr 14, 2022 at 10:54 PM chris burke <[email protected]> wrote:

> Do you have a High-DPI monitor? I have, and scale it to Double.
>
> Is this a problem on non High-DPI monitors?
>
> On Thu, Apr 14, 2022 at 7:32 AM 'Mike Day' via Beta <[email protected]>
> wrote:
>
> > Thanks for confirming my report, Chris.  No suggestions, I’m afraid.
>  I’m
> > just a humble user.
> >
> > Having said that, I’ve nevertheless Googled Windows difference between QT
> > 6 & QT 5,  and have found this remark: which might be pertinent:
> > “High-DPI
> > Qt 6 supports high-DPI displays on all platforms, and will automatically
> > account for the display resolution when using higher level APIs such as
> Qt
> > Widgets or Qt Quick. Applications only need to provide high-resolution
> > assets, such as images and icons. The feature is always enabled.
> >
> > Qt 6 changes the default scale factor rounding policy from
> > Qt::HighDpiScaleFactorRoundingPolicy::Round to
> > Qt::HighDpiScaleFactorRoundingPolicy::PassThrough in order to track
> > operating system DPI settings accurately. Applications that use Qt
> Widgets
> > may encounter graphical glitches at non-integer scale factors, for
> example
> > on Windows with a display configured for 175%. In that case, set the
> > rounding policy to Round to restore Qt 5 behavior”
> >
> > This is at https://doc.qt.io/qt-6/portingguide.html
> >
> > You might possibly find it useful!
> >
> > Cheers
> >
> > Mike
> >
> > Sent from my iPad
> >
> > > On 14 Apr 2022, at 03:27, chris burke <[email protected]> wrote:
> > >
> > > I also see a change in the term and edit windows sizes, but don't
> > > understand it.
> > >
> > > I don't know of any relevant change in the Jqt source. It could be
> > because
> > > of the upgrade from Qt 5 to Qt 6, but I don't see anything in the Qt 6
> > > release notes.
> > >
> > > Any suggestions?
> > >
> > > On Wed, Apr 13, 2022 at 8:17 AM 'Michael Day' via Beta <
> > [email protected]>
> > > wrote:
> > >
> > >> I noticed this feature almost as soon as J904 was installed,  but have
> > >> only just got round to
> > >> trying to deal with it.
> > >>
> > >> The puzzling feature is the apparent increase in the size of JQt
> session
> > >> windows,  under Windows 11
> > >> in my case,  compared with many previous versions.   I've been using
> > >> this setting for the default size
> > >> and location of session windows in    ~user/config/qtide.cfg for some
> > >> time now:
> > >>
> > >> # J903
> > >> [Position]
> > >> Debug=-590 50 540 500
> > >> Edit=31 32 1806 853
> > >> Term=40 22 1784 858
> > >> (The gratuitous non-rounding probably means I'd managed to capture the
> > >> session windows' properties
> > >> once upon a time!)
> > >>
> > >> For versions up to J903,   this results in windows more or less
> filling
> > >> the screen,  nominally 1920x1080,
> > >> allowing a smallish view of the "desktop" between J and the task-bar,
> > >> where jbreak.bat is usually
> > >> visible!
> > >>
> > >> Now,  in J904,  the term and edit windows both stretch too far to the
> > >> right and too far down.  I
> > >> was getting round the problem by changing size with the "mouse."
> > >>
> > >> I've now experimented with the settings;   the following achieves
> > >> windows with top left corners
> > >> very similar in position to those with J903,  and bottom right corners
> > >> fairly near the J903 ones.
> > >>
> > >> # J904 beta
> > >> [Position]
> > >> Debug=-590 50 540 500
> > >> Edit=31 32 1450 700
> > >> Term=40 22 1400 650
> > >>
> > >> This version of Qt appears not to recognise the screen's physical
> > >> dimensions,  perhaps.
> > >>
> > >> Also,  the font sizes in the Edit Window bars are larger than before.
> > >> That is,  the edit file name,
> > >> eg "User/config/qtide.cfg - [User] - Edit"
> > >> as well as action tabs:
> > >>       File Edit View etc ..............
> > >> and file tabs:
> > >> qtide.cfg | p788.ijs | maze.ijs | polydiv.ijs | etc.........
> > >> This isn't a problem for me,  but might have diagnostic value.
> > >>
> > >> As before, the version details are:
> > >> JVERSION
> > >> Engine: j904/j64avx2/windows
> > >> Beta-b: commercial/2022-04-12T18:59:13
> > >> Library: 9.04.01
> > >> Qt IDE: 2.0.3/6.2.4(6.2.4)
> > >> Platform: Win 64
> > >> Installer: J904 install
> > >> InstallPath: c:/d/j904-beta
> > >> Contact: www.jsoftware.com
> > >>
> > >> Thanks again,
> > >>
> > >> MIke
> > >>
> > >>
> > >> --
> > >> This email has been checked for viruses by Avast antivirus software.
> > >> https://www.avast.com/antivirus
> > >>
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >>
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to