[okular] [Bug 444990] Shortcut conflicts when filename contains number

2021-11-04 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=444990

Aetf <7437...@gmail.com> changed:

   What|Removed |Added

 CC||7437...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444990] Shortcut conflicts when filename contains number

2021-11-04 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=444990

Aetf <7437...@gmail.com> changed:

   What|Removed |Added

 Attachment #143223|0   |1
is obsolete||

--- Comment #1 from Aetf <7437...@gmail.com> ---
Created attachment 143224
  --> https://bugs.kde.org/attachment.cgi?id=143224&action=edit
The tab bar while pressing the alt key

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444990] New: Shortcut conflicts when filename contains number

2021-11-04 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=444990

Bug ID: 444990
   Summary: Shortcut conflicts when filename contains number
   Product: okular
   Version: unspecified
  Platform: Archlinux Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: 7437...@gmail.com
  Target Milestone: ---

Created attachment 143223
  --> https://bugs.kde.org/attachment.cgi?id=143223&action=edit
The tab bar while pressing the alt key

SUMMARY
In Okular by default, you can use Alt+1, Alt+2, etc. to activate annotation
tools. However, when you have multiple files open, and there are numbers in the
filenames, Alt+1, etc. may be assigned as the tabview keyboard accelerator to
switch tabs.

In the attached screenshot, it can be seen that the last document
"Statement-2021-10.pdf" has "1" underlined, suggesting it is used as the
accelerator key.

STEPS TO REPRODUCE
1. Open several documents in Okular
2. Make sure one of them gets assigned an accelerator key by pressing alt and
see which char is underlined in the tab bar
3. Press Alt+1

OBSERVED RESULT
If the current tab is not the one with filename containing "1", Okular will
switch to that tab.
If already on that tab, an "ambiguous shortcut detected" warning shows up and
nothing happens.

EXPECTED RESULT
Alt+1, Alt+2, etc. always activates the corresponding annotation tool,
regardless of filenames of currently opened documents.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.16-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Okular window visible on all virtual desktops ignores setting "Open new files in tabs"

2021-11-04 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=444890

--- Comment #11 from Dominik Kummer  ---
why not? maintain your priorities as you wish. I dont expect to be the first
one.

I just file a bug report, try to connect the dots from a user point of view,
try to scratch the surface of the source code, maybe I can contribute something
helpful, or probably I will debug it on my own someday.

but randomly redirecting bug reporters is no real help for anyone.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Okular window visible on all virtual desktops ignores setting "Open new files in tabs"

2021-11-04 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=444890

--- Comment #10 from Albert Astals Cid  ---
Ah, ridiculing the developer, that's how you expect me to chose to prioritize
your bug among the other 400 issues I can work on?

For the future, not a good idea.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-04 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=444971

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #2 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/graphics/okular/-/merge_requests/501

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Okular window visible on all virtual desktops ignores setting "Open new files in tabs"

2021-11-04 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=444890

Dominik Kummer  changed:

   What|Removed |Added

Summary|Program Feature "Open new   |Okular window visible on
   |files in tabs" not working  |all virtual desktops
   ||ignores setting "Open new
   ||files in tabs"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Program Feature "Open new files in tabs" not working

2021-11-04 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=444890

--- Comment #9 from Dominik Kummer  ---
i use special window rule blabla. yeah.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Program Feature "Open new files in tabs" not working

2021-11-04 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=444890

--- Comment #8 from Dominik Kummer  ---
so please don't redirect me into other projects without reading the report.

I supect the issue around attachExistingInstance() in shell/okular_main.cpp. It
does not understand what to do
if okular is visible on multiple virtual plasma desktops at the same time. At
least that's what the
symptom looks like. Maybe it is intentional. But it does not feel like so.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Program Feature "Open new files in tabs" not working

2021-11-04 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=444890

--- Comment #7 from Albert Astals Cid  ---
Honestly I don't even know how to use Window Rules, so I have not tried because
i don't understand what you wrote in that comment other that "I used special
Window Rules and it broke"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Program Feature "Open new files in tabs" not working

2021-11-04 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=444890

--- Comment #6 from Dominik Kummer  ---
Can you confirm the behavior I described?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=444971

--- Comment #1 from Nicolas Fella  ---
Can reproduce on current master

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=444971

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 442891] When tabs are enabled, opening a document from a file manager in one activity opens the document in a tab on the other activity's Okular, irrespective of whether it is open on th

2021-11-04 Thread michael
https://bugs.kde.org/show_bug.cgi?id=442891

michael  changed:

   What|Removed |Added

Version|21.08.1 |21.08.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 442891] When tabs are enabled, opening a document from a file manager in one activity opens the document in a tab on the other activity's Okular, irrespective of whether it is open on th

2021-11-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=442891

mma...@protonmail.com changed:

   What|Removed |Added

 CC||mma...@protonmail.com

--- Comment #3 from mma...@protonmail.com ---
Still occurs in Neon, Plasma 5.23.2, Okular 21.08.2.

I would like to add that even if there is an Okular window open on two
activities, any new file opened will open in the Okular window most recently
opened, regardless of which activity the file was opened from. 
For example, let's say I opened an Okular window first in Activity 1 and then
one in Activity 2. I go back to Activity 1 and try to open a document. This
document will open in Activity 2, because that was where the most recent Okular
window was opened.
Expected result is to have that file open in Activity 1, regardless of which
Okular window was most recently opened.

Funny thing is that this problem does not exist with separate virtual desktops,
despite virtual desktops, to my understanding, being less "separate" than
activities in Plasma.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] New: Okular crashed when opening a markdown file

