Erm, the previous was obviously solution c), not b) =)
Anyway, here's d), it uses the sieve recursively to init itself. This
should allow full 64-bit range to be traversed (and potentially larger,
if there is a native integer type).
** Patch added: "725367d.diff"
https://bugs.launchpad.net/ub
The attachment implements option b) add some to primes table (max 2^17)
and limit range to achieve approx. 2^34 bit result range.
** Patch added: "Solution b"
https://bugs.launchpad.net/ubuntu/+source/bsdgames/+bug/725367/+attachment/2360524/+files/725367b.diff
--
You received this bug notif
Indeed, the primes program uses Eratosthenes sieve using pre-calculated
array of primes up to 65537, leading to possible errors (and, in this
case real errors, as 65539 is also a prime) when range hits
(65537+2)^2.
There are a few possible fixes, that I can think of:
a) don't support 64-bit numbe
This patch fixes a couple of coding style issues and simplifies
gtk_menubar_show and _hide.
** Patch added: "Re-re-try of the fixed patch using map/unmap"
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/705112/+attachment/1910444/+files/043_ubuntu_menu_proxy.patch
--
You received this
As discussed with Cimi on irc, this one now uses unmap/map to avoid
setting the GTK_VISIBLE flag, so that the notifications come through
correctly.
** Patch added: "Re-try of the fixed patch using map/unmap"
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/705112/+attachment/1909982/+fil
This rather obtrusive patch seems to fix the issue, not sure if it
breaks something though; some applications may expect that ::show is not
called multiple times without ::hide in between (or vice versa). This is
the best/simplest solution I can think of right now.
Uploaded a package with this pat
The updated patch doesn't fix cases which do _show() ... _hide() (where
hide is called before local_notify). I wrote some findings in bug
705112, but in short the problem is that gtk_widget_hide() only calls
GtkWidget::hide if the widget was visible.
--
You received this bug notification because
Found the problem to be that GtkWidgetClass::hide is only called if the widget
was visible, thus if the call order is:
1. show()
2. hide()
3. local_notify(local = 1)
the menubar remains shown, but if the call order is:
1. show()
2. local_notify(local = 1)
3. hide()
things work correctly.
--
Yo
The updated patch helps with the issue, but some kind of race still
prevails. The updated test program sometimes shows and sometimes hides
the bar. Upping the priority to G_PRIORITY_HIGH_IDLE shows the menubar
(nearly) every time.
** Attachment added: "lp705112-regression.c"
https://bugs.launc
The patch breaks applications that don't want to show a menubar on
startup (I noticed it with gnome-terminal). Attached file shows broken
behavior: even though menubar is explicitly hidden, it still shows up
when run.
** Attachment added: "Sample application showing regression with the patch"
Public bug reported:
Qt Mobility MultimediaKit uses own version of QObjectPrivate (don't know
why), and due to patch 0209-prevent-qt-mixing.diff in qt packages does
not work.
Every time a program using the multimediakit is run, it exits with error
"Cannot mix incompatible Qt library (version 0x40
It works just fine if I open the image directly, not the page it's on.
Also it does not crash on other platforms.
--
Browser crashes when opening page with large gif animation
https://bugs.launchpad.net/bugs/379328
You received this bug notification because you are a member of Ubuntu
Bugs, which
Public bug reported:
When I open http://aasi.ebm.fi/4185/Cat_invisible_pet_door.gif in
firefox, firefox promptly dies (closes all windows). When starting the
browser the next time, there are curious open-close-open-window events.
The bug seems to be reproducible with other browsers too (midori, o
** Attachment added: "A simple patch that fixes the issue"
http://launchpadlibrarian.net/8606364/70_fix-underscore.patch
--
Vte doesn't underline spaces
https://bugs.launchpad.net/bugs/129240
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact
Public bug reported:
Any vte-based (since vte 0.14, I think) terminal doesn't show
underlining on whitespace. This totally breaks my irssi "theme".
Steps to reproduce:
1. launch terminal
2. run echo -e '\e[4mfoo foo\e[0m'
Actual results:
Two underlined foos are echoed
Expected results:
Two foo
15 matches
Mail list logo