[okular] [Bug 412978] Okular creates tabs for deleted files

2020-02-11 Thread Postix
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #15 from Postix --- Thank you, Albert! :) -- You are receiving this mail because: You are watching all bug changes.

[okular] [Bug 412978] Okular creates tabs for deleted files

2020-02-10 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=412978 Albert Astals Cid changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|---

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-24 Thread Andi Sardina
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #13 from Andi Sardina --- @Postix I was wrong about what I said in my last comment. The code for updating the UI is in a different place. I have moved it to only show a tab when the file is successfully opened. -- You are receiving this

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Andi Sardina
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #12 from Andi Sardina --- Postix, I notice it, but the problem is that the function to open the file is in the part (KParts::ReadWritePart), which is created and added to the tab widget before know if the file will be opened successfully

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Postix
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #11 from Postix --- > I used your idea to solve both problems. > We only needed to add that line > [closeTab( m_tabs.size() - 1 );] > in the function Shell::openUrl. Great that you could have resolve it. As I am not quiet familiar with

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Andi Sardina
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #10 from Andi Sardina --- Yuri Chornoivan, I used your idea to solve both problems. We only needed to add that line in the function Shell::openUrl. -- You are receiving this mail because: You are watching all bug changes.

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #9 from Yuri Chornoivan --- (In reply to Andi Sardina from comment #7) > Yuri Chornoivan, your solution doesn't solve the problem. > > Try this: > > * Open one document. Let's call this document A. > * Now move or delete the document A. >

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Postix
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #8 from Postix --- A(In reply to Andi Sardina from comment #7) > Yuri Chornoivan, your solution doesn't solve the problem. > > Try this: With that you just have described bug #412979, which you can now confirm. :) -- You are receiving

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Andi Sardina
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #7 from Andi Sardina --- Yuri Chornoivan, your solution doesn't solve the problem. Try this: * Open one document. Let's call this document A. * Now move or delete the document A. * Press CTRL+W and close the document A. * Now open a new

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #6 from Yuri Chornoivan --- (In reply to Andi Sardina from comment #3) > Hi Yuri Chornoivan, > > You can create the PR if that solves the issue!! https://invent.kde.org/kde/okular/merge_requests/53 -- You are receiving this mail

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Postix
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #5 from Postix --- (In reply to Andi Sardina from comment #4) > I will suggest removing the document from the recent documents menu. It makes sense that, that once Okular has detected that a file no longer exists, the entry of the deleted

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Andi Sardina
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #4 from Andi Sardina --- I will suggest removing the document from the recent documents menu. -- You are receiving this mail because: You are watching all bug changes.

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Andi Sardina
https://bugs.kde.org/show_bug.cgi?id=412978 --- Comment #3 from Andi Sardina --- Hi Yuri Chornoivan, You can create the PR if that solves the issue!! -- You are receiving this mail because: You are watching all bug changes.

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=412978 Yuri Chornoivan changed: What|Removed |Added CC||yurc...@ukr.net --- Comment #2 from Yuri

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Andi Sardina
https://bugs.kde.org/show_bug.cgi?id=412978 Andi Sardina changed: What|Removed |Added Ever confirmed|0 |1 CC|

[okular] [Bug 412978] Okular creates tabs for deleted files

2019-10-15 Thread Postix
https://bugs.kde.org/show_bug.cgi?id=412978 Postix changed: What|Removed |Added CC||pos...@posteo.eu -- You are receiving this mail