[Okular-devel] [Bug 230282] Crash (reproducible) in PagePainter::scalePixmapOnImage()

2010-03-12 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=230282





--- Comment #10 from Albert Astals Cid tsdgeos terra es  2010-03-12 09:34:25 
---
Sorry for that, my internet connection died and i was unable to resurrect it
until this morning, i will investigate why loadIcon is returning a null pixmap
since this is the root cause of the problem.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 230490] QT apps crash during resize

2010-03-12 Thread Dario Andres
https://bugs.kde.org/show_bug.cgi?id=230490


Dario Andres andresbajotie...@gmail.com changed:

   What|Removed |Added

 CC||andresbajotie...@gmail.com
  Component|general |qt
 AssignedTo|okular-devel@kde.org|kdelibs-b...@kde.org
Product|okular  |kdelibs




--- Comment #1 from Dario Andres andresbajotierra gmail com  2010-03-12 
20:34:33 ---
- Does it happen if using another widget style ? (like Plastique or Cleanlooks)
Regards

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 230282] Crash (reproducible) in PagePainter::scalePixmapOnImage()

2010-03-12 Thread Sami Liedes
https://bugs.kde.org/show_bug.cgi?id=230282





--- Comment #9 from Sami Liedes sliedes cc hut fi  2010-03-12 01:41:13 ---
Per IRC discussion before you ping timeouted, the problem is the
canReturnNull=true argument to KIconLoader::loadIcon() in
GuiUtils::loadStamp().

However this fix is not enough:

184 pixmap = il-loadIcon( name, KIconLoader::User, minSize,
KIconLoader::DefaultState, QStringList(), path, true );
185 if ( path.isEmpty() || pixmap.isNull() )
186 pixmap = il-loadIcon( name, KIconLoader::NoGroup, minSize );
187 return pixmap;

apparently because the loadIcon call in 186 can't find an unknown icon for size
1660.

I use the oxygen theme. Oxygen (and indeed all other themes I have installed
besides crystalsvg) only seems to have mimetype/unknown.png icons with preset
sizes (and no svgs):

$ find /usr/share/icons/ -name unknown\*
[...]
/usr/share/icons/oxygen/32x32/mimetypes/unknown.png 
/usr/share/icons/oxygen/128x128/mimetypes/unknown.png   
/usr/share/icons/oxygen/22x22/mimetypes/unknown.png 
/usr/share/icons/oxygen/256x256/mimetypes/unknown.png
/usr/share/icons/oxygen/16x16/mimetypes/unknown.png
/usr/share/icons/oxygen/16x16/apps/unknownapp.png
/usr/share/icons/oxygen/64x64/mimetypes/unknown.png
/usr/share/icons/oxygen/48x48/mimetypes/unknown.png

I don't know enough to tell if loadIcon() should scale the 256x256 icon to size
1660, in any case it fails to find an icon (it outputs Warning: could not find
\Unknown\ icon for size = 1660 into kDebug(264)) and returns a null QPixmap,
even with canReturnNull=false, which okular cannot handle
(kiconloader.cpp:1137).

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 230433] pdf not reder text but only image and tbale border

2010-03-12 Thread alberto fiaschi
https://bugs.kde.org/show_bug.cgi?id=230433





--- Comment #1 from alberto fiaschi a fiaschi ao-pisa toscana it  2010-03-12 
11:47:14 ---
Created an attachment (id=41563)
 -- (http://bugs.kde.org/attachment.cgi?id=41563)
Pdf file that is not display correctly  .reder image and table border but not
text

i see it in the right way on windows and mac with other programs

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 230433] New: pdf not reder text but only image and tbale border

2010-03-12 Thread alberto fiaschi
https://bugs.kde.org/show_bug.cgi?id=230433

   Summary: pdf not reder text but only image and tbale border
   Product: okular
   Version: unspecified
  Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: a.fias...@ao-pisa.toscana.it


Version:(using KDE 4.3.5)
OS:Linux
Installed from:Ubuntu Packages

in some  pdf files i see only image and table border but not text.
i see that files in right way on windows and mac with others programs   .

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 230477] New: Okular crashes when exporting document archive

2010-03-12 Thread eric948470
https://bugs.kde.org/show_bug.cgi?id=230477

   Summary: Okular crashes when exporting document archive
   Product: okular
   Version: 0.10
  Platform: unspecified
OS/Version: MS Windows
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: eric948...@gmail.com


Version:   0.10 (using 4.4.00 (KDE 4.4.0), MS Visual Studio 2008 SP1)
Compiler:  cl.exe
OS:Microsoft Windows (i686) release 6.0 (Vista Home Edition)

When I try to export a document archive, Okular crashes and windows reports
that the application stopped working.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 230490] New: QT apps crash during resize

2010-03-12 Thread Jesse Milette
https://bugs.kde.org/show_bug.cgi?id=230490

   Summary: QT apps crash during resize
   Product: okular
   Version: unspecified
  Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: linux.nerdy@gmail.com


