[GH-ISSUE #160] about window,how to control the position , hide, display, get focus #102

Closed
opened 2026-05-05 11:42:04 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @chuanhaisoft on GitHub (Jun 18, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/160

about window,how to control the position , hide, display, get focus

Originally created by @chuanhaisoft on GitHub (Jun 18, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/160 about window,how to control the position , hide, display, get focus
Author
Owner

@mischnic commented on GitHub (Jun 18, 2018):

Nothing of that is supported.

<!-- gh-comment-id:398163088 --> @mischnic commented on GitHub (Jun 18, 2018): Nothing of that is supported.
Author
Owner

@kusti8 commented on GitHub (Jun 19, 2018):

Proton Native depends on libui, which doesn't have support for any of those.

<!-- gh-comment-id:398238095 --> @kusti8 commented on GitHub (Jun 19, 2018): Proton Native depends on libui, which doesn't have support for any of those.
Author
Owner

@chuanhaisoft commented on GitHub (Jun 19, 2018):

but these features are important

<!-- gh-comment-id:398402455 --> @chuanhaisoft commented on GitHub (Jun 19, 2018): but these features are important
Author
Owner

@mischnic commented on GitHub (Jun 19, 2018):

Yes, they are. But proton-native is built on libui-node which is in turn a wrapper around libui. These features would have to be implemented in libui itself.

Window focussing is tracked in this issue (uiWindowRequestAttention): https://github.com/andlabs/libui/issues/309
Window position can't be easily implement cross platform: https://github.com/andlabs/libui/issues/351

<!-- gh-comment-id:398430089 --> @mischnic commented on GitHub (Jun 19, 2018): Yes, they are. But proton-native is built on libui-node which is in turn a wrapper around [libui](https://github.com/andlabs/libui). These features would have to be implemented in libui itself. Window focussing is tracked in this issue (`uiWindowRequestAttention`): https://github.com/andlabs/libui/issues/309 Window position can't be easily implement cross platform: https://github.com/andlabs/libui/issues/351
Author
Owner

@chuanhaisoft commented on GitHub (Jun 20, 2018):

If only on windows and macos?

<!-- gh-comment-id:398745454 --> @chuanhaisoft commented on GitHub (Jun 20, 2018): If only on windows and macos?
Author
Owner

@neesonqk commented on GitHub (Jul 2, 2018):

Looking forward to this same feature...

<!-- gh-comment-id:401722257 --> @neesonqk commented on GitHub (Jul 2, 2018): Looking forward to this same feature...
Author
Owner

@kusti8 commented on GitHub (Jul 2, 2018):

The entire point of Proton Native is that it is cross platform. Once you start making stuff that only works on one platform, it gets very confusing and defeats the purpose. This all depends on how libui implements this and when they do.

<!-- gh-comment-id:401784724 --> @kusti8 commented on GitHub (Jul 2, 2018): The entire point of Proton Native is that it is cross platform. Once you start making stuff that only works on one platform, it gets very confusing and defeats the purpose. This all depends on how libui implements this and when they do.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#102
No description provided.