Bug#876704: qt4-demos: QML examples in qt4-demos fail to run, /qmlapplicationviewer in wrong location

2017-09-24 Thread Wendigo
Package: qt4-demos
Version: 4:4.8.7+dfsg-11
Severity: normal

Dear Maintainer,

Open a qt4 QML demo in QT creator (notably the Dial Control but happens with 
other examples too)
fails with tne message:
Could not copy file "/usr/share/qt4/doc/html/helper/qmlapplicationviewer" to
 "/home/user/dialcontrol/qmlapplicationviewer"

The real location of the requested directory and files is:
/usr/lib/qt4/demos/helper/qmlappicationviewer

Clearly the above location must be changed.
Copying the directory with to:
/home/user/dialcontrol/
Solves the main problem. But the example won't run either unless you change in 
main.cpp
the line:
viewer.setMainQmlFile(QLatin1String("/qml/dialcontrol/dialcontrol.qml"));

to:

viewer.setMainQmlFile(QLatin1String("/dialcontrol/qml/dialcontrol/dialcontrol.qml"));

Very frustrating for someone who is trying to learn qt.
I have no idea if the same happens with qt5-demos


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qt4-demos depends on:
ii  libc6 2.24-11+deb9u1
ii  libgcc1   1:6.3.0-18
ii  libgl1-mesa-glx [libgl1]  13.0.6-1+b2
ii  libphonon44:4.9.0-4
ii  libqt4-declarative4:4.8.7+dfsg-11
ii  libqt4-designer   4:4.8.7+dfsg-11
ii  libqt4-help   4:4.8.7+dfsg-11
ii  libqt4-network4:4.8.7+dfsg-11
ii  libqt4-opengl 4:4.8.7+dfsg-11
ii  libqt4-script 4:4.8.7+dfsg-11
ii  libqt4-scripttools4:4.8.7+dfsg-11
ii  libqt4-sql4:4.8.7+dfsg-11
ii  libqt4-svg4:4.8.7+dfsg-11
ii  libqt4-test   4:4.8.7+dfsg-11
ii  libqt4-xml4:4.8.7+dfsg-11
ii  libqt4-xmlpatterns4:4.8.7+dfsg-11
ii  libqtcore44:4.8.7+dfsg-11
ii  libqtdbus44:4.8.7+dfsg-11
ii  libqtgui4 4:4.8.7+dfsg-11
ii  libstdc++66.3.0-18

Versions of packages qt4-demos recommends:
ii  libqt4-declarative-gestures   4:4.8.7+dfsg-11
ii  libqt4-declarative-particles  4:4.8.7+dfsg-11
ii  qt4-dev-tools 4:4.8.7+dfsg-11
ii  qt4-doc   4:4.8.7+dfsg-11

Versions of packages qt4-demos suggests:
ii  qt4-qmlviewer  4:4.8.7+dfsg-11

-- no debconf information



Bug#865001: Some analysis

2017-09-24 Thread Dr. David Alan Gilbert
I've done a little digging; firstly I think it's the same as:

   https://bugs.kde.org/show_bug.cgi?id=368494   (to which I commented
  although it's closed because it went away when the reporter updated
  their X server)
and
   https://bugzilla.redhat.com/show_bug.cgi?id=1477592
and possibly
   https://bugzilla.redhat.com/show_bug.cgi?id=1406752

I added a little debug to libkf5screen
#0  XRandRScreen::toKScreenScreen (this=0x559dd8b68980) at 
./backends/xrandr/xrandrscreen.cpp:68
screenResources = {d = 0x0}
kscreenScreen = {value = 0x559dd8b78a70, d = 0x559dd8b78b90}
#1  0x7fe0e9b18aba in XRandRConfig::toKScreenConfig (this=) 
at ./backends/xrandr/xrandrconfig.cpp:117
config = {value = 0x559dd8b7ea80, d = 0x559dd8b7eb30}
features = {i = 3}
kscreenOutputs = {d = 0x559dd8b74bb0}
#2  0x7fe0e9b14c14 in XRandR::config (this=) at 
./backends/xrandr/xrandr.cpp:205
No locals.
#3  0x559dd6d7fac6 in BackendDBusWrapper::setConfig (this=0x559dd8b69c10, 
configMap=...)
at ./src/backendlauncher/backenddbuswrapper.cpp:87
config = {value = 0x559dd8b778c0, d = 0x559dd8b77be0}
obj = {d = 0x559dd8b7ea80, o = 0x559dd8b7eb30}
#4  0x559dd6d815ef in BackendAdaptor::setConfig (in0=..., this=)
at ./obj-x86_64-linux-gnu/src/backendlauncher/backendadaptor.cpp:51
No locals.

and:
KScreen::ScreenPtr XRandRScreen::toKScreenScreen() const
{
KScreen::ScreenPtr kscreenScreen(new KScreen::Screen);
kscreenScreen->setId(m_id);
kscreenScreen->setMaxSize(m_maxSize);
kscreenScreen->setMinSize(m_minSize);
kscreenScreen->setCurrentSize(m_currentSize);

XCB::ScopedPointer 
screenResources(XRandR::screenResources());
kscreenScreen->setMaxActiveOutputsCount(screenResources->num_crtcs);

return kscreenScreen;
}

the problem is the screenResources.d is NULL
I don't know the sctructure of the KDE code to know where the right place
is to fix this.

Dave

-- 
 -Open up your eyes, open up your mind, open up your code ---   
/ Dr. David Alan Gilbert|   Running GNU/Linux   | Happy  \ 
\dave @ treblig.org |   | In Hex /
 \ _|_ http://www.treblig.org   |___/



Bug#876644: System tray icons are shown without transparency

2017-09-24 Thread Evgeny Kapun

On 24.09.2017 16:58, Dmitry Shachnev wrote:

Hi Evgeny!

On Sun, Sep 24, 2017 at 01:22:56PM +0300, Evgeny Kapun wrote:

When an application using Qt 5 has a system tray icon, areas of the icon
that should be transparent are black instead. For me, this affects
GoldenDict (after it was changed to use Qt 5 instead of Qt 4) and VLC.


Please specify what desktop environment you are using, so that we can
reproduce the bug.


I can reproduce this on LXDE. You need the task bar to have white background 
and also set it to auto-hide. When launching an application, the task bar must 
be hidden, otherwise the icon will be displayed correctly. While this may be a 
bug in LXDE, for some reason it only affects applications which use Qt 5. 
Application which use Qt 4 or GTK are not affected.



Bug#876644: System tray icons are shown without transparency

2017-09-24 Thread Dmitry Shachnev
Hi Evgeny!

On Sun, Sep 24, 2017 at 01:22:56PM +0300, Evgeny Kapun wrote:
> When an application using Qt 5 has a system tray icon, areas of the icon
> that should be transparent are black instead. For me, this affects
> GoldenDict (after it was changed to use Qt 5 instead of Qt 4) and VLC.

Please specify what desktop environment you are using, so that we can
reproduce the bug.

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#876651: sddm creates an useless /var/lib/sddm/.gnupg

2017-09-24 Thread Alexandre Detiste
Package: sddm
Version: 0.15.0-1
Severity: minor

Hi,

I see here SDDM creating those files on 15/09:

 /var/lib/sddm/.gnupg
 /var/lib/sddm/.gnupg/private-keys-v1.d

They seems harmless, but may be the symptom
of some other problem.

Greets,

(bug found by cruft/cruft-ng)



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sddm depends on:
ii  adduser 3.116
ii  debconf 1.5.63
ii  libc6   2.24-17
ii  libgcc1 1:7.2.0-5
ii  libpam0g1.1.8-3.6
ii  libqt5core5a5.9.1+dfsg-9
ii  libqt5dbus5 5.9.1+dfsg-9
ii  libqt5gui5  5.9.1+dfsg-9
ii  libqt5network5  5.9.1+dfsg-9
ii  libqt5qml5  5.9.1-6
ii  libqt5quick55.9.1-6
ii  libstdc++6  7.2.0-5
ii  libsystemd0 234-3
ii  libxcb-xkb1 1.12-1
ii  libxcb1 1.12-1
ii  qml-module-qtquick2 5.9.1-6
ii  x11-common  1:7.7+19
ii  xserver-xorg [xserver]  1:7.7+19

Versions of packages sddm recommends:
ii  libpam-systemd234-3
ii  sddm-theme-breeze [sddm-theme]4:5.8.7-1
ii  sddm-theme-circles [sddm-theme]   0.13.0-1
ii  sddm-theme-elarun [sddm-theme]0.15.0-1
ii  sddm-theme-maldives [sddm-theme]  0.15.0-1
ii  sddm-theme-maui [sddm-theme]  0.15.0-1

Versions of packages sddm suggests:
ii  libpam-kwallet5  5.10.5-2

-- debconf information:
* shared/default-x-display-manager: sddm
  sddm/daemon_name: /usr/bin/sddm



Processed: control

2017-09-24 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> found 876644 5.9.1+dfsg-10
Bug #876644 [libqt5widgets5] System tray icons are shown without transparency
Marked as found in versions qtbase-opensource-src/5.9.1+dfsg-10.
>
End of message, stopping processing here.

Please contact me if you need assistance.
-- 
876644: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876644
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#876644: System tray icons are shown without transparency

2017-09-24 Thread Evgeny Kapun

Package: libqt5widgets5
Version: 5.9.1+dfsg-9

When an application using Qt 5 has a system tray icon, areas of the icon that 
should be transparent are black instead. For me, this affects GoldenDict (after 
it was changed to use Qt 5 instead of Qt 4) and VLC.