[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-04-09 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=451301

--- Comment #10 from Christoph Cullmann  ---
(In reply to wokim from comment #9)
> (In reply to Christoph Cullmann from comment #8)
> > There is no sane way to avoid this crash in KTextEditor or Kate/KWrite.
> 
> Like I said earlier, KWrite does not crash when doing the same.

That is sadly no longer true, as KWrite shares now the same code as Kate in
master.

That KWrite didn't crash before was sheer luck that there the handling of open
is differently.

That modal dialogs are no longer modal with this feature is the real issue, the
application relies on that, otherwise these dialogs wouldn't be modal in the
first place.

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-04-09 Thread wokim
https://bugs.kde.org/show_bug.cgi?id=451301

--- Comment #9 from wokim  ---
(In reply to Christoph Cullmann from comment #8)
> There is no sane way to avoid this crash in KTextEditor or Kate/KWrite.

Like I said earlier, KWrite does not crash when doing the same.

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-04-09 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=451301

--- Comment #8 from Christoph Cullmann  ---
Yes, I don't think that is actually properly fixable on the application side.

In this case here, the view that has the other modal dialog open will be
deleted after the open dialog exits.

There is no sane way to avoid this crash in KTextEditor or Kate/KWrite.

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-04-09 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=451301

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com

--- Comment #7 from Ahmad Samir  ---
This looks like an issue with the dbusmenu/appmenu stuff in
Plamsa-workspace/KWin, while an app has a modal dialog open, there should
ideally be a way to block the AppMenu stuff from being used, otherwise we end
up with these unexpected situations.

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-04-07 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=451301

Christoph Cullmann  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #6 from Christoph Cullmann  ---
Yeah, ok, crashes, but that is really evil, that kills the total modal dialog
concept...

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-03-14 Thread carlos
https://bugs.kde.org/show_bug.cgi?id=451301

carlos  changed:

   What|Removed |Added

 CC||carlos.espinosa.peral@gmail
   ||.com

--- Comment #5 from carlos  ---
Not reproducable in master branch

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-03-13 Thread wokim
https://bugs.kde.org/show_bug.cgi?id=451301

--- Comment #4 from wokim  ---
(In reply to Christoph Cullmann from comment #3)
> Have you some backtrace for the crash?

No, but if you put the Application menu in the Titlebar through System
Settings, you'll probably get the same behavior.

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-03-13 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=451301

--- Comment #3 from Christoph Cullmann  ---
Have you some backtrace for the crash?

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-03-13 Thread wokim
https://bugs.kde.org/show_bug.cgi?id=451301

--- Comment #2 from wokim  ---
(In reply to Christoph Cullmann from comment #1)
> Hmm, the Save As... dialog should be modal, I am not able to click File ->
> Open... at all.

Oh, yeah, I used the Application menu in the Titlebar (customizable via System
Settings → Appearance → Window Decorations → Titlebar Buttons). Regardless, I
think Kate should still not crash. Kwrite doesn't crash when doing the same.

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

[kate] [Bug 451301] Kate crashes when opening a file while save file dialog is open

2022-03-13 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=451301

Christoph Cullmann  changed:

   What|Removed |Added

 CC||cullm...@kde.org

--- Comment #1 from Christoph Cullmann  ---
Hmm, the Save As... dialog should be modal, I am not able to click File ->
Open... at all.

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