Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better dimensions for "portrait" monitors #53

Open
kevinmarsh opened this issue May 26, 2015 · 7 comments
Open

Better dimensions for "portrait" monitors #53

kevinmarsh opened this issue May 26, 2015 · 7 comments
Labels
Milestone

Comments

@kevinmarsh
Copy link

I have a dual monitor setup, the same size monitors with one in landscape (1920w by 1080h) and one portrait mode (1080w by 1920h). So cycling through the dimensions on my landscape monitor with quicktile works exactly as I'd like, however on the portrait monitor I'd like the window dimensions to be slightly differently. For example currently cycling through quicktile.py bottom results in the following window three sizes:

quickitle_screenshot_bottom_default

But having the window that skinny isn't any use to me, it'd be better if it cycled through full width but varying heights like this:

quickitle_screenshot_bottom_portrait

I've only used this on my own machine so it'd need some testing for cross compatibility but you can check my fork out for an initial working version. It should behave as normal on monitors in landscape mode (where the monitor is wider than it is tall) but on portrait monitors it will have different dimensions for the top, middle and bottom positions.

@ssokolow
Copy link
Owner

Thanks. I'm a little overwhelmed with coursework right now, but I'll take a look at it once my schedule opens up a bit.

@kevinmarsh
Copy link
Author

No worries, the actual dimensions should probably be configurable (as suggested in issue 13) but it'd be nice to have the option to have different dimensions configurable dependant on whether the monitor is landscape or portrait.

@ssokolow
Copy link
Owner

Definitely makes sense. I'll have to spend some time thinking on whether there's an even more general solution I should implement in the config file system once I get around to solving #13

@Semmu
Copy link

Semmu commented Oct 13, 2019

hey! im not sure whats the state of this project, but i just found it, started using it, and i have the same issue 😅 any update? i see there hasnt been much activity on this project lately 😞

@ssokolow
Copy link
Owner

ssokolow commented Oct 13, 2019

It is still on my TODO list. It's just that the bottom fell out of my schedule in the last few months (to the point where I have one hobby project that's flat-out non-functional that I didn't have time to fix) and I'm only now starting to claw things back into shape.

Once that's done and I've fixed said project in more urgent need of a fix, I plan to finish the in-progress port of QuickTile to Python 3.x and GTK+ 3.x and then, relying on the test suite I'm starting to build as part of that process, work on rearchitecting to clear out all the major flaws like this one.

(Porting to GTK+ 3.x is complicated by QuickTile relying heavily on the bits that changed the most between GTK+ 2.x and 3.x and on GDK APIs that PyGI has the most trouble providing bindings to in a convenient way.)

@Semmu
Copy link

Semmu commented Oct 13, 2019

well then good luck with your other project(s) and your life in general! dont forget to have fun while working on things like this 😄

@ssokolow
Copy link
Owner

ssokolow commented Jan 24, 2020

In case you're interested in trying it out, the GTK 3 port that I'll be working toward a fix for this on is available in the gtk3_port branch now.

I still need to fix regressions #107 and #108 before it'll be at parity with the GTK+ 2 version, but it's already got much cleaner internals and a growing suite of automated tests.

Just don't use the pip3 URL from its README. That'll point to the GTK+ 2.x version until the port gets merged into master.

@ssokolow ssokolow added this to the JSON Config milestone Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants