more info
problem persists. apparently black windows appear for any ever brought up window, e.g. kde menu, keyboard layout switcher, etc. As a workaround, whenever they appear I just have to initiate original application to draw that window again, e.g. open KDE menu again -- then window gets redrawn and I would be able to close it as usual. -- .-. =-- /v\ = Keep in touch// \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User^^-^^[17] -- 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/20101013161245.ga19...@onerussian.com
Processed: severity of 596473 is important
Processing commands for cont...@bugs.debian.org: > severity 596473 important Bug #596473 [systemsettings] System Settings app does not remember my 2-monitor configuration after logout. Severity set to 'important' from 'normal' > thanks Stopping processing here. Please contact me if you need assistance. -- 596473: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596473 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.12870072509193.transcr...@bugs.debian.org
Bug#596473: System Settings app does not remember my 2-monitor
Hi! I changed the patch for minimal difference to the version in debian squeeze as requested by Modestas Vainius . krandrstartup is now a part of startkde again, diverging from upstreams split. Timo --- a/kcontrol/randr/legacyrandrconfig.cpp +++ b/kcontrol/randr/legacyrandrconfig.cpp @@ -92,7 +92,11 @@ m_oldApply = applyOnStartup->isChecked(); m_oldSyncTrayApp = syncTrayApp->isChecked(); KConfig config("krandrrc"); - m_display->saveDisplay(config, m_oldApply, m_oldSyncTrayApp); + m_display->saveDisplay(config, m_oldSyncTrayApp); + if(m_oldApply) + m_display->saveStartup(config); + else + m_display->disableStartup(config); setChanged(); } --- a/kcontrol/randr/legacyrandrscreen.cpp +++ b/kcontrol/randr/legacyrandrscreen.cpp @@ -388,6 +388,28 @@ group.writeEntry("reflectY", (bool)(rotation() & RandR::ReflectMask) == RandR::ReflectY); } +QStringList LegacyRandRScreen::startupCommands() const +{ + QString command = QString("xrandr -s %1x%2 -r %3 ").arg( currentPixelSize().width(), + currentPixelSize().height(), refreshRateIndexToHz(size(), refreshRate())); + switch( rotation()) { + case RR_Rotate_90: + command += " -o 1 "; + break; + case RR_Rotate_180: + command += " -o 2 "; + break; + case RR_Rotate_270: + command += " -o 3 "; + break; + } + if((rotation() & RandR::ReflectMask) == RandR::ReflectX) + command += " -x "; + if((bool)(rotation() & RandR::ReflectMask) == RandR::ReflectY) + command += " -y "; + return QStringList() << command; +} + int LegacyRandRScreen::pixelCount( int index ) const { QSize sz = pixelSize(index); --- a/kcontrol/randr/legacyrandrscreen.h +++ b/kcontrol/randr/legacyrandrscreen.h @@ -130,6 +130,7 @@ */ void load(KConfig& config); void save(KConfig& config) const; + QStringList startupCommands() const; private: XRRScreenConfiguration* m_config; --- a/kcontrol/randr/randrconfigbase.ui +++ b/kcontrol/randr/randrconfigbase.ui @@ -44,6 +44,13 @@ + + + + Save as Default + + + --- a/kcontrol/randr/randrconfig.cpp +++ b/kcontrol/randr/randrconfig.cpp @@ -31,6 +31,8 @@ #include #include #include +#include +#include RandRConfig::RandRConfig(QWidget *parent, RandRDisplay *display) : QWidget(parent), Ui::RandRConfigBase() @@ -54,6 +56,12 @@ identifyTimer.setSingleShot( true ); compressUpdateViewTimer.setSingleShot( true ); + connect( saveAsDefaultButton, SIGNAL( clicked()), SLOT( saveStartup())); + QMenu* saveMenu = new QMenu(saveAsDefaultButton); + saveMenu->addAction(i18n("Save as Default"),this, SLOT(saveStartup())); + saveMenu->addAction(i18n("Reset"),this, SLOT(disableStartup())); + saveAsDefaultButton->setMenu(saveMenu); + // create the container for the settings widget QHBoxLayout *layout = new QHBoxLayout(outputList); layout->setSpacing(0); @@ -214,6 +222,25 @@ emit changed(false); } +void RandRConfig::saveStartup() +{ + if (!m_display->isValid()) + return; + KConfig config("krandrrc"); + m_display->saveStartup(config); + KMessageBox::information( window(), i18n( "Configuration has been set as the desktop default." )); +} + +void RandRConfig::disableStartup() +{ + if (!m_display->isValid()) + return; + KConfig config("krandrrc"); + m_display->disableStartup(config); + KMessageBox::information( window(), i18n( "Default desktop setup has been reset." )); +} + + bool RandRConfig::eventFilter(QObject *obj, QEvent *event) { if ( obj == screenView && event->type() == QEvent::Resize ) { --- a/kcontrol/randr/randrconfig.h +++ b/kcontrol/randr/randrconfig.h @@ -57,6 +57,8 @@ void slotAdjustOutput(OutputGraphicsItem *o); void identifyOutputs(); void clearIndicators(); + void saveStartup(); + void disableStartup(); signals: void changed(bool change); --- a/kcontrol/randr/randrdisplay.cpp +++ b/kcontrol/randr/randrdisplay.cpp @@ -290,10 +290,9 @@ return config.group("Display").readEntry("SyncTrayApp", false); } -void RandRDisplay::saveDisplay(KConfig& config, bool applyOnStartup, bool syncTrayApp) +void RandRDisplay::saveDisplay(KConfig& config, bool syncTrayApp) { KConfigGroup group = config.group("Display"); - group.writeEntry("ApplyOnStartup", applyOnStartup); group.writeEntry("SyncTrayApp", syncTrayApp); #ifdef HAS_RANDR_1_2 @@ -310,6 +309,36 @@ } } +// to be used during desktop startup, make all screens provide the shell commands +// (using xrandr cli tool), save them here and a script will perform these commands +// early during desktop startup +void RandRDisplay::saveStartup(KConfig& config) +{ + KConfigGroup group = config.group("Display"); + group.writeEntry("ApplyOnStartup", true); + QStringList commands; +#ifdef HAS_RANDR_1_2 + if (RandR::has_1_2) + { + foreach(RandRScreen *s, m_screens) + commands += s->startupCommands(); + } + else +#endif + { + foreach(LegacyRandRScreen *s, m_legacyScreens) + commands += s->startupCommands(); + } + group.writeEntry(
Bug#600152: kspread: can't paste numbers
Package: kspread Version: 1:2.2.1-3 Severity: important A common use of spread sheets is to calculate numbers that come from some other program. Select some text from another program like $2.34 and middle click to paste into a kspread cell. The cell is left justified indicating that kspread is classifying it as a text string, not a number. That is the same result as doing a copy and paste operation with the same text (instead of the selection buffer). Type $2.34 into another cell and it is right justified as kspread interprits it as a number. As long as kspread classifies it as text none of the formulas will operate on it, such as sum, and unless you realize that it is left justified it isn't immediately obvious why all your forumlas are broken. Editing the cell in kspread and it will properly revert to a number. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.36-rc7+ (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages kspread depends on: ii kdebase-runtime 4:4.4.5-1runtime components from the offici ii koffice-libs1:2.2.1-3common libraries and binaries for ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-2GCC support library ii libgsl0ldbl 1.14+dfsg-1 GNU Scientific Library (GSL) -- li ii libkde3support4 4:4.4.5-1the KDE 3 Support Library for the ii libkdecore5 4:4.4.5-1the KDE Platform Core Library ii libkdeui5 4:4.4.5-1the KDE Platform User Interface Li ii libkhtml5 4:4.4.5-1the KHTML Web Content Rendering En ii libkio5 4:4.4.5-1the Network-enabled File Managemen ii libknotifyconfig4 4:4.4.5-1library for configuring KDE Notifi ii libkparts4 4:4.4.5-1the Framework for the KDE Platform ii libkrosscore4 4:4.4.5-1the Kross Core Library ii libkutils4 4:4.4.5-1various utility classes for the KD ii libqt4-dbus 4:4.6.3-1+b1 Qt 4 D-Bus module ii libqt4-qt3support 4:4.6.3-1+b1 Qt 3 compatibility library for Qt ii libqt4-sql 4:4.6.3-1+b1 Qt 4 SQL module ii libqt4-xml 4:4.6.3-1+b1 Qt 4 XML module ii libqtcore4 4:4.6.3-1+b1 Qt 4 core module ii libqtgui4 4:4.6.3-1+b1 Qt 4 GUI module ii libstdc++6 4.4.5-2 The GNU Standard C++ Library v3 kspread recommends no packages. Versions of packages kspread suggests: ii khelpcenter4 4:4.4.5-1 help center ii koffice-doc-html 1:2.2.1-3 KDE Office Suite documentation in -- no debconf information -- 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/20101014020642.11034.33839.report...@spacedout.fries.net
Bug#600153: kword: can't paste selected text
Package: kword Version: 1:2.2.1-3 Severity: normal kword is no longer able to paste from the selection buffer with the middle mouse click, even when the selected text comes from the same document. A middle click will paste from the clipboard. Selecting text in kword will populate the selection buffer, so you can select something in kword and paste it to an xterm, but you no longer can select in an xterm and paste to kword. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.36-rc7+ (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages kword depends on: ii kdebase-runtime 4:4.4.5-1runtime components from the offici ii koffice-libs1:2.2.1-3common libraries and binaries for ii kword-data 1:2.2.1-3data files for KWord word processo ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-2GCC support library ii libglib2.0-02.24.2-1 The GLib library of C routines ii libgsf-1-1141.14.18-1Structured File Library - runtime ii libkdecore5 4:4.4.5-1the KDE Platform Core Library ii libkdeui5 4:4.4.5-1the KDE Platform User Interface Li ii libkhtml5 4:4.4.5-1the KHTML Web Content Rendering En ii libkio5 4:4.4.5-1the Network-enabled File Managemen ii libkparts4 4:4.4.5-1the Framework for the KDE Platform ii libqt4-qt3support 4:4.6.3-1+b1 Qt 3 compatibility library for Qt ii libqt4-svg 4:4.6.3-1+b1 Qt 4 SVG module ii libqt4-xml 4:4.6.3-1+b1 Qt 4 XML module ii libqtcore4 4:4.6.3-1+b1 Qt 4 core module ii libqtgui4 4:4.6.3-1+b1 Qt 4 GUI module ii libstdc++6 4.4.5-2 The GNU Standard C++ Library v3 ii libwpd8c2a 0.8.14-1 Library for handling WordPerfect d ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime kword recommends no packages. Versions of packages kword suggests: ii khelpcenter4 4:4.4.5-1 help center ii koffice-doc-html 1:2.2.1-3 KDE Office Suite documentation in -- no debconf information -- 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/20101014021334.11158.68864.report...@spacedout.fries.net