https://bugs.kde.org/show_bug.cgi?id=418632
Bug ID: 418632
Summary: Creating a new article(/book/[any template]) does not
add correct .tex ending to the created file
Product: kile
Version: 2.9.93
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: user interface
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Creating a new Article does not add .tex ending to the file. Neither does
creating a new book nor any of the templates in the dialog (I'm not sure if the
dialog says "template" here, as I'm using the Finnish version of kile, which
says "aihio").
The presented "save file" dialog which pop ups immediately is set to "all
files". Entering a file name without .tex ending will create one, however we
are editing .tex files here by definition and this should not be so.
Having a file without the .tex ending open in Kile causes all kinds of problems
(such as: "not a .tex file" error dialogs, file being re-opened into a
duplicate tab sometimes if there are syntactical error during preview etc.).
STEPS TO REPRODUCE
1. Click "New" (or choose some other method to open the dialog)
2. Choose some template instead of "empty file" (*)
3. Enter a file name, without .tex in the end
*) If choosing "empty file", a file dialog for choosing a file name if not
displayed immediately but instead a tab labeled "unnamed" ("nimetön") is
opened. When user tries to save this file later on, correct filter is being
applied to the save file dialog (this is the expected behavior).
OBSERVED RESULT
Kile names the file literally as the user enters if (without .tex), and does
this without any hiccups or warning messages. However most probably this is not
what the user actually wants or needs. This causes a bit problems later on
while working with the file.
EXPECTED RESULT
For sanity the file saving dialog should be set to .tex (or (La)Tex) per
default, or an error message presented when the user tries to create a file
without .tex ending.
There may be other bugs which are triggered in this weird situation, such as
the duplicate tabs I'm seeing after syntactical errors I've made in a LaTeX
file without .tex ending in Kile, and using the preview window.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.18-2
(available in About System)
KDE Frameworks 5.67.0
Qt 5.14.1 (käännetty versiolla 5.14.1)
xcb-ikkunointijärjestelmä
ADDITIONAL INFORMATION
Kile 2.9.93
--
You are receiving this mail because:
You are watching all bug changes.