Bug 65216 - Buttons in forms do not show properly + other forms problems
Summary: Buttons in forms do not show properly + other forms problems
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-30 07:31 UTC by Thomas Kjosmoen
Modified: 2004-05-11 09:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kjosmoen 2003-09-30 07:31:42 UTC
Version:           CVS 20030921 (using KDE KDE 3.1.92)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.3, glibc 2.3.2-r1 CFLAGS="-mcpu=i686 -O2 -pipe", USE="x86 oss arts kde qt X ssl gif alsa motif cups" (In Gentoo)
OS:          Linux

When a form has buttons, they show up sporadically but disappears when another element (text field, button, drop-down, etc) in the defined form is focused or if I scroll the page. Where the buttons are supposed to be, only the background color shows. I have this problem with all pages that use forms.

I found someone else having a similar problem in this bug-report:
http://bugs.kde.org/show_bug.cgi?id=64427

When trying to replicate that bug Konqueror crashed, with the following backtrace:
<Begin backtrace>
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 28834)]

0x41229359 in waitpid () from /lib/libpthread.so.0
#0  0x41229359 in waitpid () from /lib/libpthread.so.0
#1  0x40717f9d in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/cvs/lib/libkdecore.so.4
#2  0x4122817c in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x41f258ff in khtml::RenderFlow::constructLine(khtml::BidiIterator const&, khtml::BidiIterator const&) () from /usr/kde/cvs/lib/libkhtml.so.4
#5  0x41f27338 in khtml::RenderFlow::layoutInlineChildren(bool) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#6  0x41f3543f in khtml::RenderFlow::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#7  0x41f35df7 in khtml::RenderFlow::layoutBlockChildren(bool) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#8  0x41f35680 in khtml::RenderFlow::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#9  0x41f472fb in khtml::RenderTableRow::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#10 0x41f3083b in khtml::RenderContainer::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#11 0x41f43739 in khtml::RenderTable::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#12 0x41f35d13 in khtml::RenderFlow::layoutBlockChildren(bool) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#13 0x41f35680 in khtml::RenderFlow::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#14 0x41f611e5 in khtml::RenderBody::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#15 0x41f35d13 in khtml::RenderFlow::layoutBlockChildren(bool) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#16 0x41f35680 in khtml::RenderFlow::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#17 0x41f60c9f in khtml::RenderHtml::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#18 0x41f35d13 in khtml::RenderFlow::layoutBlockChildren(bool) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#19 0x41f35680 in khtml::RenderFlow::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#20 0x41f5ab7b in khtml::RenderCanvas::layout() ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#21 0x41e854bc in KHTMLView::layout() () from /usr/kde/cvs/lib/libkhtml.so.4
#22 0x41e84b1d in KHTMLView::viewportResizeEvent(QResizeEvent*) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#23 0x40be9eca in QScrollView::updateScrollBars() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#24 0x40bea61d in QScrollView::resizeEvent(QResizeEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#25 0x41e84a89 in KHTMLView::resizeEvent(QResizeEvent*) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#26 0x40b13375 in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x40a83eb5 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0x40a832a5 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0x40685481 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/cvs/lib/libkdecore.so.4
#30 0x40a5196d in QWidget::internalSetGeometry(int, int, int, int, bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#31 0x40b11cf6 in QWidget::resize(int, int) () from /usr/qt/3/lib/libqt-mt.so.3
#32 0x40bea58d in QScrollView::resize(int, int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#33 0x41f4d504 in khtml::RenderWidget::event(QEvent*) ()
   from /usr/kde/cvs/lib/libkhtml.so.4
#34 0x40a83eb5 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#35 0x40a832a5 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0x40685481 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/cvs/lib/libkdecore.so.4
#37 0x40a84c6a in QApplication::sendPostedEvents(QObject*, int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#38 0x40a84ae8 in QApplication::sendPostedEvents() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#39 0x40a318fb in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#40 0x40a97086 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#41 0x40a96f28 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#42 0x40a84101 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#43 0x41b42834 in kdemain () from /usr/kde/cvs/lib/libkdeinit_konqueror.so
#44 0x407fe936 in kdeinitmain () from /usr/kde/cvs/lib/kde3/konqueror.so
#45 0x0804cfa8 in strcpy ()
#46 0x0804dd79 in strcpy ()
#47 0x0804e26c in strcpy ()
#48 0x0804f00a in strcpy ()
#49 0x4139ab47 in __libc_start_main () from /lib/libc.so.6
<End backtrace>

