Bug 400477 - Strange project screen when starting
Summary: Strange project screen when starting
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 11:46 UTC by Freek de Kruijf
Modified: 2019-11-29 11:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot with more or less empty lines (9.17 KB, image/png)
2018-10-30 11:46 UTC, Freek de Kruijf
Details
Screenshot without more or less empty lines (8.86 KB, image/png)
2018-10-30 11:47 UTC, Freek de Kruijf
Details
Project file which shows quite often with more or less empty lines in window Project (340 bytes, text/plain)
2018-10-30 11:49 UTC, Freek de Kruijf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2018-10-30 11:46:34 UTC
Created attachment 115979 [details]
Screenshot with more or less empty lines

SUMMARY
Regularly, but not always, when I start lokalize with --project <project_file> the window with the tree structure of the .po files has extra more or less empty lines.

STEPS TO REPRODUCE
1. Start lokalize --project <project_file>
2. The window with the project tree is shown as in the attached picture
3. 

OBSERVED RESULT
See attached picture with more or less empty lines

EXPECTED RESULT
Only lines with docmessages and messages without empty lines (see other attached picture)

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 Freek de Kruijf 2018-10-30 11:47:21 UTC
Created attachment 115980 [details]
Screenshot without more or less empty lines
Comment 2 Freek de Kruijf 2018-10-30 11:49:46 UTC
Created attachment 115981 [details]
Project file which shows quite often with more or less empty lines in window Project
Comment 3 Simon Depiets 2018-10-30 15:27:35 UTC
Is it automatic when you switch from one project to another ?

Or does one of your project folders contain subfolders with no .po files inside ?
Comment 4 Freek de Kruijf 2018-10-30 15:39:54 UTC
(In reply to Simon Depiets from comment #3)
> Is it automatic when you switch from one project to another ?

No, it is when I start a new lokalize process clicking on the project file which has an extension .lokalize, defined to start the lokalize process with a command "lokalize --project %f". Where %f is replaced by the file I clicked on. Sometimes it starts with these more or less empty lines, otherwise without these.
I do start processes using other project files, but only two of these files show this behavior.

> Or does one of your project folders contain subfolders with no .po files
> inside ?

No, see above.
Comment 5 Adrián Chaves (Gallaecio) 2019-11-29 10:47:33 UTC
Does this continue to happen? If you inspect the contents of the project files, both the ones causing the issue and the ones not causing it, can you identify any difference between each group?
Comment 6 Freek de Kruijf 2019-11-29 11:24:58 UTC
(In reply to Adrián Chaves (Gallaecio) from comment #5)
> Does this continue to happen? If you inspect the contents of the project
> files, both the ones causing the issue and the ones not causing it, can you
> identify any difference between each group?

Lately it did not appear anymore, so seems to be solved. RESOLVED.