View Issue Details

IDProjectCategoryView StatusLast Update
0012687ScribusQt5 Portpublic2015-07-18 14:33
Reporterchhitz Assigned Tocbradney  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformMacOSOSXOS Version10.9.4
Product Version1.5.0svn 
Target Version1.5.1Fixed in Version1.5.1svn 
Summary0012687: Inserting a barcode does not work when build against Qt5.3.1 & Qt5.4
DescriptionScribus (compiled against Qt5.3.1) does not allow to insert a barcode.

After closing the barcode dialog most of the Menus are inactive (grayed-out) and every mouse-click is accompanied with an "error sound", similar to when one would click besides an open dialog.

Works as expected with Qt5.2.1 but with the following message on CLI:

2014-09-13 19:06:22.314 Scribus[68821:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
Steps To Reproduce1. open Scribus
2. open barcode dialog
3. select any barcode
4. click "OK"
5. try to place barcode
--> not possible
Additional InformationThe following steps allow the barcode to placed:
1. create a new document with cmd+N (menu is inactive)
2. close newly created document
3. place barcode in original document
TagsNo tags attached.
PatchNo

Relationships

related to 0012455 feedback [Barcode] Default EAN13 number 
related to 0013237 confirmed [OSX] Some 128 barcodes series do not insert 
related to 0013244 new Broken Application Flow 

Activities

jghali

2014-09-13 17:20

administrator   ~0033669

Works as expected on Windows with 5.3.1.

Kunda

2014-09-13 17:34

updater   ~0033670

Last edited: 2014-09-13 17:34

Confirmed on OSX 10.8.5 1.5svn r19502 Qt5.3.1
This maybe OSX specific ?

JLuc

2014-09-13 17:35

developer   ~0033671

Last edited: 2014-09-13 18:05

I dont reproduce on Ubuntu 14.04 with Qt 5.3

and i dont reproduce neither with Qt 5.3.1

FirasH

2014-09-13 18:13

developer   ~0033672

I partly reproduce... Some barcodes work and some others don't do anything. Here is the list of now working barcodes:

EAN-8
Interleaved 2 of 5
Postnet
Rationalized Codabar

JLuc

2014-09-13 18:44

developer   ~0033673

Last edited: 2014-09-13 18:50

Hmm i retested and for a while i once believed i had issues too with EAN8 that didnt appear.
But I later found the explanation : When choosing EAN8, the hint says "8 digits" and a loremipsum 8 digit number is pre-typed as an example. When typing in a new 8 digits number, the preview is displayed but when pressing OK, no barcode is inserted. That's because the 8th number should fit a value that is automatically computed as some sort of checksum of the 7 first digits.
So with scribus UI one has to
- type only 7 digits : the 8th is automaticaly computed, included in the preview where it can be checked, and when pressing OK the barcode is inserted OK.
- type 7 + 1 digit, where the 8th is the correct checksum (no error), and then the barcode is inserted OK.
But when typing in a wrong 8th digit (wrong = the 8th digit is not the correct checksum), then the barcode is NOT inserted and no error message is displayed.

UI could be improved :
- Hints could be improved with more details on the barcode type and details on what scribus expects as inputs.
- Inputs could be more tightly controled. User could be prevented of typing more keys than strictly requested.
- Validity checks could be made more stricts. Most of the time its not possible to press "OK" when the input is not ready and does not fit the choosen barcode pattern. Thats a good check but its not strict enouogh with EAN8 : OK should become grayed (not active) when an 8th digit is typed that is not equal to the expected checksum.
With such improvements, there would be no need to issue an error message.

Kunda

2014-09-13 19:57

updater   ~0033676

might as well link 0012455

Kunda

2014-09-14 12:22

updater   ~0033684

On IRC, Chitz has tested this against Qt5.4 Alpha and bug still persists in OSX

Kunda

2015-01-29 23:46

updater   ~0034398

Last edited: 2015-01-29 23:47

Still persists on OSX 10.9.5 1.5svn r19768 Qt5.4 stable

cbradney

2015-02-11 16:07

administrator   ~0034473

Workaround put in place for ps importer and pdf importer in form of:
+#ifdef Q_OS_OSX
+ #if QT_VERSION >= 0x050300
+ showProgress = false;
+ #endif
+#endif

Kunda

2015-02-12 02:50

updater   ~0034490

Last edited: 2015-02-12 02:51

Semi fixed (original issue is fixed)

New Issue: on OSX 10.9.5 1.5svn r19813 Qt5.4
I follow these steps:

1. open Scribus
2. open barcode dialog
3. select any barcode
4. click "OK"
5. hover mouse to the main Scribus window header
6. click the header to move window
6. hover the mouse over the canvas
7. can't add barcode
(mouse changes state which subsequently renders menu items inactive.)

cbradney

2015-02-12 10:16

administrator   ~0034491

Yeah, you're breaking the application flow.. unlikely we can fix that in 1.5.0. You'd find the same with all placement of vector objects I assume.

Kunda

2015-07-16 18:37

updater   ~0035800

Last edited: 2015-07-18 14:32

Still persists in Qt5.5
OSX 10.10.3 1.5.1 r20253

Kunda

2015-07-16 18:45

updater   ~0035801

Wait, I'm wrong. I can add barcodes. I'm running in to an issue specifically trying the 'Code-128' Barcodes.

Kunda

2015-07-16 18:49

updater   ~0035802

Resolving. Will open a separate issue for the code-128 barcodes

Issue History

Date Modified Username Field Change
2014-09-13 17:14 chhitz New Issue
2014-09-13 17:20 jghali Note Added: 0033669
2014-09-13 17:34 Kunda Note Added: 0033670
2014-09-13 17:34 Kunda Status new => confirmed
2014-09-13 17:34 Kunda Note Edited: 0033670
2014-09-13 17:35 JLuc Note Added: 0033671
2014-09-13 18:05 JLuc Note Edited: 0033671
2014-09-13 18:13 FirasH Note Added: 0033672
2014-09-13 18:44 JLuc Note Added: 0033673
2014-09-13 18:46 JLuc Note Edited: 0033673
2014-09-13 18:46 JLuc Note Edited: 0033673
2014-09-13 18:47 JLuc Note Edited: 0033673
2014-09-13 18:48 JLuc Note Edited: 0033673
2014-09-13 18:49 JLuc Note Edited: 0033673
2014-09-13 18:50 JLuc Note Edited: 0033673
2014-09-13 18:50 JLuc Note Edited: 0033673
2014-09-13 19:57 Kunda Relationship added related to 0012455
2014-09-13 19:57 Kunda Note Added: 0033676
2014-09-14 11:48 Kunda Category Plug-ins => Qt5 Port
2014-09-14 12:22 Kunda Note Added: 0033684
2014-09-14 22:17 Kunda Summary Inserting a barcode does not work when build against Qt5.3.1 => Inserting a barcode does not work when build against Qt5.3.1 & Qt5.4alpha
2015-01-29 23:46 Kunda Note Added: 0034398
2015-01-29 23:47 Kunda Assigned To => cbradney
2015-01-29 23:47 Kunda Status confirmed => assigned
2015-01-29 23:47 Kunda Note Edited: 0034398
2015-01-29 23:48 Kunda Patch => No
2015-01-29 23:48 Kunda Priority normal => high
2015-01-29 23:48 Kunda Target Version => 1.5.1
2015-02-09 02:14 Kunda Summary Inserting a barcode does not work when build against Qt5.3.1 & Qt5.4alpha => Inserting a barcode does not work when build against Qt5.3.1 & Qt5.4
2015-02-11 16:07 cbradney Note Added: 0034473
2015-02-12 02:50 Kunda Note Added: 0034490
2015-02-12 02:50 Kunda Note Edited: 0034490
2015-02-12 02:51 Kunda Note Edited: 0034490
2015-02-12 10:16 cbradney Note Added: 0034491
2015-07-16 18:37 Kunda Note Added: 0035800
2015-07-16 18:45 Kunda Note Added: 0035801
2015-07-16 18:49 Kunda Note Added: 0035802
2015-07-16 18:49 Kunda Status assigned => resolved
2015-07-16 18:49 Kunda Fixed in Version => 1.5.1svn
2015-07-16 18:49 Kunda Resolution open => fixed
2015-07-16 18:54 Kunda Relationship added related to 0013237
2015-07-18 14:32 Kunda Note Edited: 0035800
2015-07-18 14:33 Kunda Status resolved => closed
2015-07-18 14:33 Kunda Relationship added related to 0013244