MantisBT - QElectroTech
View Issue Details
0000081QElectroTechDiagram Editorpublic2016-09-26 20:122016-10-05 09:27
ReporterMorganol 
Assigned Toscorpio810 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinux 4.7.4, Qt 5.6.1, kf5.26.0OSMageia 6, Plasma 5.7.95OS Version6 (deveopment)
Product VersionSVN/trunk 
Target VersionFixed in VersionSVN/trunk 
Summary0000081: Picture insert file choose dialog do not display *.jpeg files
DescriptionWorkaround is to rename files to .jpg



QElectroTech Version: downloaded and compiled day before yesterday



In running app, I can not find version other than "0.51-dev"

 - cloud that be improved?
TagsNo tags attached.
Attached Files

Notes
(0000159)
scorpio810   
2016-09-26 20:49   
If you compile yourself is normalhy, I patch qet.h source file displayedVersion variable with subversion trunk number in my packages.
(0000160)
scorpio810   
2016-09-26 20:56   
Revision: 4726
Author: scorpio810
Date: 2016-09-26 20:54:50 +0200 (Mon, 26 Sep 2016)
Log Message:
-----------
Bug fix : Picture insert file choose dialog do not display *.jpeg files
(0000161)
Morganol   
2016-09-27 09:11   
Quickly fixed, thanks :)

I know i saw version number when i retrieved source, but in compiled and running version it is not visible in GUI?

Practical question: if user wants to report a bug and don't know what version was compiled: how to find out the exact revision?
(0000162)
scorpio810   
2016-09-27 13:29   
patch displayedVersion label in qet.h like MacQetDeploy.sh script in misc directory or my script :
Debian.sh

namespace QET {
    /// QElectroTech version (as string, used to mark projects and elements XML documents)
    const QString version = "0.51";
    /// QElectroTech displayed version
    const QString displayedVersion = "0.51-dev";
    QString license();
(0000163)
Morganol   
2016-09-28 11:37   
The about dialogue, tab Version, already say:

                      QElectroTech V 0.51-dev
Compilation: GCC 5.4.0 - built with Qt 5.6.1 - run with Qt 5.6.1

It would be great if it could also say "Revision: xxxx" at end of that first row
(0000164)
scorpio810   
2016-09-28 11:43   
(Last edited: 2016-09-28 11:46)
When you get source by svn save svn revision number in variable on your script and patch qet.h displayedVersion by sed before make your package or compile !

namespace QET {
/// QElectroTech version (as string, used to mark projects and elements XML documents)
const QString version = "0.51";
/// QElectroTech displayed version
const QString displayedVersion = "0.51-dev +svn 4720";
QString license();

(0000165)
Morganol   
2016-09-28 17:33   
Ah, now i understand, thanks.
I just thought it could be more automated, making sure to get correct revision in bug reports :)
I am not very used to compiling, your program is one of the few i ever compiled, however i wrote down how i did to help others on mageia: https://wiki.mageia.org/en/QElectroTech

Issue History
2016-09-26 20:12MorganolNew Issue
2016-09-26 20:49scorpio810Note Added: 0000159
2016-09-26 20:56scorpio810Fixed in Version => SVN/trunk
2016-09-26 20:56scorpio810Note Added: 0000160
2016-09-27 09:11MorganolNote Added: 0000161
2016-09-27 13:29scorpio810Note Added: 0000162
2016-09-28 11:37MorganolNote Added: 0000163
2016-09-28 11:43scorpio810Note Added: 0000164
2016-09-28 11:46scorpio810Note Edited: 0000164bug_revision_view_page.php?bugnote_id=164#r136
2016-09-28 17:33MorganolNote Added: 0000165
2016-10-05 09:27scorpio810Statusnew => resolved
2016-10-05 09:27scorpio810Resolutionopen => fixed
2016-10-05 09:27scorpio810Assigned To => scorpio810