View Issue Details

IDProjectCategoryView StatusLast Update
0011151ScribusLanguage Toolspublic2012-12-09 07:51
Reportercezaryece Assigned Tojghali  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0011151: [BUG] problems with language settings
DescriptionSomething strange happens with language settings in current trunk.
Steps To ReproduceA)
1. create new document
2. go to document setup and hyphenation settings (remember it)
3. click OK
4. go to document settings again
5. notice that Manual hyphenation is ON and you are not able to get it OFF after uncheck and OK

B)
1. if your language is English then set other language in Preferences (in my case default is Polish, so I have no to change) - click Apply and OK
2. go to Preferences and try to set English language - OK
3. go to Preferences again - no language is selected in ComboBox and if you expand available languages list there is only empty field and English to choose (Scribus build with all languages support)
4. in Hyphenation section there is no language to select in ComboBox

C)
1. open some old Scribus file
2. dehyphenate text
3. hyphenate text again
4. hyphenation is not working (as styles has no language set) or CRASH due to empty pointer to hyphenation dict

D)
1. run Scribus again, create new document, insert text frame and load some text in it
2. notice what is used as hyphenator char (in my case it is underline char)
TagsNo tags attached.
Patch

Activities

Vladimir Savic

2012-11-05 16:05

reporter   ~0029147

Here's my version:

1) Make new document - don't touch any setting
2) Fill one frame with Lorem Ipsum - defaults again
3) Make new Paragraph style - change only Language on second tab into Romanian (no particular reason :) )
4) Apply "New Style" to that only text frame - PP Paragraph style -> "New Style"
5) Extra menu -> Hyphenate text

Here's the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000eefaef in hnj_hyphen_hyphenate ()
(gdb) bt
#0 0x0000000000eefaef in hnj_hyphen_hyphenate ()
0000001 0x0000000000740b77 in Hyphenator::slotHyphenate(PageItem*) ()
0000002 0x0000000000a7a060 in ScribusDoc::itemSelection_DoHyphenate() ()
0000003 0x00000000005ed277 in ScribusDoc::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
0000004 0x00007ffff4a3bf5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000005 0x00007ffff54c5a32 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000006 0x00007ffff54c5c20 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000007 0x00007ffff4a3b43e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000008 0x00007ffff54c5cf1 in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000009 0x00007ffff54cbe9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000010 0x00007ffff54d030a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000011 0x00007ffff4a2656e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000012 0x00007ffff4a2a3f1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000013 0x00007ffff4a54a63 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000014 0x00007fffefd74ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000015 0x00007fffefd74de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000016 0x00007fffefd74ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000017 0x00007ffff4a54bf6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000018 0x00007ffff5570c1e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000019 0x00007ffff4a252bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000020 0x00007ffff4a25548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000021 0x00007ffff4a2a708 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000022 0x0000000000ef00f4 in mainApp(int, char**) ()
0000023 0x00007ffff271776d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
0000024 0x00000000005dd169 in _start ()
(gdb)

cezaryece

2012-11-05 19:09

updater   ~0029148

It is C4 case with crash.

cbradney

2012-11-05 19:22

administrator   ~0029149

Please provide sample docs and the settings you are using.

jghali

2012-11-05 23:18

administrator   ~0029150

I just fixed crash issue outline by C). I committed also a fix for A)

jghali

2012-11-06 23:34

administrator   ~0029162

Now B) is fixed. I cannot reproduce D)

Vladimir Savic

2012-11-20 10:31

reporter   ~0029216

I can't reproduce D neither. Can we think of closing this one and opening dedicated bug report to that case if cezaryece can still confirm it with unmodified trunk?

jghali

2012-11-20 10:57

administrator   ~0029217

Yes, this is best doing so.

christoph_s

2012-12-09 07:51

administrator   ~0029352

Closing this one as per Vlada's suggestion. Please open a new bug if remaining issues persist.

Issue History

Date Modified Username Field Change
2012-11-05 10:02 cezaryece New Issue
2012-11-05 10:02 cezaryece Status new => assigned
2012-11-05 10:02 cezaryece Assigned To => cbradney
2012-11-05 10:02 cezaryece Assigned To cbradney =>
2012-11-05 10:03 cezaryece Assigned To => cezaryece
2012-11-05 10:03 cezaryece Status assigned => new
2012-11-05 10:03 cezaryece Assigned To cezaryece =>
2012-11-05 16:05 Vladimir Savic Note Added: 0029147
2012-11-05 19:09 cezaryece Note Added: 0029148
2012-11-05 19:22 cbradney Note Added: 0029149
2012-11-05 23:18 jghali Note Added: 0029150
2012-11-06 23:34 jghali Note Added: 0029162
2012-11-20 10:31 Vladimir Savic Note Added: 0029216
2012-11-20 10:57 jghali Note Added: 0029217
2012-11-20 10:57 jghali Status new => resolved
2012-11-20 10:57 jghali Fixed in Version => 1.5.0svn
2012-11-20 10:57 jghali Resolution open => fixed
2012-11-20 10:57 jghali Assigned To => jghali
2012-12-09 07:51 christoph_s Note Added: 0029352
2012-12-09 07:51 christoph_s Status resolved => closed