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

Text tool fixes #19

Merged
merged 6 commits into from Feb 16, 2017
Merged

Text tool fixes #19

merged 6 commits into from Feb 16, 2017

Conversation

quozl
Copy link
Contributor

@quozl quozl commented Feb 16, 2017

  • fix for a "text functionality does not work, the letters are not shown on the screen when typing from the keyboard", reported by Raul Benitez on the SoaS mailing list; there is no documentation for the stacking order of widgets in a Gtk.Fixed, but evidently the last one added is the most visible.
  • fix for a mistake in previous PR Defend against Gtk3 cursor new_from_name bug #18,
  • remove several normal log messages from logs.

Note that a floating text insertion will be abandoned if a brush or pencil tool is used while the cursor is flashing. Workaround is to complete the floating text insertion with a click away from the text.

- exception was always happening,

- Gtk.TextView does not have set_text,

- use set_text of the buffer always.
- returning False or True has significance,

- use an explicit False instead of allowing it to default to False.
- on Ubuntu 16.04, selecting the text tool then clicking the drawing
area seems to do nothing,

- caused by the Gtk.TextView stacked underneath the drawing area,

- fix is to put the Gtk.TextView last inside the Gtk.Fixed,

- did not affect Fedora 18.
- fix bad syntax,

- regression introduced in 7e74623.
@walterbender walterbender merged commit c309fa3 into sugarlabs:master Feb 16, 2017
@quozl quozl deleted the 2017-047-text branch February 16, 2017 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants