Comments (4)
Are you running the 4K TV with 2x scaling? I have a likely fix for your problem that I got side-tracked from merging into master. Try the hidpi_fix
branch and let me know if that works as expected.
Here's how the problem I suspect you're encountering works:
- I don't have any monitors bigger than 1920x1080 and certainly no HiDPI monitors and issue #113 introduced me to the discovery that GDK and libWnck handle HiDPI differently.
- libWnck, being concerned with window management across the whole desktop, which could be made up of varying DPI monitors, works in device pixel coordinates. If the screen is 4K, the API call to reposition a window expects dimensions in 4K.
- libWnck doesn't have API calls to get monitor rectangles, so I rely on GDK for that.
- GDK is normally used for writing more ordinary applications, so it pre-scales coordinates so that something HiDPI-unaware that gets scaled up will continue to Just Workβ’.
- Because of this, if you're running a 4K with 2x scaling and ask GDK what the monitor rectangle is, it reports
1920x1080
rather than3840x2160
. - The
hidpi_fix
branch adds calls to explicitly translate between device and application pixels when making GDK calls.
If it seems to work for you, please test it as thoroughly as you can so I have that little bit of extra confirmation that I didn't introduce any bugs before I merge the branch to master.
from quicktile.
The hidpi_fix
branch has now been merged to master
and I'm going to assume that fixes your problem for lack of a reply.
from quicktile.
Sorry just saw this! No scaling but the problem no longer occurred after setting a 4K resolution with via xrandr. Thank you for the support! Would you like me to verify the latest on master doesn't have the above issue using 2X scaling?
from quicktile.
Sorry just saw this!
That's OK. I'm sure I have plenty of other things which I lost track of, so I can sympathize.
Would you like me to verify the latest on master doesn't have the above issue using 2X scaling?
A test would be appreciated since I still don't have any HiDPI hardware to test with myself.
from quicktile.
Related Issues (20)
- FIX quicktile thinks my screen is much smaller than it is HOT 17
- move-to-{top,left,right,bottom} behavior changed in 0.4.0 HOT 8
- Overlapping windows when positioning vertically on Ubuntu 20.04 HOT 25
- Quicktile is not detecting IceWM taskbar HOT 12
- Currently unpredictable state cycling, suggest replace with much simpler logic, gains predictability and cognitive comfort. HOT 1
- PackageNotFoundError in Manjaro after last pacman update HOT 2
- Display a warning if ModMask and per-binding modifiers overlap in potentially confusing ways HOT 8
- Restore the previous window's size & position before tiling. HOT 8
- Skipping the 1/2 width option HOT 3
- While using "right" or "center" command on with external monitor, the windows switch to the next monitor HOT 21
- External keyboard, "Right" keyboard binding breaks HOT 14
- Control-C on `quicktile --daemonize` can hang X on LXDE HOT 1
- No errors and no funcionality on Ubuntu 20.04 HOT 1
- Bug detected - A programming error has been detected during the execution of this program HOT 4
- Failed to load module "xapp-gtk3-module" HOT 5
- Move window to other workspace HOT 4
- 3 columns layout, but gap between left and center HOT 6
- Xfwm4 integration / size restoration HOT 3
- Release a new version. Please. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quicktile.