Summary: | Opening a .kilepr file from "File|Open recent" menu opens it as "text" (in editor) instead of as a "kile project" | ||
---|---|---|---|
Product: | [Applications] kile | Reporter: | A. Sala <asala> |
Component: | user interface | Assignee: | Michel Ludwig <michel.ludwig> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | fmeier868 |
Priority: | NOR | ||
Version: | 2.1.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kile/a084c719784461cc07d099cc997a2e41c8ffa17b | Version Fixed In: |
Description
A. Sala
2013-03-27 11:14:32 UTC
I have sent a patch, which solves this problem, to the maintainer of Kile (Michel Ludwig) to commit it. Sorry, but your patch doesn't seem like the right fix. Can you maybe check why the project files are added to the recent-files menu entry? This should not happen... Also, I cannot seem to reproduce this bug with the master branch in git. I confirm this is reproduced with my copy of kile 2.1.3, on kde 4.11.3 (from kubuntu ppa) on a different machine from which I reported the bug. My comment is, perhaps, contrary to Michel's opinion: it "should" appear on the File menu (let's say that most applications place "recently opened <things>" in the file menu, so this is the first place an average user looks into --that's what I did--). Of course, if it wasn't there perhaps I would have looked elsewhere (on the project->recent projects menu, I reckon!-) ), so it's a matter of user interface choice. So my suggestion is that, as a .kilepr project is actually a "file" anyway (albeit a special one), it must be clearly documented that they do appear on the "file|recent" menu (or set up as an user-configurable option " [bool] show recent projects on the recent files list"), and, simply, adding the "patch" that if the "thing to open" is a ".kilepr" then don't open it as text but as a project. Git commit a084c719784461cc07d099cc997a2e41c8ffa17b by Michel Ludwig. Committed on 03/12/2016 at 20:26. Pushed by mludwig into branch 'master'. Open project files correctly as projects when selected in the Open File dialog M +10 -3 src/kiledocmanager.cpp https://commits.kde.org/kile/a084c719784461cc07d099cc997a2e41c8ffa17b |