Also, when horizontally resizing http://bugs.kde.org/query.cgi the text-fields are distorted and sometimes the scroll-bars "disappears". The errors are corrected when I focus on the text-fields. I'm not sure if should be a separate bug-report, but it seems closely related.

Found one more problem while filling out this bug-report: In the "Short Description" text-field on the "Bug Description" page, I cannot select some text and start typing so that the selected text is replaced by the text I'm typing. This works, however, in the "Long Description in English" text-field.

Thanks for KDE, it's awsome. Can't wait 'till 3.2 is released! (Really, I can't wait, so I'm running CVS ;-) Let me know if I should file the other problems as separate bug-reports.

-- Thomas
Comment 1 George Staikos 2003-10-06 20:20:32 UTC
Which widget style are you using? 
Comment 2 Thomas Kjosmoen 2003-10-07 01:29:11 UTC
Good point there. I was using the Mosfet Liquid widgets and when I changed to the 
Plastik widgets, all the form buttons was working properly. Let's just hope that Mosfet 
will make his widgets work with the new KDE ;-) 
 
I tried to see if the other bugs I mentioned was "fixed" by changing the widget style: 
 
Resizing: 
When resizing http://bugs.kde.org/query.cgi horizontally, the form select fields (Product, 
Component, Version, etc) get "distorted". To fix the erroneous rendering I have to scroll 
the page such that those form fields disappear and then scroll back again. 
 
Selection: 
To reproduce this bug, follow these steps. 
1. Go to http://bugs.kde.org/query.cgi 
2. In the Summary text field, type something (e.g. asdf) 
3. Left click between the Summary and the Comment text fields. 
4. Now select some of the text you entered, and try to replace that with new text. (By 
typing, not pasting.) 
 
Comment 3 George Staikos 2003-10-07 01:40:24 UTC
Subject: Re:  Buttons in forms do not show properly + other forms problems

On Monday 06 October 2003 19:29, Thomas Kjosmoen wrote:
> Selection:
> To reproduce this bug, follow these steps.
> 1. Go to http://bugs.kde.org/query.cgi
> 2. In the Summary text field, type something (e.g. asdf)
> 3. Left click between the Summary and the Comment text fields.
> 4. Now select some of the text you entered, and try to replace that with
> new text. (By typing, not pasting.)

  Yes I saw this problem today as well but it's related to the big changes for 
z-order by Lars in August.  The same for the resize bug.

Comment 4 Thomas Kjosmoen 2003-10-07 02:44:22 UTC
Good to hear that the bug has been confirmed. 
Thank you for your time and effort, George! 
Comment 5 Germain Garand 2003-10-07 05:08:03 UTC
> Selection:  
 > To reproduce this bug, follow these steps.  
 > 1. Go to http://bugs.kde.org/query.cgi  
 
Hi, 
I've got a patch in my tree that adresses the selection/mouse handling problems.  
I'll commit that tomorrow. I'll have a look at the refresh problem as well, unless 
someone is already on it. 
 
 
 
Comment 6 Lars Knoll 2003-10-23 22:09:38 UTC
Seems to work fine with current khtml.
Comment 7 Thomas Kjosmoen 2003-10-28 07:51:36 UTC
I'm reopening this bug since the resize and selection bugs described above are still present in Konqueror 3.1.93 (Using KDE 3.1.93 (3.2 beta 1)).
Comment 8 apunga 2003-12-03 10:19:07 UTC
The almost same bug appears in Plastik style widgets:
 Konqueror forms redraw only when you click them??? Otherwise their white. I had trouble posting bugs on bugs.kde.org because of that.
Comment 9 Thomas Kjosmoen 2004-05-11 09:20:27 UTC
I can't seem to reproduce these bugs with KDE 3.2.2, so I'll close the bug as resolved.