since Qt5, \n \t printed as string to the mixxx.log

Bug #1797746 reported by Bernd Binder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
Bernd Binder

Bug Description

since Qt5 \n, \t, \s, (etc.) are printed as string to mixxx.log and are not interpreted as TAB or LF anymore in ubuntu mate 18.04 and 16.04.

I don't know, if this is a bug or a feature of Qt5, because i am a ecma-midi-script-coder and have no clue about c++ or qt5. But for scripting, the correct formated output is important an this isn't since switching to Qt5 the case. For example, look to the output of print("\t \s \n ") and printObject(OBJECT), when mixxx is called from a terminal with "mixxx --developer --controllerDebug".

UPDATE:
after looking a little around in the scources of src/controllers/controllerdebug.h, replacing in line 36,

QDebug(QtDebugMsg) with QDebug(QtDebugMsg).noquote()

and do a new compile, the output to mixxx.log would be as normal as with qt4.
So I think, it is a bug and this would be a fix.

Revision history for this message
Bernd Binder (banad) wrote :
Bernd Binder (banad)
tags: added: log
tags: added: engine.log
removed: log
Bernd Binder (banad)
tags: added: qt5
removed: engine.log
Bernd Binder (banad)
description: updated
Bernd Binder (banad)
tags: added: easy
Changed in mixxx:
assignee: nobody → Bernd Binder (banad)
Bernd Binder (banad)
Changed in mixxx:
status: New → In Progress
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

seems like a simple bugfix that could go in 2.2?

tags: added: controllers
Changed in mixxx:
importance: Undecided → Low
milestone: none → 2.2.0
Revision history for this message
Bernd Binder (banad) wrote :
Bernd Binder (banad)
Changed in mixxx:
status: In Progress → Fix Committed
Bernd Binder (banad)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Be (be.ing) wrote :

Mixxx 2.2.0 has not been released yet. All the Fix Committed bugs for 2.2.0 will be changed to Fix Released when we release 2.2.0.

Changed in mixxx:
status: Fix Released → Fix Committed
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9469

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.