Application: okular (0.10.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I have noticed that qt apps will crash if i try resizing them to much.  This is
what happened to this app.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x02532267 in QX11PaintEngine::drawPixmap (this=0x868ffa0, r=..., px=...,
_sr=...) at painting/qpaintengine_x11.cpp:1919
#7  0x0246bc75 in QPaintEngine::drawImage (this=0x868ffa0, r=..., image=...,
sr=..., flags=...) at painting/qpaintengine.cpp:624
#8  0x02530979 in QX11PaintEngine::drawImage (this=0x868ffa0, r=..., image=...,
sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#9  0x02483208 in QPainterPrivate::draw_helper (this=0x8854cb8,
originalPath=..., op=value optimized out) at painting/qpainter.cpp:484
#10 0x02488bc9 in QPainter::drawPath (this=0xbfe1667c, path=...) at
painting/qpainter.cpp:3356
#11 0x0248ad3c in QPainter::drawRoundedRect (this=0xbfe1667c, rect=...,
xRadius=2, yRadius=2, mode=Qt::AbsoluteSize) at painting/qpainter.cpp:4136
#12 0x0169ac35 in OxygenStyle::renderScrollBarHandle (this=0x82831d8,
p=0xbfe1667c, r=..., pal=..., orientation=Qt::Vertical, hover=false,
opacity=-1) at ../../../kstyles/oxygen/oxygen.cpp:4326
#13 0x0169bc81 in OxygenStyle::renderScrollBarHandle (this=0x82831d8,
primitive=8, opt=0xbfe15c04, r=..., pal=..., flags=..., p=0xbfe1667c,
widget=0x8367670, kOpt=0x0)
at ../../../kstyles/oxygen/oxygen.h:293
#14 OxygenStyle::drawScrollBarPrimitive (this=0x82831d8, primitive=8,
opt=0xbfe15c04, r=..., pal=..., flags=..., p=0xbfe1667c, widget=0x8367670,
kOpt=0x0) at ../../../kstyles/oxygen/oxygen.cpp:1582
#15 0x0168b862 in OxygenStyle::drawKStylePrimitive (this=0x82831d8,
widgetType=KStyle::WT_ScrollBar, primitive=8, opt=0xbfe15c04, r=...,
palette=..., flags=..., p=0xbfe1667c, widget=0x8367670, 
kOpt=0x0) at ../../../kstyles/oxygen/oxygen.cpp:753
#16 0x007cebe6 in KStyle::drawControl (this=0x82831d8,
element=QStyle::CE_ScrollBarSlider, option=0xbfe15c04, p=0xbfe1667c,
widget=0x8367670) at ../../kdeui/kernel/kstyle.cpp:2266
#17 0x016911b5 in OxygenStyle::drawControl (this=0x82831d8,
element=QStyle::CE_PushButton, option=0xbfe15c04, p=0xbfe1667c,
widget=0x2c4dff4) at ../../../kstyles/oxygen/oxygen.cpp:632
#18 0x02664ccc in QCommonStyle::drawComplexControl (this=0x82831d8,
cc=QStyle::CC_ScrollBar, opt=0xbfe16614, p=0xbfe1667c, widget=0x8367670) at
styles/qcommonstyle.cpp:3236
#19 0x007cac0c in KStyle::drawComplexControl (this=0x82831d8,
cc=QStyle::CC_ScrollBar, opt=0xbfe16614, p=0xbfe1667c, w=0x8367670) at
../../kdeui/kernel/kstyle.cpp:3591
#20 0x0168c278 in OxygenStyle::drawComplexControl (this=0x82831d8,
control=QStyle::CC_ScrollBar, option=0xbfe16614, painter=0xbfe1667c,
widget=0x8367670) at ../../../kstyles/oxygen/oxygen.cpp:299
#21 0x027c5708 in QScrollBar::paintEvent (this=0x8367670) at
widgets/qscrollbar.cpp:547
#22 0x0236c5d6 in QWidget::event (this=0x8367670, event=0xbfe16c64) at
kernel/qwidget.cpp:8144
#23 0x0271b624 in QAbstractSlider::event (this=0x8367670, e=0xbfe16c64) at
widgets/qabstractslider.cpp:956
#24 0x027c614a in QScrollBar::event (this=0x8367670, event=0xbfe16c64) at
widgets/qscrollbar.cpp:527
#25 0x0230e3cc in QApplicationPrivate::notify_helper (this=0x8257a48,
receiver=0x8367670, e=0xbfe16c64) at kernel/qapplication.cpp:4300
#26 0x023150b9 in QApplication::notify (this=0xbfe195f0, receiver=0x8367670,
e=0xbfe16c64) at kernel/qapplication.cpp:4265
#27 0x007bb42a in KApplication::notify (this=0xbfe195f0, receiver=0x8367670,
event=0xbfe16c64) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x04a72beb in QCoreApplication::notifyInternal (this=0xbfe195f0,
receiver=0x8367670, event=0xbfe16c64) at kernel/qcoreapplication.cpp:704
#29 0x023758e6 in QCoreApplication::sendSpontaneousEvent (this=0x83af6e8,
pdev=0x854f9d4, rgn=..., offset=..., flags=value optimized out,
sharedPainter=0x0, backingStore=0x85514e8)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 QWidgetPrivate::drawWidget (this=0x83af6e8, pdev=0x854f9d4, rgn=...,
offset=..., flags=value optimized out, sharedPainter=0x0,
backingStore=0x85514e8) at kernel/qwidget.cpp:5339
#31 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x836cbb0,
pdev=0x854f9d4, siblings=..., index=1, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x85514e8)
at kernel/qwidget.cpp:5452
#32 0x02375635 in QWidgetPrivate::drawWidget (this=0x836cbb0, pdev=0x854f9d4,
rgn=..., 

[Okular-devel] [Bug 151614] store annotations with documents

2010-03-12 Thread Rubens de Souza Matos Júnior
https://bugs.kde.org/show_bug.cgi?id=151614


Rubens de Souza Matos Júnior rubens.ma...@gmail.com changed:

   What|Removed |Added

 CC||rubens.ma...@gmail.com




--- Comment #92 from Rubens de Souza Matos Júnior rubens matos gmail com  
2010-03-12 21:23:25 ---
I know that are some hard limitations that don't allow Okular developers
include this feature at this moment, but I think that this a very important
feature, that deserves more attention, even changes in backend modules, if
nececessary, etc. But, even if this definitely won't be included, the export of
annotations to html or a text file would be a helpful feature.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel