dl8aau / wtkst

Client for the ON4KST chat with interfaces to logging software and Airscout
GNU General Public License v3.0
4 stars 2 forks source link

Feature request: show heading for callsign #7

Open emcodem opened 4 months ago

emcodem commented 4 months ago

Hi dl8aau :)

Thanks a lot for this magnificent tool, very helpful! Do you accidently accept "good ideas" as feature request? E.g. we have the Call sign of another station and need to know the locator to find out directions (e.g. 330 deg)

In kst2me (if you know it) there was a context menu " Show heading " where you immediately saw 225° or wherever they were... but kst2me is unfortunately not maintained and not really useable anymore

dl8aau commented 4 months ago

wtKST displays the heading and distance (through the right button menu usually). Or do you want to have the most likely locator for a call (and then direction/distance)? That is currently possible through "/shloc " entered as text in the input line. Not so nice, but at least it works.

emcodem commented 2 months ago

honestly for some reason it seems that the users that were asking me for this feature do/did not see the existing distance label in the context menu. I was asked to change the context menue to display CALL LOC (dist km, degree) in the context menue and they were happy. However, now we run a custom build of wtkst so i would like to ask if you can imagine doing the same in the main trunk.

Here is my git diff but i imagine you know already where i did what:


------------------------------- wtKST/MainDlg.cs -------------------------------
index 22dc869..50b918d 100644
@@ -2101,8 +2101,10 @@ namespace wtKST
                        string loc = userRow["LOC"].ToString();
                        this.cmn_msglist_toolStripTextBox_DirQRB.Text = string.Concat(new object[]
                        {
-                            WCCheck.WCCheck.QTF(Settings.Default.KST_Loc, loc).ToString("000"), "° ",
-                            WCCheck.WCCheck.QRB(Settings.Default.KST_Loc, loc), " km"
+                           userRow["CALL"], " ", //emcodem added call and loc info on rightclick
+                           userRow["LOC"], " (",
+                           WCCheck.WCCheck.QTF(Settings.Default.KST_Loc, loc).ToString("000"), "° ",
+                           WCCheck.WCCheck.QRB(Settings.Default.KST_Loc, loc), " km)"
                        });
                        this.cmn_msglist_toolStripTextBox_DirQRB.Visible = true;
                     } else

I guess sending a pull request for such minor stuff would only cause headache...