kwin/src/effects
David Edmundson 7292af3d04 Use floating geometry throughout
With fractional scaling integer based logical geometry may not match
device pixels. Once we have a floating point base we can fix that. This
also is
important for our X11 scale override, with a scale of 2 we could
get logical sizes with halves.

We already have all input being floating point, this doubles down on it
for all remaining geometry.

- Outputs remain integer to ensure that any screen on the right remains
aligned.
 - Placement also remains integer based for now.
- Repainting is untouched as we always expand outwards
 			   (QRectF::toAdjustedRect().
 - Decoration is untouched for now
 - Rules are integer in the config, but floating in the adjusting/API
This should also be fine.

At some point we'll add a method to snap to the device pixel
grid. Effectively `round(value * dpr)  / dpr` though right now things
mostly work.

This also gets rid of a lot of hacks for QRect right and bottom which
are very
confusing.

Parts to watch out in the port are:
 QRectF::contains now includes edges
QRectF::right and bottom are now sane so previous hacks have to be
removed
 QRectF(QPoint, QPoint) behaves differently for the same reason
 QRectF::center too

In test results some adjusted values which are the result of
QRect.center because using QRectF's center should behave the same to the
user.
2022-07-14 10:04:46 +01:00
..
backgroundcontrast Use floating geometry throughout 2022-07-14 10:04:46 +01:00
blendchanges SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-03 01:57:17 +00:00
blur Use floating geometry throughout 2022-07-14 10:04:46 +01:00
colorpicker SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
desktopgrid SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
dialogparent/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-06-14 01:52:48 +00:00
diminactive SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
dimscreen/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-11 01:48:31 +00:00
eyeonscreen/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-04 01:48:22 +00:00
fade/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-06-27 01:43:00 +00:00
fadedesktop/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-04 01:48:22 +00:00
fadingpopups/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
fallapart SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
frozenapp/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
fullscreen/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
glide SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
highlightwindow SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
invert SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-04 01:48:22 +00:00
kscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
login/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-04 01:48:22 +00:00
logout/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
lookingglass SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-04 01:48:22 +00:00
magiclamp Use floating geometry throughout 2022-07-14 10:04:46 +01:00
magnifier SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-11 01:48:31 +00:00
maximize/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
morphingpopups/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
mouseclick SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
mousemark SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
overview effects/overview: make add/delete Virtual Desktop buttons consistent 2022-07-05 08:53:15 -06:00
private Don't use Plasma-themed icons in Present Windows 2022-07-14 08:01:51 +00:00
scale/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
screenedge SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
screenshot Use floating geometry throughout 2022-07-14 10:04:46 +01:00
screentransform SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-03 01:57:17 +00:00
sessionquit/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-04 01:48:22 +00:00
sheet SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-03 01:57:17 +00:00
showfps SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
showpaint SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-04 01:48:22 +00:00
slide Fix flickering in slide effect with multi screen 2022-07-06 14:25:57 +00:00
slideback Use floating geometry throughout 2022-07-14 10:04:46 +01:00
slidingpopups Use floating geometry throughout 2022-07-14 10:04:46 +01:00
snaphelper Use floating geometry throughout 2022-07-14 10:04:46 +01:00
squash/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
startupfeedback SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
thumbnailaside Use floating geometry throughout 2022-07-14 10:04:46 +01:00
touchpoints SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
trackmouse SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-11 01:48:31 +00:00
translucency/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-05-03 01:49:38 +00:00
windowaperture/package SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-01 01:52:46 +00:00
windowview SVN_SILENT made messages (.desktop file) - always resolve ours 2022-07-02 02:03:09 +00:00
wobblywindows Use floating geometry throughout 2022-07-14 10:04:46 +01:00
zoom kwineffects: Strip ScreenPaintData of transforms 2022-07-06 11:10:54 +00:00
CMakeLists.txt Remove completely present windows 2022-05-06 11:37:17 +00:00
kwineffect.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2022-04-01 02:01:13 +00:00
Messages.sh effects: Extract messages from QML files 2022-02-14 11:36:51 +00:00
strip-effect-metadata.py Use a python script to strip effect metadata 2022-03-09 13:58:41 +00:00