[kwin] [Bug 416201] Physical size of 0mm x 0mm needs to be avoided

2020-01-13 Thread Fabian Vogt
https://bugs.kde.org/show_bug.cgi?id=416201 --- Comment #4 from Fabian Vogt --- (In reply to David Edmundson from comment #3) > Interestingly Qt has a fallback path to handle platforms not handling > physical size. > > QSizeF QPlatformScreen::physicalSize() const > { > static const int dpi =

[kwin] [Bug 416201] Physical size of 0mm x 0mm needs to be avoided

2020-01-13 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=416201 --- Comment #3 from David Edmundson --- Interestingly Qt has a fallback path to handle platforms not handling physical size. QSizeF QPlatformScreen::physicalSize() const { static const int dpi = 100; return QSizeF(geometry().size()) / dpi * qre

[kwin] [Bug 416201] Physical size of 0mm x 0mm needs to be avoided

2020-01-13 Thread Fabian Vogt
https://bugs.kde.org/show_bug.cgi?id=416201 --- Comment #2 from Fabian Vogt --- (In reply to David Edmundson from comment #1) > Or does Qt need to change to not ignore a bad physical size and assume 96? > Projectors typically have no physical size. X fakes the physical size of the screen itself

[kwin] [Bug 416201] Physical size of 0mm x 0mm needs to be avoided

2020-01-13 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=416201 David Edmundson changed: What|Removed |Added CC||k...@davidedmundson.co.uk --- Comment #1 from