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

            Bug ID: 428465
           Summary: Lokalize opens the source file only once
           Product: lokalize
           Version: 20.08
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: sdepi...@gmail.com
          Reporter: zmo...@hotmail.com
                CC: sha...@ukr.net
  Target Milestone: ---

> STEPS TO REPRODUCE
1. Download the source code of any program to a separate folder (in my case,
maser branch of Inkscape);
2. Create a translation project in a separate folder;
3. Copy the language file from the source to the project folder (in my case,
file "lt.po");
4. Open a copied file in Lokalize;
5. In a window "Unit metadata" section "File:" click on link to source code
(for the first time, a dialog box asks where the source code resides) -> file
opens in external editor;
6. Close external editor;
7. Click on a link again -> nothing happens;

When I restart Lokalize, I can only open the source file once.

> EXPECTED RESULT
The link must be opened every time.

> ADDITIONAL INFORMATION
In "Settings/General" the option "Use custom editor to open source files" is
set and command line for that is "kate %1:%2".

> LOG from konsole:
----- Loaklize started ------
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
QStatusBar::insertWidget: Index out of range (5), appending widget
org.kde.lokalize: db "default140416171112000" opened 1 "lt_LT"
kf.kross.core: Action::setInterpreter: interpreter not found:  "python"
org.kde.lokalize: db "Vertimas-Inkscape140416171112000" opened 24 "lt"
org.kde.lokalize: alt trans file doesn't exist:
"/home/senbuvis/Mano_popieriai/Vertimas/Inkscape/lt.po"
org.kde.lokalize: indexed
"/home/senbuvis/Mano_popieriai/Vertimas/Inkscape/lt.po" for word completion in
23 msecs
------ clicked on a link ------
org.kde.lokalize: Starting SourceFilesSearchJob on 
"/home/senbuvis/Git/inkscape/po"
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
kf.kio.widgets.kdirmodel: protocol mismatch: "" vs "file"
------ again clicked on a link -> no additional text appears ------

> SOFTWARE/OS VERSIONS
Linux: 5.8.0-26, 64 bit
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

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

Reply via email to