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

clicking on the task manager window icon does not minimize #2084

Closed
totaam opened this issue Dec 18, 2018 · 13 comments
Closed

clicking on the task manager window icon does not minimize #2084

totaam opened this issue Dec 18, 2018 · 13 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Dec 18, 2018

Issue migrated from trac ticket # 2084

component: client | priority: major | resolution: wontfix

2018-12-18 08:55:27: heenwu created the issue


client: win7
server: rhel7.4
Clicking on the window icon which is gedit application remoted from rhel7.4 cannot be minimized .

@totaam
Copy link
Collaborator Author

totaam commented Dec 19, 2018

2018-12-19 20:06:01: antoine changed owner from antoine to heenwu

@totaam
Copy link
Collaborator Author

totaam commented Dec 19, 2018

2018-12-19 20:06:01: antoine commented


I'm not sure I understand where you're clicking, can you include a screenshot?

Please also specify the specific xpra version you are using at both ends. (as per ReportingBugs)

@totaam
Copy link
Collaborator Author

totaam commented Dec 20, 2018

2018-12-20 02:11:43: heenwu commented


Xpra version is 2.3.4.Cannot include screenshot. I clicked the application of gedit on win7 task manager,which remoted from rhel7.4, but no minimized. I discovered this problem just on the gedit of rhel7.4.

@totaam
Copy link
Collaborator Author

totaam commented Dec 20, 2018

2018-12-20 03:02:17: antoine changed title from Clicking on the window icon cannot be minimized to clicking on the task manager window icon does not minimize

@totaam
Copy link
Collaborator Author

totaam commented Dec 20, 2018

2018-12-20 03:02:17: antoine commented


OK, so we're talking about the task manager icon, that's a bit clearer now.

version at both ends
Xpra version is 2.3.4.
Is that at both ends?

Why is this not running the latest supported version? (2.4.2 right now)

Please post the client log by adding -d metadata to the command line.

@totaam
Copy link
Collaborator Author

totaam commented Dec 20, 2018

2018-12-20 06:56:15: heenwu commented


I changed the version to 2.4.2, but this problem still exist. client log adding -d metadata as follow:

