-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
xpra new-border & window render miscalculations #2762
Comments
2020-05-13 08:55:50: stdedos uploaded file
|
2020-05-13 08:56:39: stdedos edited the issue description |
2020-05-13 09:11:41: stdedos commented
|
2020-05-13 09:13:07: stdedos uploaded file
|
2020-05-13 09:15:54: stdedos uploaded file
|
2020-05-13 09:25:45: stdedos commented
|
2020-05-13 14:40:34: stdedos commented
|
By border, you mean title bar, right? (that's #2539)
As of r26344:
You don't see the menu? Or its purpose?
What is this window? Is it easy to reproduce?
Do you mean this: Custom Window Frame Using DWM? Moving away from GTK is in the roadmap, so this may still happen.
GTK makes this almost impossible to fix... (hence the point above about moving away)
I don't understand. |
2020-05-13 16:57:07: stdedos commented
|
2020-05-17 18:17:26: antoine uploaded file
|
Merged a generic file based CSS override mechanism in r26368 and verified that the CSS settings were being applied to the download progress bar (#2678). @stdedos: I'm going to look at the sizing issue next. |
2020-05-17 19:01:27: stdedos commented
|
r26390 adds the b00merang windows-10 theme, which looks good and is only marginally bigger than the default OS theme. Needs packaging: #2767 |
2020-05-19 09:42:44: stdedos commented
|
2020-05-19 09:50:48: stdedos commented
|
2020-05-19 09:51:05: stdedos uploaded file
|
2020-05-19 09:51:18: stdedos uploaded file
|
2020-05-19 09:58:34: stdedos uploaded file
|
What am I looking at?
I have no idea what I am supposed to be seeing here! |
2020-05-19 14:31:22: stdedos commented
|
2020-05-25 08:59:47: stdedos commented
|
2020-05-25 09:00:32: stdedos uploaded file
|
2020-05-25 09:43:55: stdedos commented
|
2020-05-25 09:44:11: stdedos uploaded file
|
2020-05-25 11:43:44: stdedos uploaded file
|
2020-05-25 11:44:00: stdedos commented
|
2020-05-25 14:50:36: stdedos commented
|
Ah. As you found out, xpra does not care about the order:
Might be possible, it's not clear which API is the right one to use:
Yes, that's the geometry difference between CSD and regular windows. I hope I can figure out the correct offset to use, somehow. |
2020-05-26 16:36:13: stdedos commented
|
2020-05-26 16:36:27: stdedos uploaded file
|
Matching the theme:
Result in r26477. More css links: Caveat: we don't change the theme on-the-fly, re-connecting is necessary. Next: geometry issues.
Please don't hijack this ticket. (showing the shortcuts would be possible, editing and saving would be harder) |
2020-05-27 09:43:40: stdedos commented
|
And now, finally, on to the geometry issue. On the plus side, I can reproduce the problem on Linux, which will make it much easier to work on. Anyway. Here's the paste window:
We request 283x469, but the configure event comes in for 231x376!? The new "geometry size constraints" tool I've just added to the toolbox (r26480) doesn't reproduce the problem?
|
The new "geometry size constraints" tool does reproduce the problem (just remember to enable "headerbar"), and this is now confirmed as a GTK3 bug: GTK ignores the decorations and grab area that it adds to the window. The only way I can get a window size that approaches the size we actually want is to:
A better way might be:
What a mess! |
2020-05-28 08:16:03: stdedos commented
|
2020-05-28 08:26:42: stdedos commented
|
2020-05-28 08:26:54: stdedos uploaded file
|
Fixed in r26487. (FWIW, I quite liked it, can be re-enabled with
AFAIK, it never did with the titlebar enabled? (see comment:24)
How so? |
2020-05-28 10:02:01: stdedos commented
|
2020-05-29 07:30:49: stdedos commented
|
2020-07-13 10:53:12: stdedos commented
|
2020-07-13 11:35:15: stdedos uploaded file
|
As per #2539 (comment), the headerbar is now disabled on win32 by default. Ideally, we would find a way to calculate the offset created by the headerbar, but I see no way of doing that without also showing the window - by which point it is already too late... |
2020-07-21 17:00:24: stdedos commented
|
Difficult without also going through a whole round of client-server resizing sync, potentially creating an endless resizing loop.
That's what I mean by no way of doing that without also showing the window. I'm going to close this ticket, and we can re-visit in #2824. |
Issue migrated from trac ticket # 2762
component: client | priority: minor | resolution: worksforme
2020-05-13 08:55:37: stdedos created the issue
The text was updated successfully, but these errors were encountered: