[
https://issues.apache.org/jira/browse/PIVOT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881957#action_12881957
]
Michael Allman commented on PIVOT-544:
--------------------------------------
Okay. I resolved the issue I was having. Took a while because it's Mac
specific and that threw me off. Anyway, it has nothing to do with this patch.
I stand by it.
So on to the rationale. Basically, I want to have a wtk.Frame in an
undecorated native Frame. It's just a matter of preference really. I'm not
suggesting there's a technical merit to it, but I don't see why Pivot app
developers shouldn't have a way to support this use case. Sure, they can
misuse it to create hideously unusable applications. Undecorated native frames
are like an "expert" setting. That's why they're disabled by default (in
keeping with existing behavior).
As for moving and closing... I think I addressed the closing issue
above---just wire up the wtk.Frame's close button to close it's native host
frame. (Same goes for maximizing the frame).
For moving, I have successfully wired the app to permit moving the native frame
by dragging the wtk.Frame's title bar. (Actually, this is slightly defective.
I have a workaround to fix the defect, but I will save that for another issue).
So, in essence, I have a desktop app whose wtk.Frame chrome works like the
native chrome, but without the native chrome. Without this command line switch
(or some other programmatic means), I cannot implement this use case.
Cheers and thanks.
> 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.