2018-12-20 14:46:47,825 process_new_common: [1, 100, 100, 1269, 811, {'size-constraints': {'minimum-size': (474, 130), 'gravity': 1, 'base-size': (0, 0)}, 'client-machine': 'rhel161', 'pid': 13288, 'group-leader-xid': 10485761, 'sticky': False, 'fullscreen': False, 'xid': '0xa000f8', 'title': 'Untitled Document 1 - gedit', 'icon-title': 'Untitled Document 1 - gedit', 'role': 'gedit-window-1545287439-846033-0-rhel161', 'above': False, 'maximized': False, 'class-instance': ('gedit', 'Gedit'), 'skip-pager': False, 'opacity': -1, 'decorations': 0, 'iconic': False, 'window-type': ('NORMAL',), 'skip-taskbar': False, 'below': False, 'command': *, 'modal': False}], metadata={'size-constraints': {'minimum-size': (474, 130), 'gravity': 1, 'base-size': (0, 0)}, 'opacity': -1, 'iconic': False, 'decorations': 0, 'client-machine': 'rhel161', 'pid': 13288, 'group-leader-xid': 10485761, 'sticky': False, 'modal': False, 'window-type': ('NORMAL',), 'skip-taskbar': False, 'fullscreen': False, 'xid': '0xa000f8', 'title': 'Untitled Document 1 - gedit', 'icon-title': 'Untitled Document 1 - gedit', 'below': False, 'role': 'gedit-window-1545287439-846033-0-rhel161', 'above': False, 'maximized': False, 'command': *, 'class-instance': ('gedit', 'Gedit'), 'skip-pager': False}, OR=False
2018-12-20 14:46:47,826 popup_types(['NORMAL'])=()
2018-12-20 14:46:47,827 set_alpha() has_alpha=False, <class 'xpra.client.gl.gtk2.gl_window_backing.GLPixmapBacking'>.HAS_ALPHA=False, realized=False
2018-12-20 14:46:47,833 update_metadata({'size-constraints': {'minimum-size': (474, 130), 'gravity': 1, 'base-size': (0, 0)}, 'opacity': -1, 'iconic': False, 'decorations': 0, 'client-machine': 'rhel161', 'pid': 13288, 'group-leader-xid': 10485761, 'sticky': False, 'modal': False, 'window-type': ('NORMAL',), 'skip-taskbar': False, 'fullscreen': False, 'xid': '0xa000f8', 'title': 'Untitled Document 1 - gedit', 'icon-title': 'Untitled Document 1 - gedit', 'below': False, 'role': 'gedit-window-1545287439-846033-0-rhel161', 'above': False, 'maximized': False, 'command': '', 'class-instance': ('gedit', 'Gedit'), 'skip-pager': False})
2018-12-20 14:46:47,833 set_metadata({'size-constraints': {'minimum-size': (474, 130), 'gravity': 1, 'base-size': (0, 0)}, 'opacity': -1, 'iconic': False, 'decorations': 0, 'client-machine': 'rhel161', 'pid': 13288, 'group-leader-xid': 10485761, 'sticky': False, 'modal': False, 'window-type': ('NORMAL',), 'skip-taskbar': False, 'fullscreen': False, 'xid': '0xa000f8', 'title': 'Untitled Document 1 - gedit', 'icon-title': 'Untitled Document 1 - gedit', 'below': False, 'role': 'gedit-window-1545287439-846033-0-rhel161', 'above': False, 'maximized': False, 'command': '', 'class-instance': ('gedit', 'Gedit'), 'skip-pager': False})
2018-12-20 14:46:56,983 metadata update for window 1: {'iconic': True}
2018-12-20 14:46:56,984 update_metadata({'iconic': True})
2018-12-20 14:46:56,984 set_metadata({'iconic': True})
2018-12-20 14:46:58,649 metadata update for window 1: {'iconic': False}
2018-12-20 14:46:58,650 update_metadata({'iconic': False})
2018-12-20 14:46:58,650 set_metadata({'iconic': False})
2018-12-20 14:47:01,720 metadata update for window 1: {'iconic': True}
2018-12-20 14:47:01,720 update_metadata({'iconic': True})
2018-12-20 14:47:01,721 set_metadata({'iconic': True})
2018-12-20 14:47:03,030 metadata update for window 1: {'iconic': False}
2018-12-20 14:47:03,030 update_metadata({'iconic': False})
2018-12-20 14:47:03,031 set_metadata({'iconic': False})
2018-12-20 14:47:04,697 metadata update for window 1: {'iconic': True}
2018-12-20 14:47:04,697 update_metadata({'iconic': True})
2018-12-20 14:47:04,697 set_metadata({'iconic': True})
2018-12-20 14:47:06,082 metadata update for window 1: {'iconic': False}
2018-12-20 14:47:06,082 update_metadata({'iconic': False})
2018-12-20 14:47:06,082 set_metadata({'iconic': False})
2018-12-20 14:47:08,748 metadata update for window 1: {'iconic': True}
2018-12-20 14:47:08,749 update_metadata({'iconic': True})
2018-12-20 14:47:08,749 set_metadata({'iconic': True})
2018-12-20 14:47:10,132 metadata update for window 1: {'iconic': False}
2018-12-20 14:47:10,132 update_metadata({'iconic': False})
2018-12-20 14:47:10,132 set_metadata({'iconic': False})
2018-12-20 14:47:25,798 metadata update for window 1: {'iconic': True}
2018-12-20 14:47:25,799 update_metadata({'iconic': True})
2018-12-20 14:47:25,799 set_metadata({'iconic': True})
2018-12-20 14:47:26,979 metadata update for window 1: {'iconic': False}
2018-12-20 14:47:26,979 update_metadata({'iconic': False})
2018-12-20 14:47:26,979 set_metadata({'iconic': False})

@totaam
Copy link
Collaborator Author

totaam commented Dec 20, 2018

2018-12-20 08:14:50: heenwu commented


It seems to not trigger minimized event when I clicked the icon of gedit from task manager, but clicking the gedit minimization button can minimize.

@totaam
Copy link
Collaborator Author

totaam commented Dec 20, 2018

2018-12-20 10:13:37: heenwu commented


I find that the gedit remoted from rhel7.4 is without border, so the window stytle cannot include "WS_MINIMIZEBOX".

@totaam
Copy link
Collaborator Author

totaam commented Dec 21, 2018

2018-12-21 06:07:07: antoine commented


I can reproduce this with any recent server OS. This looks like a "feature" of those newer gnome applications with CSD.
Client-Side-Decoration strikes again: by moving the responsibility for drawing the window controls and the title bar to the client application, they make it much more difficult to remote those applications when there isn't the same set of features available the operating system we remote to.

I'm really not sure how to solve this: forcing the window border would make it really ugly as the window would then have two title bars with the two sets of minimize and maximize buttons...

Unless you can suggest another solution, I will probably close this as 'wontfix'.

@totaam
Copy link
Collaborator Author

totaam commented Jan 18, 2019

2019-01-18 17:51:45: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Jan 18, 2019

2019-01-18 17:51:45: antoine set resolution to wontfix

@totaam
Copy link
Collaborator Author

totaam commented Jan 18, 2019

2019-01-18 17:51:45: antoine commented


Nothing we can do. It's a gnome feature.

@totaam totaam closed this as completed Jan 18, 2019
@totaam
Copy link
Collaborator Author

totaam commented Feb 18, 2019

2019-02-18 04:27:07: antoine commented


Note: there is a project called gtk3-nocsd which removes CSD - this may work for you.
Just be aware that Debian / Ubuntu packaged it wrong so it can cause crashes: #1981.

@totaam totaam added the v2.4.x label Jan 22, 2021
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

1 participant