Comments (5)
I'll be on vacation for the next two weeks, but afterwards, I'll have a look.
For now: I suspect that this is (partially) a WM bug. Fullscreening in X11 happens via a hint to the WM, and it's the WM's responsibility to resize and place the window accordingly. (I do have some code in place to fullscreen when using -f
and there is no WM present though, but that shouldn't trigger when you fullscreen using the f
key or your WM's controls.) In your screenshot, the window covers only half the screen, so clearly something went wrong when resizing. For starters, you could test if other fullscreen applications work. Run the following Python script (needs pygtk):
import gtk
w = gtk.Window()
w.connect("hide", gtk.main_quit)
w.show()
# Try playing around with the aspect ratio (values from 0.0 to 1.0) and/or size requests
# I suspect that the aspect ratio plays a role
#aspect = 1
#w.set_size_request(400, 600)
#w.set_geometry_hints(min_aspect=aspect, max_aspect=aspect)
w.fullscreen()
gtk.main()
It should display an empty, fullscreen window. (Quit with your wm's hotkey)
from pqiv.
Thanks for the quick reply!
Other full-screen apps seem to work correctly (that's why I asked here first) but the script above behaves inconsistently depending on the size request and aspect ratio, although if it requests the same size as the screen (1280x1024), full-screen works whatever the aspect.
I'll try asking about this at the awesome mailing list and report back.
from pqiv.
I've been able to reproduce the bug. IMHO, what you experience is a bug in awesome wm. I haven't been able to track down the bug to its source though - their function for applying the aspect ratio, client_apply_size_hints
, is not involved in the call to client_resize_do
with the wrong geometry, but the bug still depends on requesting an aspect ratio not fitting the screen's prior to going fullscreen.
However, I think I've found a workaround. See the awesome-fs-bugfix branch.
from pqiv.
Thanks for tracking the problem down and the workaround! This change indeed makes everything work correctly. Do you plan to incorporate it into the next release?
I'm sorry, I didn't ask awesome's developers about the problem yet, but I intend to do it right now, referencing this bug report.
from pqiv.
I think so, because it does not seem to have any side effects. I'll do some further testing beforehand though..
from pqiv.
Related Issues (20)
- Feature Request: save displayed image HOT 2
- Crash with a alignment trap issue when trying to view video files on a raspberry pi 2b HOT 4
- Slideshow interval fine for plain images and pdfs, not so much for animated gif / mp4 movies
- Control content of info box HOT 1
- Fix deprecation warnings HOT 1
- How can I bind a key to move file to a particular folder? HOT 1
- [bug] Sorting by name does not work if input is a directory HOT 2
- Use Command Output as Action Parameter HOT 1
- Release 2.13 HOT 10
- pqiv-2.12, SIGSEGV in bostree_node_count HOT 6
- pqiv doesn't play videos — missing libav.. libraries the reason? HOT 1
- output path of marked images in montage mode HOT 5
- pqiv craches viewing avif images
- --browse breaks file browsers in 2.13
- Scaling for initial image is sometimes incorrect HOT 5
- how to setting no info window at startup etc. HOT 2
- Proper color management with ICC profiles HOT 3
- Montage: previews don't scale up on HiDPI screen in KDE, spill beyond display borders
- pqiv plays video files, how to stop it? HOT 1
- Feature request: Add a command line option to ignore input events?
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 pqiv.