https://bugs.kde.org/show_bug.cgi?id=356361

            Bug ID: 356361
           Summary: if Xorg listens on tcp , and remote windows are
                    displayed, and they are minimized, no way to maximize
           Product: plasma4
           Version: 4.11.11
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]

Please provide a way to show / switch to windows from remote hosts that have
connected 
to the local X-Server (Xorg) on for example port 6000 .
I have gone to some trouble to ensure that my X-Server does not get the
'-nolisten tcp' option
and listens on TCP port 6000 .  I need this setup for my work.  I then do
'xauth +' to enable
connections from any host .  My computer ONLY has access to a trusted network
of other 
computers .  
Then when I launch an X-Windows application on a remote host ,  the window pops
up ;
but should I happen to minimize it , and it is a large GTK application , it
does not appear
on any Plasma Task Manager Panel .
I had to install the Ubuntu 'wmctrl' package , get a listing of windows of
virt-manager 
instances :
$ xwininfo -tree -root | grep virt-manager
     0x32b1c03 "virt-manager": ("virt-manager" "Virt-manager") 
180x373+2112+500  +2112+500
     0x32aebeb "virt-manager": ("virt-manager" "Virt-manager")  172x50+2046+766
 +2046+766
     0x335b99e "ELx86 Virtual Machine": ("virt-manager" "Virt-manager") 
1276x776+2242+77  +2242+77
And because I happen to know that the window that is in the "minimized but not
in taskbar" state
is 0x335b99e , I SHOULD be able to do:
$ wmctrl -a 0x335b99e 
or 
$ wmctrl -R 0x335b99e 
or 
$ wmctrl -i -r 0x335b99e -b toggle,maximized_vert,maximized_horz

I have tried all of these, but none of them work to make the window visible  , 
and since it not in the Plasma TaskBar, I cannot switch to it  or make it
visible .
I have tried :
$ wmctrl -c 0x335b99e
But this would make the application prompt 'do you want to exit?' and does not
close the window.

When this happens I am unable to control the affected VM, because the locks are
still held by the
connection which has been passed to the libvirtd daemon for the old window. 

This may very well be a libvirtd bug,  but if xwininfo and wmctrl can see a
window on my desktop
$DISPLAY, and I cannot, this a serious issue with the window / workspace / task
manager software
(Plasma) which does not let the user see or switch to these windows . 

Now I have to kill  the remote libvirtd daemon to regain control of my VM .

I'd like Plasma to either :
A) Just create an entry for ANY and ALL windows in the TaskBar .
B) Provide an interface to 'wmctrl' that lists ALL windows in the current
$DISPLAY ,
    and lets the user switch to them or close / minimize / maximize them.
This does not appear to be possible with current Plasma from Ubuntu LTS 14.04.3
LTS, Trusty Tahr 
( libplasma 4:4.13.3-0ubuntu0.2 ) .
Is this a plasma bug or design issue ?


Reproducible: Always

Steps to Reproduce:
1. create a window on local $DISPLAY over TCP to remote client 
2. Minimize the window in plasma 4:4.13.3
3. The window still exists , but is utterly inaccessible;  it is not visible or
in any task panel.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to