#1037942 linphone-desktop: Call notification windows in the middle of the screen

Package:
linphone-desktop
Source:
linphone-desktop
Description:
SIP softphone - graphical client
Submitter:
Samuel Wolf
Date:
2023-06-17 18:39:05 UTC
Severity:
normal
#1037942#5
Date:
2023-06-14 15:15:52 UTC
From:
To:
Dear Maintainer,

since Debian 12 my call notification windows is not anymore in the right down corner of my two screens.
There are two white windows (size of call window) and two call notification windows in the middle of the screen.
Is this a known issue?

Tried to backport version 5 from experimental without luck, maybe a backport from sid is possible in some weeks...

#1037942#10
Date:
2023-06-15 16:41:53 UTC
From:
To:
X-Debbugs-CC: Samuel Wolf <samuelwolf85@googlemail.com>
something in its multi-monitor support which may have broken something
somewhere, probably in
linphone-app/src/components/notifier/Notifier.cpp:Notifier::createNotification().

It would help a lot if:

- you could confirm that the behaviour is still as expected if you disable one
  of your monitors,

- you could give the exact dimensions of your monitors and the exact
  coordinates and dimensions of the notification windows and the white
  rectangles,

- you could paste any stdout/stderr or logfile output that contains
  the string "Primary screen" if it appears anywhere,

- you could maybe prepare screenshot(s) that are not too large
  (e.g. maybe convert to 256 colour PNG, remove any Desktop wallpaper
  etc.) and post them here.

It would be important to know if the notification windows are actually
in the very center or slightly offset somehow in case the bug is
related to subpixel support.

As for how soon this bug will be fixed: I can't tell.  Everyone in
Qt-land will probably start the migration to Qt 6 in the near future
if they haven't already, and thus probably deprioritize polish-related
issues like this.

Since I use a single-monitor setup I won't notice if this bug still
persists, so consider posting here after a new version has been
uploaded whether or not it still manifests.

Regards.

#1037942#15
Date:
2023-06-16 09:18:00 UTC
From:
To:
Am Do., 15. Juni 2023 um 18:51 Uhr schrieb Dennis Filder <d.filder@web.de>:

yes, same problem with single monitor setup (see attachment Image 1 and Image 2)
In Image 2 my pop-up browser window from the PBX was active and
between the two windows.

single setup 1920x1200
dual setup 2x 1920x1200

Look like the white window depends on the number of monitors.

[11:04:22:807][0x55895ef0d490][Warning]System tray not found on this system.
[11:04:22:818][0x55895ef0d490][Warning]Wayland does not support
QWindow::requestActivate()
[11:04:22:863][0x55895ef0d490][Debug]"Unable to find a translation.
(context=Timeline, label=timelineFilterAllSecureLevelRooms,
disambiguation=)"
[11:04:22:863][0x55895ef0d490][Debug]"Unable to find a translation.
(context=Timeline, label=timelineFilterAnyChatRooms, disambiguation=)"
[11:04:22:864][0x55895ef0d490][Debug]"Unable to find a translation.
(context=Timeline, label=timelineFilterAnyEphemerals,
disambiguation=)"
[11:04:22:940][0x55895ef0d490][Info]"Notify event count: 0."
[11:04:23:316][0x55895ef0d490][Info]"Notify event count: 0."
[11:04:23:607][0x55895ef0d490][Info]"Notify event count: 0."
[11:04:34:595][0x55895ef0d490][Info]ChatRoom creation of  ""  at  0
security, from  "XXXremovedXXX")
[11:04:34:775][0x55895ef0d490][Info]"Add call:" "XXXremovedXXX"
[11:04:34:988][0x55895ef0d490][Debug]Internal Entries : Init
[11:04:34:992][0x55895ef0d490][Debug]Internal Entries : Built
[11:04:34:992][0x55895ef0d490][Debug]Internal Entries : End
[11:04:38:477][0x55895ef0d490][Info]"Create notifications:"
NotificationReceivedCall_QMLTYPE_464(0x55896a4b4070,
name="__internalWrapper", parent=0x55896a3ffb40, geometry=0,0 0x0)
[11:04:38:804][0x55895ef0d490][Info]"Notify event count: 1."

I tried the same setup with X11 (disable wayland) and it works as expected.
So this is another "wayland" issue and maybe not a linphone problem?

Do you see any chance for a workaround in wayland?

Thank you!

Samuel

#1037942#20
Date:
2023-06-17 18:30:45 UTC
From:
To:
X-Debbugs-CC: Samuel Wolf <samuelwolf85@googlemail.com>
Control: reassign -1 src:qtwayland-opensource-src

Looks like it.

Running linphone under XWayland could be worth a try.  If that doesn't
work either I guess we'll probably just have to wait till the
Wayland-related bug in Qt has been ironed out.  Anyway, I'll reassign
this to src:qtwayland-opensource-src in the hope that this will increase
its chance of getting resolved eventually.

Regards.