https://bugs.kde.org/show_bug.cgi?id=497187

--- Comment #2 from Philip Bartlett <phil.bartl...@optusnet.com.au> ---
Hy,

Yes, it was happening when I downloaded from source, so waited for the 
stable release to see if that fixed it. I will try your shot-in-the-dark 
in the next couple of days and report back.

Cheers,

Philip

On 9/12/24 06:02, Hy wrote:
> https://bugs.kde.org/show_bug.cgi?id=497187
>
> --- Comment #1 from Hy <hymu...@gmail.com> ---
> Philip,
>
> I'm not sure how to reproduce/debug this...I don't have your environment, and
> it doesn't crash in other environments. Are you able to compile from source 
> and
> test? If so, I have a "shot-in-the-dark" that I'd like you to try. Could you
> please add these 3 lines:
>
>      {
>          static QMutex eventFilterMutex;
>          QMutexLocker lock(&eventFilterMutex);
>
> right after line 2278 in kstars/kstars/tools/imagingplanner.cpp so that the
> start of ImagingPlanner::eventFilter() looks like this:
>
> ------------------------------------------------------
> bool ImagingPlanner::eventFilter(QObject * obj, QEvent * event)
> {
>      if (m_InitialLoad && event->type() == QEvent::Paint)
>      {
>          m_InitialLoad = false;
>          // Load the initial catalog in another thread.
>          setStatus(i18n("Loading Catalogs..."));
>          loadInitialCatalog();
>      }
>
>      {
>          static QMutex eventFilterMutex;
>          QMutexLocker lock(&eventFilterMutex);
>          // Right click on object in catalog view brings up this menu.
> ------------------------------------------------------
>
>
> then, at the end of the method you'd need to add a matching 
> close-curly-bracket
> right before the "return false;" on line 2373 (line numbers after the above
> addition) e.g.
>
> ------------------------------------------------------
>      }
>      return false;
> }
>
> void ImagingPlanner::keywordEditFinished()
> ------------------------------------------------------
>
> Thanks,
> Hy
>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to