I am trying to run INDI Server on two Rapsberry PIs and connect from two KStars/EKOS on one Windows PC to INDI Server on Raspberry PI.
I could run two KStars/EKOS on one Windows PC.
I have one question about running them concurrently.
If I run two KStars/EKOS, will there be resource conflicts such as various configuration files and temporary files that will prevent KStars/EKOS from working properly?
If so, is there any workaround?
Read More...
Hi Jasem
Can you please let me know the results? If you can confirm that the QT problem has been fixed.
Read More...
In my case, the cause may be different because I didn't always take the next step.
Read More...
Ummm. I did not understand the specifications.
I didn't notice the double click, and the position was also changed by dragging!
Read More...
I am experiencing the same issue.
This issue has the same cause as
"Captures" in Windows EKOS Scheduler does not count up"
.
In KStars for Windows, Scheduler does not recognize the end of a sequence, so the same sequence is executed over and over again and the next sequence is not executed.
Read More...
I have attached the "git diff" file to this post.
Read More...
Hi Jasem
I investigated the issue.
I believe you have mistakenly written the code to increase the height by 1 pixel per line if m_shaded is true, as in the following "Current code".
I believe the correct code is as shown in "My proposed code".
Current code
int h = fm.height() * (m_shaded ? 1 : m_strings.size());
My proposed code
int h = (fm.height() + (m_shaded ? 1 : 0 )) * m_strings.size();
void InfoBoxWidget::updateSize()
{
QFontMetrics fm(font());
int w = 0;
foreach (const QString &str, m_strings)
{
w = qMax(w, fm.horizontalAdvance(str));
}
int h = fm.height() * (m_shaded ? 1 : m_strings.size());
// Add padding
resize(w + 2 * padX, h + 2 * padY + 2);
adjust();
}
I agree with you.
It is best to have it fixed in the latest Qt5.
Read More...
I sent messege to you about my name.
Thanks.
Read More...
Hi Jasem
I wrote code to kill only the current kstars.exe process with taskkill.
I don't know the original Issue so I am not sure if this is really correct.
Do you have a record of that Issue, such as a BTS ticket?
Also, if Qt's own bug is fixed, then this code is also unnecessary.
Before fix
QProcess::execute("taskkill /im kstars.exe /f");
QProcess::execute("taskkill /pid <Current kstars own PID> /f");
diff --git a/kstars/kstars.cpp b/kstars/kstars.cpp
index 941e93977..99696b599 100644
--- a/kstars/kstars.cpp
+++ b/kstars/kstars.cpp
@@ -275,7 +275,13 @@ KStars::~KStars()
* Hopefully we do not need this hack once the above bug is resolved.
*/
#ifdef Q_OS_WIN
- QProcess::execute("taskkill /im kstars.exe /f");
+ qint64 kstarsPid = QCoreApplication::applicationPid();
+ QString killCmd;
+ killCmd += "taskkill /pid ";
+ killCmd += QString::number(kstarsPid);
+ killCmd += " /f";
+
+ QProcess::execute(killCmd);
#endif
}
Mac, iOS, Windows, and Linux (including StellarMate OS) can use bonjour / mDNS to resolve stellarmate.local names.
Normally, stellarmate.local will work instead of IP address.
Read More...
I forgot to write one thing.
I modified it based on the Stable 3.6.6 source code.
Read More...