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

Document->line breaking menu not updated on reload of single document #2113

Open
elextr opened this issue Mar 27, 2019 · 3 comments
Open

Document->line breaking menu not updated on reload of single document #2113

elextr opened this issue Mar 27, 2019 · 3 comments
Labels

Comments

@elextr
Copy link
Member

elextr commented Mar 27, 2019

Don't understand why but if a single document is loaded with line breaking set in the saved prefs the document->line breaking menu item is not set, and it appears impossible to turn breaking off until another document is loaded probably because the menu item doesn't match the internal value?

[Edit: of course loading any of Geany's source files to try to find the problem makes it go away :( ]

@codebrainz
Copy link
Member

What does "with line breaking set in the saved prefs" mean?

It seems to work for me, can you provide steps to reproduce?

@elextr
Copy link
Member Author

elextr commented Mar 28, 2019

What does "with line breaking set in the saved prefs" mean?

Ahh yeah ok, "Line breaking set on a file saved in the session" would be better, it was late, I was tired :)

FTR

 10:45:06: Geany INFO		: Geany 1.35 (git >= b8cdfddf), en_AU.UTF-8
10:45:06: Geany INFO		: GTK 3.22.30, GLib 2.56.3

To reproduce:

  1. geany -c /some/where/non-existant
  2. create and save a single file
  3. set Document->line breaking, check it works
  4. close geany
  5. geany -c /some/where/non-existant
  6. check Document->line breaking is unselected
  7. but verify line breaking still happens !!!!!!
  8. select Document->line breaking
  9. verify line breaking does not happen!!!!!!
  10. de-select Document->line breaking
  11. verify line breaking happens again !!!!!!
  12. open any other file
  13. check that Document->line breaking selection for the original file has changed
  14. and now its all back in sync again

@codebrainz
Copy link
Member

codebrainz commented Mar 28, 2019

Thanks for the instructions, I can also reproduce.

(Windows 10, Geany 1.34.0 release)

@codebrainz codebrainz added the bug label Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants