Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Designer bug when editing Landscape report  (Read 5667 times)

alonsomm2000

  • Newbie
  • *
  • Posts: 24
    • View Profile
Designer bug when editing Landscape report
« on: May 23, 2016, 10:56:13 pm »
Hi, First I want to congratulate the creator of lime reports for such a great job.

Second I would like to report a bug I just found on: Lime Report Designer

When you create a report and switch the pageOrientation to Landscape, it looks fine the first time and save fine, but if you close the report and open it up again in Design mode the Grid still on Portrait mode so you can see a big green area on the right hand side, attached a screen shoot of it.

Note: I am using LimeReport 1.3.10 on Linux Mint 17.3 (KDE).

Regards,
           Alonso Murillo.



[вложение удалено администратором]
« Last Edit: May 23, 2016, 10:58:52 pm by alonsomm2000 »

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Designer bug when editing Landscape report
« Reply #1 on: May 23, 2016, 11:03:06 pm »
Thanks for your message  :)
Did you get "limereport" from sourcefourge or from github ?
« Last Edit: May 23, 2016, 11:13:17 pm by Arin Alex »

alonsomm2000

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Designer bug when editing Landscape report
« Reply #2 on: May 24, 2016, 01:02:59 pm »
I download it from: http://pilotfiber.dl.sourceforge.net/project/limereport/Sources/limereport_1_3_10.7z so I am not sure what the source was, but does that matter?  version 1.3.10 should be the same anywhere you download it, I think!  :D

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Designer bug when editing Landscape report
« Reply #3 on: May 24, 2016, 02:45:58 pm »
Yes you are right, version 1.3.10 the same anywhere, but at github you can get intermediate sourcecodes where this bug is fixed :) or you can wait next release 1.3.11. I'll upload it to sourceforge soon.

alonsomm2000

  • Newbie
  • *
  • Posts: 24
    • View Profile
Limereport does not compile as it comes
« Reply #4 on: May 25, 2016, 07:21:20 am »
For you next release, please note that Limereport does Not compile as it is, you have to edit:
lrscriptenginemanagerintf.h

Change:
#include <QScriptEngine>

To:
 #include <QtScript/QScriptEngine> 

Otherwise it does not compile on Qt 5.6

Regards,
            Alonso Murillo.

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Designer bug when editing Landscape report
« Reply #5 on: May 25, 2016, 09:24:56 am »
Thanks :) I'll fix it

alonsomm2000

  • Newbie
  • *
  • Posts: 24
    • View Profile
Error on Saving report
« Reply #6 on: May 25, 2016, 06:49:11 pm »
I am getting the following error when click on Save report button:

QMetaProperty::read: Unable to handle unregistered datatype 'ItemIndexMethod' for property 'QGraphicsScene::itemIndexMethod'

Solution:
when you want to use a pointer to e.g. 'ClassA' in a Q_PROPERTY, you have to register it like this:

qRegisterMetaType<ClassA*>("ClassA*");
The solution might be more complex for you due to the use of templates, but hopefully this points you in the right direction.

Regards,
           Alonso Murillo.

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Designer bug when editing Landscape report
« Reply #7 on: May 27, 2016, 01:25:46 am »
This is Qt bug :) They didn't use Q_ENUM() macros for ItemIndexMethod. As this property is not useful for LimeReport I ignore this message.