Bug#700628: kdevelop: Functions are always shown in dark blue
Package: kdevelop Version: 4:4.3.1-3+b1 Severity: minor Tags: upstream Dear Maintainer, I'm trying to set a dark color scheme in KDevelop's editor by using the color configuration dialog for found on Settings -- Configure Editor... -- Fonts Colors I have set the background colors on the Colors tab and the other colors on the Normal Text Styles tab. But no matter which option I set the functions are always dark blue which is hard to see in a dark background. I understand the colors used for variables are assigned automatically by KDevelop and that the brightness is adjusted by the Local Colorization Intensity slider in the Settings -- Configure KDevelop -- Language Support dialog and that's a great feature (B.T.W what is the Global Colorization Intensity slider for ? ). But I can't find how to change the color used for functions (declaration and invocation). A forum thread located at http://forum.kde.org/viewtopic.php?f=25t=87212 suggests one must use a dark color scheme in order to get clear text when creating a new color scheme on Kate / KDevelop but it didn't worked. I like a clear desktop color scheme with a dark scheme for my code so I don't think it should be related. Thanks. -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (110, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kdevelop depends on: ii kde-runtime4:4.8.4-2 ii kdevelop-data 4:4.3.1-3 ii kdevplatform5-libs 1.3.1-2 ii libc6 2.13-38 ii libgcc11:4.7.2-5 ii libkasten1controllers1 4:4.8.4+dfsg-1 ii libkasten1core14:4.8.4+dfsg-1 ii libkasten1okteta1controllers1 4:4.8.4+dfsg-1 ii libkasten1okteta1core1 4:4.8.4+dfsg-1 ii libkasten1okteta1gui1 4:4.8.4+dfsg-1 ii libkcmutils4 4:4.8.4-4 ii libkdecore54:4.8.4-4 ii libkdeui5 4:4.8.4-4 ii libkio54:4.8.4-4 ii libkparts4 4:4.8.4-4 ii libktexteditor44:4.8.4-4 ii libplasma3 4:4.8.4-4 ii libprocessui4a 4:4.8.4-6 ii libqt4-dbus4:4.8.2+dfsg-11 ii libqt4-help4:4.8.2+dfsg-11 ii libqt4-network 4:4.8.2+dfsg-11 ii libqt4-script 4:4.8.2+dfsg-11 ii libqtcore4 4:4.8.2+dfsg-11 ii libqtgui4 4:4.8.2+dfsg-11 ii libqtwebkit4 2.2.1-5 ii libstdc++6 4.7.2-5 ii libsublime51.3.1-2 ii libthreadweaver4 4:4.8.4-4 Versions of packages kdevelop recommends: ii g++ 4:4.7.2-1 ii gcc 4:4.7.2-1 ii gdb 7.4.1+dfsg-0.1 ii make 3.81-8.2 Versions of packages kdevelop suggests: ii cmake 2.8.9-1 ii kapptemplate 4:4.8.4+dfsg-1 pn kdevelop-l10n none -- no debconf information Jaime Alberto Silva Colorado http://www.sgautomatizacion.comhttp://jaimealsilva.com
Bug#672554: konsole: vertically misaligned/cut off characters
retitle 672554 konsole: vertically misaligned/cut off characters tags 672554 + patch thanks Hello, This bug seems to be caused by a problem in the qt's painter::drawText method handling monospace fonts with different attributes (bold, inverted and such), that end up with slightly different positions. The konsole developers applied two patches to handle this problem, the first one increased the text linespacing so that the misalignment doesn't end up with cut off characters. (affecting src/TerminalDisplay.h setBidiEnabled function). The second patch adds a flag to the drawText to align the text (this shouldn't be needed in a monospace font), the result hides the problem in almost every case (affecting src/TerminalDisplay.cpp drawCharacters function). Both patches are applied only to the unidirectional text rendering, but after a few releases the bidirectional text rendering became the default, thus making this bug noticeable again. Although as the bidirectional renderer draws the whole line, the misplacement won't make the terminal useless as the unidirectional renderer used to cause; it's just annoying. The misplacement is not always the same, it depends on the font you are using, some fonts seem to be particularly prone to misplacement. Currently, I'm using the Anonymous Pro font; before, I used the Terminus font and it was displaced more heavily in presence of unicode chars, while the TrueType fonts seem to be displaced with the change of attributes. To test this bug, I use the manpage of fonts.conf, close to the end of the manpage, the line that starts with conf.d, the text is sligthly misplaced. Selecting a word causes the line to get redrawn in a slightly different position. This misplacement is very subtle, some texts produce a more serious misplacement, but this is the one I found when I was tracking the problem. I'm attaching two patches that modify the patches made by upstream, the first one adds the alignBottom flag to the bidirectional renderer. This patch hides part of the misplacement in the bidirectional renderer. The second patch reverts the added linespacing for the unidirectional renderer, making the lines in konsole of the same height than in any other program, while using the same font (this can be tested using a gnome-terminal or similar with transparency on top of konsole). As mentioned before, these patches only reduce the effect of the problem, but the error is somewhere in the execution produced by drawText. So far, I haven't found the culprit. -- If you are in a hole, stop digging. -- The First Rule of Excavation Saludos /\/\ /\ `/ Index: konsole/src/TerminalDisplay.cpp === --- konsole.orig/src/TerminalDisplay.cpp 2013-02-15 13:56:21.342032187 +0100 +++ konsole/src/TerminalDisplay.cpp 2013-02-15 14:37:06.932813212 +0100 @@ -701,6 +701,13 @@ if (isLineCharString(text)) { drawLineCharString(painter, rect.x(), rect.y(), text, style); } else { + // Avoid fonts vertical displacement. + + // See bug 280896 for more info + int flags = 0; +#if QT_VERSION = 0x040800 + flags |= Qt::AlignBottom; +#endif // Force using LTR as the document layout for the terminal area, because // there is no use cases for RTL emulator and RTL terminal application. // @@ -715,14 +722,9 @@ // // This was discussed in: http://lists.kde.org/?t=12055222362r=1w=2 if (_bidiEnabled) { -painter.drawText(rect, 0, text); +painter.drawText(rect, flags, text); } else { -// See bug 280896 for more info -#if QT_VERSION = 0x040800 -painter.drawText(rect, Qt::AlignBottom, LTR_OVERRIDE_CHAR + text); -#else -painter.drawText(rect, 0, LTR_OVERRIDE_CHAR + text); -#endif +painter.drawText(rect, flags, LTR_OVERRIDE_CHAR + text); } } } Index: konsole/src/TerminalDisplay.h === --- konsole.orig/src/TerminalDisplay.h 2013-02-15 13:56:21.342032187 +0100 +++ konsole/src/TerminalDisplay.h 2013-02-15 15:19:43.391806071 +0100 @@ -384,7 +384,7 @@ if (_bidiEnabled) { setLineSpacing(0); } else { -setLineSpacing(2); +setLineSpacing(0); } #endif } signature.asc Description: Digital signature
Processed: konsole: vertically misaligned/cut off characters
Processing commands for cont...@bugs.debian.org: retitle 672554 konsole: vertically misaligned/cut off characters Bug #672554 [konsole] konsole: vertically misaligned/cut off characters when using Terminus font Changed Bug title to 'konsole: vertically misaligned/cut off characters' from 'konsole: vertically misaligned/cut off characters when using Terminus font' tags 672554 + patch Bug #672554 [konsole] konsole: vertically misaligned/cut off characters Added tag(s) patch. thanks Stopping processing here. Please contact me if you need assistance. -- 672554: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672554 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.136096069630305.transcr...@bugs.debian.org
Processed: calligrasheets: fails to upgrade from squeeze - trying to overwrite /usr/share/templates/SpreadSheet.desktop
Processing control commands: affects -1 + koffice koffice-data Bug #700667 [calligrasheets] calligrasheets: fails to upgrade from squeeze - trying to overwrite /usr/share/templates/SpreadSheet.desktop Added indication that 700667 affects koffice and koffice-data -- 700667: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700667 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.b.136096304516635.transcr...@bugs.debian.org