Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Show() and Hide() to runtime to show/hide application #1599

Merged
merged 4 commits into from
Jul 20, 2022

Conversation

leaanthony
Copy link
Member

@leaanthony leaanthony commented Jul 19, 2022

Potential fix for #1583
It should be noted that for Windows and Linux, this will simply call WindowShow and WindowHide.
Mac has the concept of hiding applications which is different from hiding the window. That's what this API does.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 19, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1ef1a25
Status: ✅  Deploy successful!
Preview URL: https://f3f9fecf.wails-website.pages.dev
Branch Preview URL: https://feature-application-show-hid.wails-website.pages.dev

View logs

Copy link
Collaborator

@stffabi stffabi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@leaanthony leaanthony merged commit 2991278 into master Jul 20, 2022
@leaanthony leaanthony deleted the feature/application-show-hide branch July 20, 2022 10:59
leaanthony added a commit that referenced this pull request Jul 21, 2022
* Add troubleshooting for `Not Found` error (#1586)

Issues with Vite's optimizer

* Remove usage of unsafe.Pointer in winc (#1556)

* Remove usage of unsafe.Pointer

* [windows] Remove MakeIntResource and add overloads for Load functions

* Fix `EnumProc` race condition.

* Refactor `EnumDisplayMonitors` to use `unsafe.Pointer` instead of `uintptr`

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

* [windows] Fix stack corruption when using ICoreWebView2HttpHeadersCollectionIterator (#1589)

The API expects a `BOOL *` with `typedef int BOOL` therefore
we need to use a `int32` on the stack.

* Docs/better homepage (#1591)

* Better carousel width

* Learn more button

* Learn more button

* Fix button/width

* Update introduction

* Fix outline colour

* remove custom css

* remove default css

* use secondary button

* Update sponsors. Improve website for mobile.

* v2.0.0-beta.39

* fix docs again

(cherry picked from commit 0a9ae0d)

* Fix docs for good

* Docs FTLOG

* Fix docs again!

* Fix Varly link

* Fix Varly link

* Update example for macOS Menu (#1600)

* Update example for macOS compatibility

Reference #1588

* Add comments, remove duplicates

* Add compatibility for Go1.17 (#1605)

* v2.0.0-beta.39.2

* [v2] Fix plain template (#1609)

* [template] Add missing main.go file to plain template

* [dev] If wails could not be find in go.mod output a gracefull error message

* Install dev dependencies before starting dev mode (#1615)

* Add Show() and Hide() to runtime to show/hide application (#1599)

* Add Show() and Hide() to runtime to show/hide application

* Fix devserver

* Update API docs

* Fix container size (#1616)

* Update Crowdin configuration file

* Update Crowdin configuration file

* Update Crowdin configuration file

* Bump terser from 4.8.0 to 4.8.1 in /runtime/js (#1625)

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump terser from 5.12.0 to 5.14.2 in /website (#1627)

Bumps [terser](https://github.com/terser/terser) from 5.12.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Antonio <acheong@student.dalat.org>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants