Comments (6)
What version of Linux? Is the AppImage or Flatpack?
from notepadnext.
I have also encountered the same problem under MAC. When NN is already open and minimized, double-clicking another file will not wake up NN. The NN window needs to be restored manually, then the file will be imported by NN.
Kapture.2024-04-07.at.12.36.39.webm
from notepadnext.
Archlinux, installed from AUR
@ErickWei that sounds like exact opposite to my problem
from notepadnext.
Ohh it could be another issue sorry
Archlinux, installed from AUR
@ErickWei that sounds like exact opposite to my problem
from notepadnext.
Actually if I minimize like in @ErickWei test case it feels like it's failing a lot less
Normally I'm just switching virtual desktops on KDE
from notepadnext.
Archlinux, installed from AUR
I'm not sure who maintains that repository but I'm assuming this is a general Linux issue and not specifical to Archlinux+AUR.
I have also encountered the same problem under MAC.
There's a few different components to all this working. And it works different depending on OS.
The first part is just forcing the window to be maximized and forcing it to the front of everything else. Most operating systems deem this as being malicious and make it difficult to do this.
The MainWindow::bringWindowToForeground()
method probably needs more specific implementations for Linux and Mac. I've had to implement one for Windows just because Qt doesn't provide a good cross-platform way to do it that I've found.
The other piece is sending the information of the file to open to the other instance. It relies on the 3rd party library to implement this and I know there were issues on Qt6.6+. Mac also works slightly differently when telling another instance to open a file. So I'm not completely sure why this would be failing.
I did just recently add some extra debugging info into the application to hopefully help troubleshoot but this will probably be difficult since it seems to be so OS specific.
from notepadnext.
Related Issues (20)
- Exit the Application when the last tab closed HOT 2
- [MAC OS] Close the [New 1] tab after a file opened HOT 1
- [MAC] Double-click to open a file and cannot activate the minimized NN window HOT 5
- would you please support edit code styles by user HOT 3
- Better Linux Screenshot HOT 4
- [Feature request] Find index match count HOT 1
- [feature request] temporarily store files when close 'x' button for window is pressed HOT 1
- Notepad++ autosave feature HOT 1
- flatpak runtime end of life HOT 13
- can't type in the macOS HOT 3
- MacOS Dark Mode HOT 1
- Run tools HOT 4
- Use QFileSystemWatcher for opened Editors HOT 1
- Support larger icons and icons with text labels HOT 1
- Add Portuguese (Portugal) translation template HOT 2
- Replace selected part
- Flatpak depends on EOL version of KDE 6.5 HOT 1
- Russian translation HOT 2
- Does Not Start On 'Open with...' ... With Session Resume On
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepadnext.