D25427: [WIP][Wayland] Allow to take full resolution screenshot when scaling is used
David Redondo <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
davidre added a comment. In D25427#565364 <https://phabricator.kde.org/D25427#565364>, @meven wrote: > In D25427#565342 <https://phabricator.kde.org/D25427#565342>, @davidre wrote: > > > This approach will probably fail when the geometry stretches across multiple outputs with different scales. > > > I am well aware, this a naive and basic approach to gather some learning feedback. > And Those changes are only needed for Wayland. > I need to break the geometry by screen get their scale and then put all together in a virtualScreenGeometry according to the passed Geometry. > But I need to learn how to get there, dig in the code and/or ask questions if I may. > I have a two screens system at home to test this. It's great that you are working on this! This was just a thought that came to me upon realizing that everyting goes though this method. Hmm further thinking about this. Assuming a geometry stretches across two screens. On has a scaling of two and the other not. Would then one side of the image be double the size than the other one because we want the full resolution? Or would you scale the lower resolution half of the image up? REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D25427 To: meven, davidedmundson Cc: davidre, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart