Bug 157907 - Cannot PrintScreen when Autofilter is open in Linux X11
Summary: Cannot PrintScreen when Autofilter is open in Linux X11
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2023-10-24 08:28 UTC by Timur
Modified: 2023-11-01 14:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
works for me (53.13 KB, image/png)
2023-10-31 15:14 UTC, Caolán McNamara
Details
gtk3-demo popover page for reference (147.86 KB, image/png)
2023-10-31 15:16 UTC, Caolán McNamara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2023-10-24 08:28:39 UTC
Is this a bug or ..? 
In Calc, open Autofilter, press PrtSc on the keyboard - nothing for me.
Comment 1 BogdanB 2023-10-24 08:32:49 UTC
Just for testing, working well in
Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: ro-RO (en_US); UI: en-US
Calc: threaded
Comment 2 BogdanB 2023-10-28 07:49:50 UTC
Confirm with
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 BogdanB 2023-10-28 07:50:50 UTC
Also in
Version: 7.1.0.0.alpha0+
Build ID: 63bf8f042abe3c0f6989f6763d13f5389182b816
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

The oldest version I can test.
Comment 4 BogdanB 2023-10-28 07:52:56 UTC
A workaround to take a screenshot, is to open the screenshot program, mark a delay of 2 seconds, go to Calc, open the AutoFilter and done.
Comment 5 Timur 2023-10-30 14:26:11 UTC
Thanks Bogdan, did not occur to me that it may be a regression, but it is, in 7.1 with a commit that is mentioned in few separate reports:
 e55f69bdf1018239bd5eebc90f04ab283a52e6f0 is the first bad commit
Date:   Fri Jun 12 22:37:17 2020 +0200
    source a16e6122dc62f545df90b9ea4d1f4723c46336b6

commit a16e6122dc62f545df90b9ea4d1f4723c46336b6	[log]
author	Caolán McNamara <caolanm@redhat.com>	Thu May 28 15:24:29 2020 +0100
    weld checklistmenu
rework the "menu" to be a treeview using hover selection instead of
a custom set of widgetry, and drop the newly unused custom a11y code

Caolan, please see.
Comment 6 Caolán McNamara 2023-10-31 15:14:23 UTC
Created attachment 190564 [details]
works for me

I don't have a problem with taking a screenshot with the popover open.

That said, I have GNOME 44.4 using Wayland. I could certainly imagine popovers causing some sort of difficulty in certain variants.
Comment 7 Caolán McNamara 2023-10-31 15:16:43 UTC
Created attachment 190565 [details]
gtk3-demo popover page for reference

It might be worth checking gtk3-demo and the popover example in it, as seen in this screenshot, to see if it has the same issue or not.

My feeling is whatever is the problem here it isn't inherently a bug of ours, but some other issue outside of us which using a popover triggers for the screenshotting.
Comment 8 Timur 2023-10-31 15:31:10 UTC
I am with Linux Mint X11, GTK3 3.24.33-1ubuntu2
I tried gtk3-demo and Popovers, but sceenshot works with it. 
I do not get how NOB...