[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12882229#action_12882229 ] Roger Whitcomb commented on PIVOT-544: -- Just wanted to add to the use case for this change: Kiosk applications where the app is deployed in a mall or store setting and the computer is running only this app and users interact with it without knowing the OS or anything behind it. Generally you DON'T want the user to close the app anyway ;) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Fix For: 2.0 Attachments: undecorated_command_line_arg_trunk.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12882289#action_12882289 ] Greg Brown commented on PIVOT-544: -- I think the existing full-screen mode might be better suited for kiosk deployments. But undecorated is useful nonetheless. Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Fix For: 2.0 Attachments: undecorated_command_line_arg_trunk.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881858#action_12881858 ] Michael Allman commented on PIVOT-544: -- Hold on. I am running into some technical difficulties with my app now. I need to check to see if it's caused by this patch. Will advise. Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Attachments: undecorated_command_line_arg.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881862#action_12881862 ] Michael Allman commented on PIVOT-544: -- Moving and closing can be provided through other means, like an app provided button. For example, if my top-level window is an undecorated java.awt.Frame whose child is a wtk.Frame, i can program the latter's close button to close the top-level native window as well (and quit the app at the same time if desired). Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Attachments: undecorated_command_line_arg.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881864#action_12881864 ] Michael Allman commented on PIVOT-544: -- At this point, I've determined the problem I'm having with my app to be caused by the following two lines of code near the top of DesktopApplicationContext.java: // Clear the background setBackground(null); Can you explain the purpose of this operation? It would help me understand how my patch interacts with it. Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Attachments: undecorated_command_line_arg.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881866#action_12881866 ] Greg Brown commented on PIVOT-544: -- Not sure why that line would be a problem. When I explicitly call this: windowedHostFrame.setUndecorated(true); right after this: windowedHostFrame.add(displayHost); I don't have any trouble starting an application. So could the issue possibly be elsewhere? Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Attachments: undecorated_command_line_arg.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881961#action_12881961 ] Greg Brown commented on PIVOT-544: -- Understood. I can't apply the patch as-is, though. Can you regenerate it so it can be applied from the trunk? Thanks. Just curious - what was the Mac-specific issue? I use a Mac myself and didn't run into a problem. Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Attachments: undecorated_command_line_arg.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-544) Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window
[ https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881964#action_12881964 ] Michael Allman commented on PIVOT-544: -- I'm going to attach a new patch for trunk in a moment. Just wanted to say that I satisfactorily resolved the defect I referred to in dragging with the wtk.Frame title bar. I won't file an issue for it. As for the Mac, what was throwing me off was the fact that an awt.Frame with a translucent background is automagically mouse-draggable. If the background is opaque, on the other hand, it isn't. Took me a while to figure out this was just a Mac Java quirk. Add a command line argument, --undecorated, to support removing native Frame chrome on a non-fullscreen window Key: PIVOT-544 URL: https://issues.apache.org/jira/browse/PIVOT-544 Project: Pivot Issue Type: Improvement Components: wtk Affects Versions: 1.5 Reporter: Michael Allman Attachments: undecorated_command_line_arg.patch Attached is a patch which adds a new command line argument for Pivot desktop apps, --undecorated=(true|false), that allows for an undecorated top level frame. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.