2021-11-04 Thread Steven Lin
https://bugs.kde.org/show_bug.cgi?id=444971

Bug ID: 444971
   Summary: Okular crashed when opening a markdown file
   Product: okular
   Version: 21.08.2
  Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: linjt...@outlook.com
  Target Milestone: ---

Application: okular (21.08.2)

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.14-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I tried opening a markdown file from dolphin, and then it crashed.
Here is the markdown file: 
https://github.com/syl20bnr/spacemacs/blob/develop/README.md

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr = {get() = {}}
[KCrash Handler]
#6  0x7f1ef020c2a3 in QFragmentMapData::next
(this=, this=, n=7274595) at
../../include/QtGui/5.15.2/QtGui/private/../../../../../src/gui/text/qfragmentmap_p.h:295
#7  QFragmentMap::next (n=, this=) at
../../include/QtGui/5.15.2/QtGui/private/../../../../../src/gui/text/qfragmentmap_p.h:859
#8  QTextBlock::iterator::operator++ (this=this@entry=0x7ffc644b1150) at
text/qtextobject.cpp:1615
#9  0x7f1ee1ae1cb8 in Markdown::Converter::convertImages (this=, textDocument=0x55d751be8760, dir=..., parent=...) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/generators/markdown/converter.cpp:184
#10 Markdown::Converter::convertImages (parent=parent@entry=0x55d751c5ed10,
dir=..., textDocument=textDocument@entry=0x55d751be8760, this=0x55d751bc84e0)
at
/usr/src/debug/okular-21.08.2-1.1.x86_64/generators/markdown/converter.cpp:177
#11 0x7f1ee1ae2396 in Markdown::Converter::convertOpenFile
(this=this@entry=0x55d751bc84e0) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/generators/markdown/converter.cpp:125
#12 0x7f1ee1ae2591 in Markdown::Converter::convert (this=0x55d751bc84e0,
fileName=...) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/generators/markdown/converter.cpp:68
#13 0x7f1ee2448f3f in Okular::TextDocumentConverter::convertWithPassword
(fileName=..., this=0x55d751bc84e0) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/core/textdocumentgenerator.cpp:52
#14 Okular::TextDocumentGenerator::loadDocumentWithPassword (this=, fileName=..., pagesVector=..., password=...) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/core/textdocumentgenerator.cpp:290
#15 0x7f1ee240bc1c in Okular::DocumentPrivate::openDocumentInternal
(this=0x55d7510ce260, offer=..., isstdin=, docFile=...,
filedata=..., password=...) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/core/document.cpp:890
#16 0x7f1ee24181eb in Okular::Document::openDocument
(this=this@entry=0x55d7512fa100, docFile=..., url=..., _mime=..., password=...)
at /usr/src/debug/okular-21.08.2-1.1.x86_64/core/document.cpp:2330
#17 0x7f1ee2555d75 in Okular::Part::doOpenFile
(this=this@entry=0x55d7512fef20, mimeA=..., fileNameToOpenA=...,
isCompressedFile=isCompressedFile@entry=0x7ffc644b1917) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/part/part.cpp:1393
#18 0x7f1ee255860b in Okular::Part::openFile (this=0x55d7512fef20) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/part/part.cpp:1511
#19 0x7f1ef13aa265 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=this@entry=0x55d751307620) at
/usr/src/debug/kparts-5.87.0-1.1.x86_64/src/readonlypart.cpp:180
#20 0x7f1ef13ae937 in KParts::ReadOnlyPart::openUrl
(this=this@entry=0x55d7512fef20, url=...) at
/usr/src/debug/kparts-5.87.0-1.1.x86_64/src/readonlypart.cpp:141
#21 0x7f1ee25569a3 in Okular::Part::openUrl (this=,
_url=..., swapInsteadOfOpening=) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/part/part.cpp:1743
#22 0x55d7503213bb in Shell::openUrl (this=, url=...,
serializedOptions=...) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/shell/shell.cpp:285
#23 0x55d7503265ee in Shell::openDocument (this=0x55d751302950, url=...,
serializedOptions=...) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/shell/shell.cpp:236
#24 0x55d75031da85 in Shell::openDocument (serializedOptions=..., url=...,
this=0x55d751302950) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/shell/okular_main.cpp:158
#25 Okular::main (serializedOptions=..., paths=...) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/shell/okular_main.cpp:162
#26 main (argc=, argv=0x7ffc644b1eb0) at
/usr/src/debug/okular-21.08.2-1.1.x86_64/shell/main.cpp:91
[Inferior 1 (process 11254) detached]

Possible duplicates by query: bug 443057.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 432318] Windows store Okular is not found on the default windows path

2021-11-04 Thread Justin
https://bugs.kde.org/show_bug.cgi?id=432318

Justin  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444890] Program Feature "Open new files in tabs" not working

2021-11-04 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=444890

--- Comment #5 from Albert Astals Cid  ---
Window Rules are controlled by the Window Manager/Desktop Environment, so to me
this would be a Plasma bug if anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 339971] Detach Tabs / Combine multiple windows in tabs

2021-11-04 Thread Angelos Skembris
https://bugs.kde.org/show_bug.cgi?id=339971

Angelos Skembris  changed:

   What|Removed |Added

 CC||a.skemb...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 432318] Windows store Okular is not found on the default windows path

2021-11-04 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=432318

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #1 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/252

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 442975] PDF file annotated with Okular appears corrupted when looked at with other tools

2021-11-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=442975

--- Comment #5 from michael.ko...@gmx.net ---
I created a bug report upstream:
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1170

-- 
You are receiving this mail because:
You are the assignee for the bug.