Comments (6)
Strange, it doesn't do that for me (Ubuntu/Gnome, Hardy Heron, x86) -- the
window fits neatly between the top
and bottom panel areas. (There are issues with windows overlapping slightly in
the center of the screen, but
vertically they fit fine.)
Window size and positioning needs a bunch of attention anyhow, but I'm
surprised that we see different behavior
on this particular issue.
Original comment by [email protected]
on 10 Jul 2008 at 2:41
from texworks.
As described in http://doc.trolltech.com/4.4/geometry.html the window managers
working under X11 decorate (i.e. add frames, etc.) asynchronously. Hence the
exact
window size (including the frame) is not known at the time the windows are
positioned
and resized (when the window is created). Note that the windows should be placed
correctly if the positioning function is invoked manually from the menu after
the
window is fully displayed.
(Couriously, I have to call TWUtils::zoomToHalfScreen() twice for PDF views;
after
the first call the window is resized correctly but not positioned correctly)
I've attached a patch that should work around this issue by estimating the frame
border width by the frame border width of an MDI window (which is exposed via
QStyle::pixelMetric()). It works fine for me on Ubuntu 8.10 / Gnome 2.24.1.
This may solve the screen height problem as well as the border is also taken
into
account for the calculation of the height. Note that at least on my
installation, the
window seemed to snap to the panel bars / window width within certain limits.
This
could explain why the window height was correct on some systems and wrong on
others.
Original comment by st.loeffler
on 6 Jan 2009 at 12:43
Attachments:
from texworks.
[deleted comment]
from texworks.
I just found that, when enabling visual effects in Ubuntu, the TW window
(regardless
of my last patch) aligns neatly with the top panel, but extends beneath the
bottom
panel. When disabling the visual effects everything behaves as it should
regarding
the top/bottom panels.
Tested on Ubuntu 8.10 (Intrepid), with Gnome 2.24.1
Original comment by st.loeffler
on 14 Apr 2009 at 9:37
from texworks.
Thanks for this! That probably explains why some people see this problem while
others on apparently similar
systems don't have them. I hadn't realized this was a critical factor, so this
is great information.
Original comment by [email protected]
on 14 Apr 2009 at 10:55
from texworks.
This issue pertains to a long-outdated version of TeXworks and Qt. Therefore it will be closed for now. Should the issue persists in the latest version, it can be reopened of course.
from texworks.
Related Issues (20)
- More reactive changes in the settings.
- Choose syntax chunk format
- MacOS X: wrong main menu HOT 2
- Lua scripting, arm64 and x86_64 on OSX HOT 2
- .bib file interface HOT 2
- Topmost CMakeLists.txt:
- Version not provided for winget
- Add citation keys from JabRef
- test_UI fails because 112,38 != 112,39 HOT 1
- symbol lookup error HOT 2
- Randomly closes with error after compilation ends HOT 8
- U+2028 LINE SEPARATOR in editor HOT 3
- Editor: unexpected space=no break space HOT 3
- PDF Preview Lines Look Bad / Artifacted in Windows HOT 3
- Go to line dialog
- Enhance the tag panel of the editor
- Test suite fails on s390x (big endian?) HOT 9
- Invert colors in viwer
- editor background colour
- Building texworks on OSX Ventura / Apple Silicon HOT 4
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 texworks.