[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [konqueror] [Bug 388220] New: Konqueror crashes after setting a web shortcut locally that has a syst
From:       Linux User #330250 <bugzilla_noreply () kde ! org>
Date:       2017-12-25 17:48:39
Message-ID: bug-388220-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 388220
           Summary: Konqueror crashes after setting a web shortcut locally
                    that has a system (shared) equivilant
           Product: konqueror
           Version: unspecified
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konq-bugs@kde.org
          Reporter: andreas.thalhammer@linux.com
  Target Milestone: ---

In short: Konqueror crashes when creating a new Web Shortcut of the same
filename (wich is automatically chosen) as a previous one, but with different
Name, different URL and different Shortcut.

STEPS:
I choose "Settings - Configure Konqueror" and then "Web Browsing - Web
Shortcuts" and I rename a shortcut, say:

1. Name="dict.cc Translation: English to German", Shortcut="en2de" -->
Shortcut="dictccen2de,dcen2de"
2. Name="dict.cc Translation: German to English", Shortcut="de2en" -->
Shortcut="dictccde2en,dcde2en"

and then I create a new entry, say Linguee as follows:
1. Name="Linguee Wörterbuch: Deutsch-Englisch",
URL="https://www.linguee.de/deutsch-englisch/uebersetzung/\{@}.html",
Shortcut="linguee,de2en,ld2e"


This will create the following files in
~/.kde/share/kde4/services/searchproviders:
1. en2de.desktop (DictCC, local modification)
2. de2en.desktop (DictCC, local modification)
and the new one:
3. linguee.desktop (newly created Linguee translation de2en)


Now when I additionally create a new entry for English to German, say like
this:
4. Name="",
URL="https://www.linguee.de/englisch-deutsch/search?source=englisch&query=\{@}.html",
Shortcut="en2de, le2d"

then Konqueror will crash with the subwindows "Configure - Konqueror" and "New
Web Shortcut" remaining open but not responsive.

All Konqueror windows of the same process are unresponsive with it. Separate
processes continue to work.


POSSIBLE REASON:
The reason seems to be that it tries to create another file with the name
linguee.desktop in ~/.kde/share/kde4/services/searchproviders.

I got around this crash by renaming some files there, i.e. I now have only one
dictcc.desktop file (as en2de.desktop and de2en.desktop share the same
URL="http://www.dict.cc/?s=\{@}" anyway) as well as manually renaming
linguee.desktop to de2en.desktop and creating the other one en2de.desktop
manually using the former one as a template. This got around the crash.

(I first used the filenames "linguee_en2de.desktop" and
"linguee_de2en.desktop", but then I also got the system en2de.desktop and
en2de.desktop entries from dictcc again, which I again had to rename the
shortcut for, otherwise there would have been doubles for "en2de" and "de2en".
Using the same filenames fixes this from the start.)


Reproducible: always, following the STEPS mentioned above (top of posting).

This should be fixed so that Konqueror doesn't crash anymore.

Version of Konqueror: 4.14.25, KDE Development Platform 4.14.36, Debian testing
(konqueror/testing,now 4:16.08.3-1 amd64).

-- 
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic