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

Author Topic: Bugs & Requests | Ошибки и пожелания  (Read 53149 times)

Admin

  • Administrator
  • Newbie
  • *****
  • Posts: 19
    • View Profile
Bugs & Requests | Ошибки и пожелания
« on: November 03, 2015, 06:27:15 PM »
This topic is for reporting bugs in implementations of the Lime Report
 ----------
В этой теме обсуждаются ошибки и принимаются пожелания.

edutucci

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #1 on: November 26, 2015, 01:52:19 AM »
I am using an application with PostgreSql database.
I have problems with this report tool. this tools can not load datasources and connect to database. I would like to know if this bugs can be fixed.

Errors:
1 - When I new report is created. After to create a datasource I got message No query unable to fetch row.
2- When loading a report file I can see data, but datasource is empty after double click in Text Item Editor.
3- When loading a report file, if I click in connect 2 times desgner crash.
Code error:
ModelToDataSource::~ModelToDataSource()
{
    if ((m_owned) && m_model!=0)
        delete m_model;
}


Can u help me?
I am using Qt Creator 3.5.0 and Qt 5.5.0
Compiler Qt_5_5_0_MinGW_32bit


[вложение удалено администратором]
« Last Edit: November 26, 2015, 01:54:40 AM by edutucci »

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #2 on: November 27, 2015, 02:24:47 AM »
Hi edutucci!
Thanks for your message!
We will fix it as soon as possible.
« Last Edit: November 27, 2015, 01:45:12 PM by Arin Alex »

edutucci

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #3 on: December 09, 2015, 10:48:41 PM »
I found the problem for the report in my software.
I will try explain.

When creating new project widget. I want use stackwidget and listwiget.
If I use stackwidget only, limereport can load datasource properly. But if I use listwiget and to add the action void MainWindow::on_listWidget_itemClicked(QListWidgetItem *item) limereport cant load load datasource. I cant understand this.

If I use Limereport in a empty Dialog, limereport works fine. But when I use closepreview I would like to close dialog because after closepreview shows an empty dialog.
Is there an event for this? if not Can you try add it? Close Dialog after closepreview report would be a good solution for me.

Well, Limereport works in a empty window. You must fix it for us. Adding components on screen with actions and limereport stops working does not make sense.

Problems with Dialog:

I have 3 buttons and 1 tableview to show table data on this dialog.

void dlgReport::on_btnDesign_clicked()
{
    report->dataManager()->clearUserVariables();
    report->setShowProgressDialog(false);
    report->designReport();
}

void dlgReport::on_btnPrint_clicked()
{
    QString fileName = QApplication::applicationDirPath()+"/demo_reports/garotas.lrxml";
    if (!fileName.isEmpty()) {
        report->dataManager()->clearUserVariables();
        report->loadFromFile(fileName);
        report->previewReport();
    }
}

When previewReport is executed by the first time I can see data and report works fine. But when previewReport is executed by the second time report crash.

I want to help your report become with bugs and become a better component. Dont get boring with me pls.

[вложение удалено администратором]
« Last Edit: December 10, 2015, 01:15:37 AM by edutucci »

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #4 on: December 12, 2015, 12:54:42 AM »
Hi edutucci !
What you write about the limereport's shortcomings  it's very important for us.
What do you mean to say that Limereport works in a empty window ?
Could you send us some samples where LimeReport has unexpected behavior.

edutucci

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #5 on: December 14, 2015, 02:49:02 PM »
I have a sample for you
The table garotas not work, but table produtos works

try to found what happening to report garotas if possible.
In widgetProdutos we can see in designer mode datasources and the table data, but in widgetgarotas report can not load datasources.
If load file produtos.lrxml in widgetProdutos, after we open widgetgarotas and load garotas.lrxml I see table garotas but with datasource of the produtos.lrxml.

In pdvsample.zip has:
1- table.xt (database tables)
2- My Software, I remove some codes.

I would like to know if limeport has translation for PT_BR.

[вложение удалено администратором]
« Last Edit: December 14, 2015, 02:54:33 PM by edutucci »

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #6 on: December 16, 2015, 10:37:19 AM »
Hi edutucci , thanks for your sample !  It was very useful. Thanks to it we have found an error! In the next release, which we are going to finish  this week, it will be fixed!
What about translation LimeReport doesn't have PT_BR translation yet  :(.
« Last Edit: December 16, 2015, 01:52:03 PM by Arin Alex »

edutucci

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #7 on: December 16, 2015, 09:13:25 PM »
Thank you for looking my sample and found the error.
Your team has a excelent report. I like helping goods professionals  like you that are always helping the people with bugs.
We need a good tool for report and you too.

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #8 on: December 17, 2015, 11:16:53 PM »
New release 1.3.1 has been uploaded on sourceforge.net

KorSA

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #9 on: February 17, 2016, 04:47:18 PM »
Стабильно эмулируется падение. При очень большом увеличение в  Preview(от 15 раз) ,подвигать ползунок

[вложение удалено администратором]

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #10 on: February 17, 2016, 05:30:02 PM »
KorSA, Спасибо поправим.

DrGluck

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #11 on: February 25, 2016, 01:02:40 PM »
Очень хочется сохранение в .odt или в .doc.
А уж с отладкой мы всегда поможем.

drow

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #12 on: April 27, 2016, 11:49:05 AM »
Хотелось бы знать, когда планируется сделать экспорт отчета во что-то типа ms excel, ms word, openoffice writer, openoffice calc. Очень нужно!

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #13 on: May 14, 2016, 12:55:44 PM »
Точно сказать тяжело :) В планах присутствует, но не на первом месте :)

Subst

  • Sr. Member
  • ****
  • Posts: 441
    • View Profile
Re: Bugs & Requests | Ошибки и пожелания
« Reply #14 on: May 14, 2016, 04:51:00 PM »
Алекс, по последней вот тут теме..

А попробуй что-то вроде

QTextDocument document;
document.drawContent(&painter); // где painter - это painter Отчета из твоего лаймарепорта

а потом можно через QTextDocumentWriter в html и odf перебросить

Вот!