Bug 358743

Summary: Plugin windows disappear behind main window, when closing detached plot
Product: [Applications] rkward Reporter: Thomas Friedrichsmeier <thomas.friedrichsmeier>
Component: User InterfaceAssignee: RKWard Team <rkward-devel>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Friedrichsmeier 2016-01-29 16:30:35 UTC
Reported for tracking on behalf of Meik:

> speaking of the plot previews, one thing that is constantly bugging
> me is that disabling a preview automatically "hides" the dialog
> window behind RKWard's main window. 


---Session Info---
-- Frontend --
RKWard version: 0.6.4z+0.6.5+devel1
KDE version (runtime): 4.14.13
KDE version (compile time): 4.14.13
Qt build key: x86_64 linux g++-4 full-config
Local KDE directory: /home/thomas/.kde/
RKWard storage directory: /home/thomas/.rkward/
Backend version (as known to the frontend): 3.2.2

Debug message file (this may contain relevant diagnostic output in case of trouble):
/tmp/rkward.frontend.j10241

-- Backend --
Debug message file (this may contain relevant diagnostic output in case of trouble):
/tmp/rkward.rbackend.J10247

R version (compile time): 3.2.2  (2015-08-14 r69053)
R runtime session info:
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 15.10

locale:
 [1] LC_CTYPE=en_US.UTF-8          LC_NUMERIC=C                 
 [3] LC_TIME=de_DE.UTF-8           LC_COLLATE=en_US.UTF-8       
 [5] LC_MONETARY=de_DE.UTF-8       LC_MESSAGES=C                
 [7] LC_PAPER=de_DE.UTF-8          LC_NAME=de_DE.UTF-8          
 [9] LC_ADDRESS=de_DE.UTF-8        LC_TELEPHONE=de_DE.UTF-8     
[11] LC_MEASUREMENT=de_DE.UTF-8    LC_IDENTIFICATION=de_DE.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rkward_0.6.3

loaded via a namespace (and not attached):
[1] tools_3.2.2
Comment 1 Thomas Friedrichsmeier 2016-04-03 20:08:34 UTC
The problem is encountered much less frequently with the docked previews, now. However it still exists:
1. Create _any_ plot window (in fact any detached "document" window)
2. Open a plugin dialog (in fact any non-modal dialog)
3. Close window created in 1 -> Window created in 2 goes hiding.

Problem is most definitely that when closing an RKMDIWindow (scripts, plot, tool windows, but not dialogs), RKWard tries to activate the most suitable _RKMDIWindow_ (again, not dialog).

To be fixed in frameworks branch.