-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Stay On Top #31
Comments
Added to "View" menu, with bindable keyboard shortcut which defaults to |
@martinrotter |
Problem- if I check Stay On Top when Textosaurus (version 0.9.0.0) is in maximized state and then I click Restore button in the title bar Textosaurus loses its minimized window state. |
You mean non-maximized window state, right? |
I did some tweaks, please test 744fa38 when its development build gets compiled. |
@martinrotter |
Yes, problem here is, that once I switch stay-on-top flag, then Qt (GUI library) automatically hides the window and DISCARDS its internal state (size/position). This is because of some low-level OS restrictions for top-level windows. So, I tried to add necessary logic by myself in latest commit. Test it pls, if you can. |
OK, I will. |
What about Stay On Top disabled when Textosaurus is in maximized state? |
Well, if Textosaurus main window is maximized that does not mean that you cannot mave any windows in front of it. If someone wants to drag some texts into textosaurus main window, it does not matter that window is maximized or not. I would rather fix the behavior, which was indeed broken. Test, and we will see. |
Version textosaurus-0.9.1-43d5130-win64 seems to resolve the problem with losing window state if Stay On Top was enabled in maximized window state. However switching to Stay On Top is not very smooth- the window flickers a bit. |
Yes, this is inevitable consequence of Qt implementation of "stay-on-top" flag. Nothing much better can be done. I could think about this. |
This is not a great problem. You may release new fixed stable textosaurus version because this issue and the tray one (#13 ) were rather unpleasant. |
Yes, I will release today. |
@martinrotter
You may add new command - Stay On Top (or just On Top) in View menu (with shortcut key, CTRL+T is very common) which puts Textosaurus on top of all windows. This would be very useful especially when the user needs to drag snippets of text (from web browser, mail client, other text editor, etc) into Textosaurus. To use such functionality currently I need to resort to external tools (for example SmartSystemMenu). Of course native support for Stay On Top would be better and handier. I suppose this feature would not be hard to be implemented.
The text was updated successfully, but these errors were encountered: