Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gtk3] Searching in the terminal doesn't work #192

Closed
egmontkob opened this issue Sep 27, 2019 · 4 comments
Closed

[gtk3] Searching in the terminal doesn't work #192

egmontkob opened this issue Sep 27, 2019 · 4 comments
Labels
gtk3 Issue related to the new Gtk3 version

Comments

@egmontkob
Copy link

gtk3 branch

Start a terminal session. Right-click over the terminal itself and choose Find, or press its shortcut Ctrl+F3. The search dialog does not pop up.

The first time these two warnings/errors are printed:

*** Gtk3::Widget::has_focus: passed too many parameters (expected 1, got 2); ignoring excess at /home/egmont/src/asbru-cm/lib/PACTerminal.pm line 3565.

(Probably has_focus without parameter to query its actual value, or grab_focus to grab it.)

*** unhandled exception in callback:
***   Can't locate object method "can_default" via package "Gtk3::Button" at /home/egmont/src/asbru-cm/lib/PACTerminal.pm line 3584.
***  ignoring at /usr/share/perl5/Gtk3.pm line 572.

(Probably you need set_can_default.)

Do it again, this time this is printed:

*** unhandled exception in callback:
***   Can't call method "set_text" on an undefined value at /home/egmont/src/asbru-cm/lib/PACTerminal.pm line 3506.
***  ignoring at /usr/share/perl5/Gtk3.pm line 572.

(Probably needs a // '' as seen elsewhere during the gtk3 migration.)

(Sorry guys, I don't feel like coding now, just doing QA-ish work :))

@gfrenoy
Copy link
Contributor

gfrenoy commented Sep 27, 2019

If you already give all the solution, it's too easy :-) Ctrl+F3 now shows the dialog for me. I'll push the fix in a minute.

@egmontkob
Copy link
Author

I'm not giving you the solution, I'm giving you my first guess(es) on the solution, with no guarantee whatsoever. Big difference :)

@gfrenoy
Copy link
Contributor

gfrenoy commented Sep 28, 2019

I'm giving you my first guess

Your first very educated guess ; don't be so humble. Thanks again for your help on this project!

@egmontkob
Copy link
Author

You're very welcome! :)

@KlaasT KlaasT added the gtk3 Issue related to the new Gtk3 version label Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gtk3 Issue related to the new Gtk3 version
Projects
None yet
Development

No branches or pull requests

3 participants