Comments (5)
Hi Frousties,
So this one is a little tricky... with the additional snag that I don't have a dual monitor setup -- although I do run KDE / X11 (Kubuntu)
Notes:
a) In windows 11, if I don't clamp, the window can end up off screen with no way to restore (set screen resolution large, drag window off to bottom right, close, change reolution to something small, open).
b) This is not an issue with Linux. As you mentioned, it automatically fixes it up.
At the very least I could remove the clamps for Linux.. which woud presumably solve your problem. Another, maybe better, solution is to enumerate all the attached monitors and add up all the widths (but not heights) to get a total desktop width.
The benefit of the second approach is dual monitors would work on windows too. The downside is
- If monitors have different reolutions, there will be rectanguar 'holes'.
- To do it properly I'd need to know the arrangment of monitors (are the horizontal or vertical?). eg. If horizonal, you'd add widths and probably take the max height, if vertical vice-versa. I'm sure this info is available, but hard to get right without actually being able to test it.
Still, if it's supported in Linux it would be nice to support windows too. If I did the second approach I'd just assume the monitors where horizontally arranged For I'll probably do the Linux-only ifdef quickly and give you a commit hash when it's in.
from tacentview.
Huh, weird behavior, would've expected Windows between the two to clamp windows automatically
I think it would be fine to remove the clamp for now on Linux only, I'll make some tests on Windows to check how it behaves there
from tacentview.
Cool. Assuming you are able to buid the project, give d020aa4
a go. I still clamp minimum size, but that's all. I'm out for a bit.. but I think it will work.
from tacentview.
Sorry for the very late reply (life got crazy), but it seems to be working perfectly, on Windows and on Linux
from tacentview.
NP. Thanks for testing. I'm renaming this issue to just refer to improving multi-monitor in general (esp in Windows). Want to keep the comments.
from tacentview.
Related Issues (20)
- Alt image (cubemap and mipmap) not updating.
- Tidy up the small float packed containers. HOT 1
- PVR pixel format detection.
- Ensure all load features work for tImagePVR.
- Check if PVRTC V1 supportable in ktx,ktx2,and dds. HOT 1
- Display channeltype and alphamode in details.
- Pvr3 test files should validate channel type.
- Channel type set for DDS, KTX, KTX2
- Support PVR V3 flip meta-data. HOT 1
- Support PVR texture arrays.
- not able to open pkm file... HOT 3
- Support saving 16-bit PNG files in base tImagePNG
- Add properties window for PNG files. Allow colour-space conversion.
- Create a gradient 16-bit PNG test image for checking 10-bit (AKA 30bit colour) monitors.
- Update save dialog for PNG images to support lRGB 16-bpc
- Support 10 and 12-bit displays.
- advices HOT 1
- Add a 'raw data' viewer like PVRTexTool HOT 2
- [Small UI improvement] - Focus text box when renaming a file HOT 4
- Ability to copy/ paste infomation from R/G/B/Alpha channel of an image in the viewer. HOT 22
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 tacentview.