← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1294426] [NEW] EDS disabling the QML application's log

 

Public bug reported:

EDS plugin is disabling the QML app's log printed by console.log() or
print(), by installing  null message handler
(QOrganizerEDSEngineMessageOutput)

Which is making QML app's debugging little difficult and its also hide
crucial warning message.

QOrganizerEDSEngine* QOrganizerEDSEngine::createEDSEngine(const QMap<QString, QString>& parameters)
{
    // disable debug message if variable not exported
    if (qgetenv("QORGANIZER_EDS_DEBUG").isEmpty()) {
        qInstallMessageHandler(QOrganizerEDSEngineMessageOutput);
  }

It started showing log message if we export QORGANIZER_EDS_DEBUG env
variable., but also prints EDS debug log.

I believe EDS should filter log and print log which does not belongs to
EDS.

** Affects: qtorganizer5-eds (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtorganizer5-eds in Ubuntu.
https://bugs.launchpad.net/bugs/1294426

Title:
  EDS disabling the QML application's log

Status in “qtorganizer5-eds” package in Ubuntu:
  New

Bug description:
  EDS plugin is disabling the QML app's log printed by console.log() or
  print(), by installing  null message handler
  (QOrganizerEDSEngineMessageOutput)

  Which is making QML app's debugging little difficult and its also hide
  crucial warning message.

  QOrganizerEDSEngine* QOrganizerEDSEngine::createEDSEngine(const QMap<QString, QString>& parameters)
  {
      // disable debug message if variable not exported
      if (qgetenv("QORGANIZER_EDS_DEBUG").isEmpty()) {
          qInstallMessageHandler(QOrganizerEDSEngineMessageOutput);
    }

  It started showing log message if we export QORGANIZER_EDS_DEBUG env
  variable., but also prints EDS debug log.

  I believe EDS should filter log and print log which does not belongs
  to EDS.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtorganizer5-eds/+bug/1294426/+subscriptions


Follow ups

References