! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Long press on history action button is broken
Status:
RESOLVED: MOVED

Comments

Description Theo Linkspfeifer editbugs 2020-03-28 23:39:49 CET
The popup menu does not appear when pressing and holding the left button on either "<-" or "->" in the location bar.


$ thunar

(thunar:9275): Gtk-WARNING **: 23:33:35.434: no trigger event for menu popup

(thunar:9275): Gtk-CRITICAL **: 23:33:35.434: gtk_menu_popup_at_rect: assertion 'GDK_IS_WINDOW (rect_window)' failed
Comment 1 alexxcons editbugs 2020-03-29 00:21:00 CET
Interesting, did not know that it existed :)  .. probably broke during gtk3 port.

Fix should be done after https://github.com/andreldm/thunar/tree/ReplaceGtkAction got merged .. since I messed with the History Actions.
(Or now, directly on the "ReplaceGtkAction" branch)
Comment 2 Theo Linkspfeifer editbugs 2020-03-29 13:25:44 CEST
Same as: https://bugzilla.xfce.org/show_bug.cgi?id=14583#c12
Comment 3 Theo Linkspfeifer editbugs 2020-03-29 15:15:13 CEST
Created attachment 9647 
diff

The functionality is gone when compiling Thunar from the linked branch. No more popup on left-click (long press) or right-click.

The attached diff fixes the bug in git master.
Comment 4 alexxcons editbugs 2020-03-30 11:06:32 CEST
thunar-history-action.c does not exist any more in the "ReplaceGtkAction" branch ... I'll rather see how to fix  that in the branch, instead of adding dtuff to master which anyhow will be replaced soon.
Comment 5 alexxcons editbugs 2020-03-30 11:44:22 CEST
Probably can be done by listening to "button-release-event" and checking the event->time in the handler (struct GdkEventButton)
Its in thunar-window.c:750 and  thunar-window.c:3690

Rebased, most recent version of the WIP branch: https://github.com/alexxcons/thunar/tree/ReplaceGtkAction2
Comment 6 Theo Linkspfeifer editbugs 2020-03-31 22:20:13 CEST
Does this mean that the bug will stay unfixed in 1.8?
Comment 7 alexxcons editbugs 2020-04-02 09:47:26 CEST
(In reply to Theo Linkspfeifer from comment #6)
> Does this mean that the bug will stay unfixed in 1.8?

Uh, true, completely forgot about 4.14 for this one.

Though I will wait until there is as well a solution for master.
I dont want to re-introduce the feature on 4.14 if that could introduce a regression for master.
Comment 8 alexxcons editbugs 2020-04-28 11:47:19 CEST
(In reply to Theo Linkspfeifer from comment #3)
> Created attachment 9647 
> diff
> 
> The functionality is gone when compiling Thunar from the linked branch. No
> more popup on left-click (long press) or right-click.

Popup on right-click is fixed in the most recent branch:
https://github.com/alexxcons/thunar/tree/ReplaceGtkAction45
Though so far no support for long press in the WIP branch
Comment 9 Git Bot editbugs 2020-05-26 23:49:23 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/289.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16601

Reported by:
Theo Linkspfeifer
Reported on: 2020-03-28
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

diff (1.88 KB, patch)
2020-03-29 15:15 CEST , Theo Linkspfeifer
no flags

Additional information