Task button disappears when only session manager is visible
Brought to you by:
ansgarbecker
Originally created by: SrRC... (code.google.com)@gmail.com
What is the problem that needs to be solved?
When opening Heidi, if you click in other application you have to ALT+TAB or minimize the application to get focus on Heidi.
What is the idea in abstract terms (optional)?
If possible, make it appear in the taskbar only if the main window isn't visible.
Tickets: #2679
Tickets: #2918
Tickets: #2924
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: brj1... (code.google.com)@gmail.com
Good idea, i do support this cause it sometimes happens that i start HeidiSQL, do something different and afterwards dont know wether i started Heidi already or not. Especially i am working with only 1 instance of heidi allowed.
Cheers
Robert F. Brooks
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
The underlying VCL library forces me to set
Application.MainformOnTaskBar := True;
Without doing that, or setting it to False, some Aero effects such as Flip 3D would not work with HeidiSQL. Now, when you have the session manager started, the main window is not visible, intentionally, as you would just see some ugly, empty main window behind the session manager otherwise. So, main window is still hidden, and so Application.MainformOnTaskBar disables the task button. This is very tricky, and there may be no chance to fix that. If someone can help feel very free.
Summary: Task button disappears when only session manager is visible
Labels: -Type-Enhancement -Severity-Default Type-Defect Severity-Cosmetic
Status: Accepted
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
See also: http://docwiki.embarcadero.com/VCL/en/Forms.TApplication.MainFormOnTaskBar
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: afraz...@traumazone.com
Why not just show the main form first then pop up the session manager afterwards? The behavior would be consistent with what the program does when you disconnect from a server, where the main form gets cleared out and the session manager pops up on top.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
That's what I meant with "some ugly, empty main window behind the session manager". But probably you're right. Will check if that does not throw new errors.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Issue 2679 has been merged into this issue.
Related
Tickets:
#2679View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: faii... (code.google.com)@gmail.com
Could the session manager being modal contribute to this issue? I'm hoping there's been some development on this as it does indirectly lead to this second issue.
I find another issue is when I click on the HeidiSQL icon in the taskbar to start a new session, when it turns out that I've already clicked this previously, but it was only showing the session manager (which I had forgotten about, and has invariably gotten lost somewhere in the melange of windows). All I see is no response from the system - which just encourages more clicking or alt-tabbing to see what's happened.
In the Windows task manager, multiple heidisql.exe are present, so the easiest way to retrieve the session manager is to kill all these tasks, and then run heidisql. Is there a way to enhance this single task feature so it forces any existing session manager to be refocused?
Perhaps I should create a new ticket?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
No new ticket please. You're describing the same problem in other words. In Tools > Preferences > Miscellaneous, you can disallow running multiple instances of HeidiSQL. But that will not make the task button visible on the second run.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Issue 2918 has been merged into this issue.
Related
Tickets:
#2918View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Issue 2918 has been merged into this issue.
Related
Tickets:
#2918View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: dhahler@gmail.com
Couldn't you have the same main window as when having closed all connections in HeidiSQL (instead of "some ugly, empty main window behind the session manager").
Or are you referring to this (and not a gray window without any controls)?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Yes, this is what I meant with the empty window - close the last connection and you see it behind the session manager. That's what I find ugly.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Issue 2924 has been merged into this issue.
Related
Tickets:
#2924View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
This issue was closed by revision [r4196].
Status: Fixed
Related
Commit: [r4196]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Today I realized that I was setting Application.MainFormOnTaskBar *before* the session manager is displayed. I moved that to a place which is executed just before the main form gets displayed, so, now, as long as the main window is hidden, we have the application's handle on the task bar, and we cannot use Flip3D before you see the main window. But that's way better than a hidden task button I think.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: geki... (code.google.com)@gmail.com
thank's
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: dhahler@gmail.com
Thanks!
It is good enough also to appear in Ubuntu's Alt-Tab switcher now (although without any thumbnail - but the overlay icon indicates that it is HeidiSQL).
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: iesalaz... (code.google.com)@gmail.com
Did a regression happened about this issue?
My version is 8.1.0.4545 and I can't see the taskbar button when I run HeidiSQL at first.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: dhahler@gmail.com
Indeed. I have noticed that the session manager does not show up in Alt-Tab in Wine, too.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
This issue was closed by revision [r4572].
Related
Commit: [r4572]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Sorry for the mess. I broke that in [r4530] while fixing issue #2640. I just reapplied what I've done in [r4196] which again fixes the disappearing taskbar button.
Related
Commit: [r4196]
Commit: [r4530]
Tickets:
#2640View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: dhahler@gmail.com
Speaking of using HeidiSQL in Wine on Ubuntu 13.10, this does not appear to have been fixed completely.
The session manager appears in the Alt-Tab list again (without a thumbnail though), but Alt-Tab, pause, Alt-Tab won't re-select the Session manager.
Additionally, when selecting the Session manager from the list it will not be focused.
On top of that, moving the session manager to another virtual desktop will not make it Alt-Tab'able from there (when only windows on that virtual desktop are being considered). It still appears on the old virtual desktop.
There is apparently something very special about that dialog/window.. :)