Welcome Guest Search | Active Topics | Sign In | Register

Eo.Wpf.PdfViewer is topmost always Options
derpunkt gmbh
Posted: Monday, June 10, 2024 11:26:31 AM
Rank: Newbie
Groups: Member

Joined: 6/10/2024
Posts: 2
Hi

I added PdfViewer into a Wpf Application inside of a Grid.
Everything works fine, but I am not able to put anything above the PdfViewer. It is topmost always.

I checked the zIndex-Values of all UI-Elements, but found no other values than 0.

How can I solve that problem?

Thanks and best regards
Christine
eo_support
Posted: Tuesday, June 11, 2024 4:06:36 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,166
Hi,

This is a known limitation of WPF. In WPF a windowed control is always over a non-windowed control. So even if you set a non-window control's zIndex to higher than a windowed control it still won't show above the windowed control. The PdfViewer happens to be a windowed control because it uses its own window handle managed by the browser engine. In order to show anything above the windowed control, the content itself has to be a window. You can search about "WPF airspace issue" for more details about this.

Thanks!
derpunkt gmbh
Posted: Wednesday, June 12, 2024 4:14:09 AM
Rank: Newbie
Groups: Member

Joined: 6/10/2024
Posts: 2
Hej,

Ok - then I have to find a workaround. Probably an overlay window or popup.

How can I end the "Present" Mode?
It says "Press ESC key to end it", but the key is not recognized in WPF application.
Or can I just hide it or the complete DropDown menue?

Thanks!
eo_support
Posted: Wednesday, June 12, 2024 2:08:03 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,166
What do you mean by "Present" mode? Exactly how do you display the overlay window or popup?
derpunkt gmbh
Posted: Saturday, June 15, 2024 7:57:51 AM
Rank: Newbie
Groups: Member

Joined: 6/10/2024
Posts: 2
That has to do nothing with the Overlay Window or Popup. It appears in WPF applications always.

In the dropdown menu at the right top (below the 3 vertical dots) you find:
- Two-page view
- Annotations
- Present
- Document properties

If I press "Present" the viewer is shown in full page mode, but I am not able to leave it in any way.
eo_support
Posted: Monday, June 17, 2024 10:53:37 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,166
I see. We are looking into this and will reply here again when we have an update.
eo_support
Posted: Wednesday, June 19, 2024 10:22:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,166
Hi,

This is just to let you know that we have found the root of the problem. This will be resolved in our next build. We will reply here again when we have an update.

Thanks!
eo_support
Posted: Tuesday, July 23, 2024 4:20:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,166
Hi,

This is just to let you know that we have fixed the issue with Present mode. Now you should be able to cancel Present mode with ESC key.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.