Bug 940 - Do not show frame in desktop bar, constructor argument or property
Summary: Do not show frame in desktop bar, constructor argument or property
Status: CONFIRMED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-01-10 14:39 CET by Johann Sorel
Modified: 2014-01-10 15:03 CET (History)
0 users

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johann Sorel 2014-01-10 14:39:06 CET
Some frames are used as sub-frames and are not important, they do not need to be displayed in the desktop bar.

Examples are :
- tooltips
- dialogs
- popup
- dropdown menus
Comment 1 Sven Gothel 2014-01-10 14:47:06 CET
(02:41:48 PM) sgothel: for sure we have to see to security issues w/ this feature
(02:42:01 PM) sgothel: i.e. no one-and-only window w/o taskbar entry
(02:42:12 PM) sgothel: otherwise .. application could steam the desktop
(02:42:15 PM) sgothel: *steal*
(02:42:40 PM) sgothel: popup: no-decoration - hence is possible already, but w/ that taskbar entry
(02:43:17 PM) Eclesia: they could be attached to a main windows.  glWindow.createChild(boolean desktopVisible)
(02:43:18 PM) sgothel: and if used as a NEWT child window, maybe the window-icon already gets grouped ?
(02:43:20 PM) Eclesia: something like that
Comment 2 Sven Gothel 2014-01-10 14:47:29 CET
(02:46:49 PM) Eclesia: ha, found the irc log : http://jogamp.org/log/irc/jogamp_20131220050534.html
(02:47:06 PM) Eclesia: 20131220 15:04:05 <xranby> Window state:
(02:47:06 PM) Eclesia: 20131220 15:04:05 <xranby> Skip Taskbar
(02:47:06 PM) Eclesia: 20131220 15:04:26 <xranby> xwininfo -wm
(02:47:06 PM) Eclesia: 20131220 15:05:17 <xranby> so if the newt window adds this Skip Taskbar state then it will not show up in the desktop bar
Comment 3 Johann Sorel 2014-01-10 14:47:53 CET
20131220 15:04:05 <xranby> Window state:
20131220 15:04:05 <xranby> Skip Taskbar
20131220 15:04:26 <xranby> xwininfo -wm
20131220 15:05:17 <xranby> so if the newt window adds this Skip Taskbar state then it will not show up in the desktop bar
Comment 4 Sven Gothel 2014-01-10 15:02:27 CET
(03:00:16 PM) Eclesia: (14:53:29) sgothel: or maybe .. simply no fullscreen for skip-taskbar windows  : +1 for this solution
(03:00:42 PM) sgothel: then we need to define what is 'no fullscreen' ?
(03:00:52 PM) sgothel: i.e. max size 1/2 of screen ? :)
(03:01:10 PM) sgothel: or simply not the special fullscreen mode .. should work
(03:01:16 PM) sgothel: i.e. taskbar switching ..
(03:01:42 PM) sgothel: ok .. I guess we can live w/ that .. user can still bring up the console and kill the beast
(03:01:49 PM) Eclesia: not the special fullscreen mode is ok
Comment 5 Sven Gothel 2014-01-10 15:03:38 CET
Implementation note: 

While doing so - use bitfield in WindowImpl for all the boolean properties!