Joon Ro | 22 Jul 09:50 2014
Picon

Re: Drag & Drop not working in 2.1.0 (Uwe?)

I'm happy to report that the file drag & drop (from an explorer to lyx) is working with 2.1.1 in Windows 8.1 64bit.

-Joon


On Wed, May 21, 2014 at 11:00 PM, Stephan Witt <st.witt <at> gmx.net> wrote:
Am 22.05.2014 um 05:27 schrieb Joon Ro <joonhyoung.ro <at> gmail.com>:

> On Wed, May 21, 2014 at 2:42 PM, Jean-Marc Lasgouttes <lasgouttes <at> lyx.org> wrote:
>
> Probably a different version of Qt. You can see it in the About LyX dialog in version 2.1.
>
>
> I could not find it. (No QT related info in the about dialog) Could you please let me know exactly where I can see it?

Unfortunately this info is shown for development builds only :(

Perhaps you can get this information from the Qt dll files?

Stephan

aparsloe | 19 Jul 23:01 2014
Picon

Making the preview log more accessible

At present if you want to consult the preview log -- for instance, if 
you open a document and equations etc. are not snapping into their 
preview appearance -- you need to navigate to the temporary directory 
where LyX does its work and locate the log there. The log will generally 
pinpoint where the previewing is coming unstuck. It would be good to 
have this log more readily available. The obvious place is as another 
tab in the View > Messages pane.

For every new equation or preview inset, or modification of a previous 
one, a new log is created. To keep tabs for all of them would be 
excessive, so I imagine only the latest would be shown.

Andrew

Richard Heck | 18 Jul 20:14 2014

NextNoIndent After Theorems, Etc


We set NextNoIndent 1 after Theorems, etc, but a Standard paragraph 
after a Theorem is indented. I thought I'd fixed this for 2.1.x, but 
apparently not. Any objection if I do fix it?

Richard

Scott Kostyshak | 18 Jul 04:23 2014

layout combo box height

If you start a new document and do alt + p and type "address", the
combo box is not tall enough to display all of the results (so a
scrollbox is displayed). Similarly if you type "paragraph". I can
provide screenshots if others are unable to reproduce.

The attached patch fixes the above problem but creates other problems
(extra space if you delete characters in the filter) and is clearly
not the right thing to do, I was just experimenting and thought maybe
this can help get an idea of what's going on.

Can others reproduce?
Does anyone have an idea for a correct fix?

Scott
diff --git a/src/frontends/qt4/LayoutBox.cpp b/src/frontends/qt4/LayoutBox.cpp
index 783dc78..bebacb0 100644
--- a/src/frontends/qt4/LayoutBox.cpp
+++ b/src/frontends/qt4/LayoutBox.cpp
 <at>  <at>  -243,7 +243,7  <at>  <at>  QSize LayoutItemDelegate::sizeHint(QStyleOptionViewItem const & opt,
 	/// To avoid scrolling we have to sneak in space for the headers.
 	/// So we tweak this value accordingly. It's not nice, but the
 	/// only possible way it seems.
-	if (lyxrc.group_layouts && index.row() == 0 && layout_->d->inShowPopup_) {
+	if (lyxrc.group_layouts && layout_->d->inShowPopup_) {
 		int itemHeight = size.height();

 		// we have to show \c cats many headers:
Scott Kostyshak | 17 Jul 17:01 2014

showing a "not built with spellchecker enabled" message?

If LyX is not built explicitly enabling a spellchecker, some fields
are greyed out. This comes up from time to time on the list. Would it
be more or less confusing to have a message explaining that LyX needs
to have the option set at compile time?

Scott

Raphael Kubo da Costa | 16 Jul 21:16 2014
Picon

[PATCH] Include locale.h for setlocale(3).

Commit 82faa6619239c2e57fba9128899bafe29d728e51 added some calls to
setlocale(3) but did not include locale.h. The implicit include is added
on some platforms, but not others, such as FreeBSD with libc++.
---
 src/support/os_unix.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/support/os_unix.cpp b/src/support/os_unix.cpp
index b298a7d..2635d67 100644
--- a/src/support/os_unix.cpp
+++ b/src/support/os_unix.cpp
 <at>  <at>  -23,6 +23,7  <at>  <at> 
 #include "support/lassert.h"

 #include <limits.h>
+#include <locale.h>
 #include <stdlib.h>

 #ifdef __APPLE__
--

-- 
2.0.1

Scott Kostyshak | 16 Jul 00:32 2014

LyX Qt 5 issues

It seems that switching to Qt 5 is still a bit away, but planning
early is always a good idea. I would like to start (if it exists
already, please let me know) either a wiki page or a trac issue
keeping track of issues that we think have to do with Qt 4 vs. Qt 5.
Hopefully for each issue related to LyX with Qt 5 we can list the
versions of Qt 5 and OS's for which we have confirmation the issue
exists.

It would be nice to not just list the bugs that switching to Qt 5
would bring, but also the fixes or elimination of workarounds that the
switch would bring.

Any thoughts on this?

Scott

Richard Heck | 15 Jul 19:15 2014

[ANNOUNCE] LyX 2.1.1


Public release of LyX version 2.1.1
===================================

We are proud to announce the release of LyX 2.1.1.  This is the first
maintenance release in the 2.1.x series.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.1.1 from http://www.lyx.org/Download/.

LyX 2.1.1 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We strongly encourage
all LyX users to upgrade to this version.

Several users have reported seemingly random crashes with 2.1.0, sometimes
resulting in dataloss. These crashes appear to happen when the user 
attempts
to save a file, and the dataloss occurs because the original LyX file is 
over-
written by a corrupt file that then cannot be opened. The seemingly random
crashes, we believe, are due to auto-save, which is enabled or disabled in
Tools> Preferences> Document Handling > "Backup documents every...minutes".

Unfortunately, we have been unable to find the cause of this bug, though all
known reports seem to involve documents that contain tables, and the 
corrupt
file always ends with: \begin_inset Tabular.

To prevent dataloss, we have changed the way LyX saves files if the user
has not enabled backups. LyX now renames the existing file before
attempting to save the new one (in effect, making a temporary backup).
Then, if the save fails, the original file can be restored.

If you think you have found a bug in LyX 2.1.1, either e-mail the LyX
developers' mailing list (lyx-devel <at> lists.lyx.org) or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.1.1.

The LyX team.
http://www.lyx.org

What's new
==========

** Updates:
***********

* DOCUMENT INPUT/OUTPUT

- We now flush the output stream more frequently, as a temporary measure
   to help us gather information about the crash mentioned above.

- To prevent dataloss, we have changed the way LyX saves files if the user
   has not enabled backups. LyX now renames the existing file before
   attempting to save the new one (in effect, making a temporary backup).
   Then, if the save fails, the original file can be restored.

* DOCUMENTATION AND LOCALIZATION

- Updated Chinese (simplified), French, Interlingua, Japanese, Spanish,
   Swedish and Ukrainian user interface localizations.

- updated French translation of the User Guide and the Math manual.

** Bug fixes:
*************

* DOCUMENT INPUT/OUTPUT

- Fix assertion when selecting in document with bi-directional text (bug 
9142).

- Fix assertion when accepting change (bug 9145).

- Fix LaTeX error with alphabetic delimiters in inline Listings (part of bug
   8985).

- Fix output of deleted citations in change tracking mode (bug 8806).

- Fix handling of multiple bibliography styles when using sectioned 
bibliography
   (bug 9060).

- Fix problem converting layout files and modules when Flex inset names are
   quoted.

- Honor the NextNoIndent layout parameter also in the exported output.

- Output arguments required by arguments with DefaultArg or PresetArg 
(bug 9128).

- Fix export from command line when included files have names with non-ascii
   characters.

* LYX2LYX

We have fixed several significant issues involving conversion of 2.0 
format into
2.1 format, and conversely. This mostly affects the new argument insets 
and, in
particular, beamer documents. These are detailed below.

- Fix conversion of beamer block titles ending with non-ERT insets to 
2.1 format.

- Fix conversion of beamer blocks with preceding or trailing blanks.

- Add \justification parameter when converting to 2.1 format (avoids
   warning when converting back to 2.0 format).

- Fix conversion of argument insets from 2.1 to 2.0 format.

- Fix "use math package" settings conversion from 2.1 to 2.0 format.

- Fix "use math package" settings conversion from 2.0 to 2.1 format (bug 
9069).

- Fix table cell rotation conversion from 2.1 to 2.0 format.

- Fix import of some argument insets.

- Fix some nesting problems in reversion of some beamer environments to 
2.0 format.

* USER INTERFACE

- Fix crash when right-clicking into an insets with more paragraphs than the
   main text (bug 9123).

- Fix crash when entering math in change-tracking mode while merge changes
   dialog is open (bug 7685).

- Fix crash when CheckTeX hits mathed (bug 8798).

- Fix crash when performing "Change Case" operation on a selection with font
   changes (bug 7943).

- Fix crash involving certain sorts of BibTeX files (bug 9112).

- Fix assertion when entering a path into the import dialog (bug 7437).

- Fix assertion when doing advanced replace with table cells selected (bug
   7944).

- Failed instant preview compilation now returns an error. And a red box is
   drawn around very small preview images, so they can be seen (bug 7522).

- Fix "Select Section" function in the Outliner (bug 8936).

- Fix select-by-doubleclick in mathed (bug 8829).

- Make selection by mouse drag more reliable in mathed (bug 9074).

- Fix undo with many individual changes (e.g. with replace all)
   (bug 7079).

- Fix problem with display of citation information when a whole lot of
   entries are cited at once (bug 9131).

- Do not spellcheck "code" style in logical markup module.

- Fix invalid writing of default_otf_view_format preference (bug 9100).

- Open View > Source Pane at a reasonable size (bug 9084). The downside of
   this fix is that the Source Pane cannot be shrunken ad infinitum anymore.

- Fix problem with drawing of background in math when selection is active.

- Fix wrong on-screen indentation of a paragraph occurring in some cases.

- Fix keyborad input of cyrillic characters in program listings (bug 9102).

- Fix default vertical alignment when inserting a math matrix through the
   math toolbar or context menu (bug 9153).

* INTERNALS

- Fix a problem when PATH changes and python command is relative (bug 8950).

- Reduce memory use with large documents.

- Disable a console message when loading a document in a language for
   which the UI is not translated.

* BUILD/INSTALLATION

- Fix bad compare of pointer vs. character (part of bug 8985).

- With autotools, avoid installing in Windows and MacOS some files intented
   for the unix builds.

- Fix minor issue in script that extracts strings for GUI translation 
(bug 9054).

Richard Heck | 15 Jul 16:01 2014

[URGENT] Unable to Commit to lyx-www via SVN


While trying to do the 2.1.1 release, I have found that I am suddenly 
unable to commit to the lyx-www subversion repo. It keeps asking me for 
a password.

I have tried this from two machines, and neither works.

Richard

Scott Kostyshak | 15 Jul 01:08 2014

Re: Add Sumatra PDF reader to configure before Adobe Reader?

On Sat, May 24, 2014 at 7:40 AM, Scott Kostyshak <skostysh <at> lyx.org> wrote:
> On Sat, May 24, 2014 at 6:56 AM, Enrico Forestieri <forenr <at> lyx.org> wrote:

>> It would suffice placing the executable in a directory under the LyX
>> directory tree that is already in the PATH prefix.

If I understand correctly, it seems like another feature would be that
cygwin users could have Sumatra's inverse search automatically
configured (related to your Wiki edit [1]).

> I'm CC'ing Uwe and Vincent to see if they have any opinions on bundling Sumatra.

I haven't heard from Vincent or Uwe. I wonder what Peter (CC'ing now)
thinks of bundling Sumatra on Windows.

Scott

[1] http://wiki.lyx.org/LyX/LyXOnCygwin?action=diff#diff1405374480

Marcelo Galvão Póvoa | 14 Jul 22:44 2014
Picon

[PATCH] LyX HiDPI support in OS X with Qt 5

Hello,

LyX has been lacking HiDPI ("retina") support for a while now and I
decided to tackle this project. It has been listed as a GSoC 2013
potential project [1], so I assume there's enough interest in it.

I worked on a patch which adds basic 2x DPI drawing support for text
and graphics. Math formulas and inline images also work (except the
splash screen) but the UI icons would require creating higher res
versions.

Comparison (LyX 2.1.0 with Qt4 vs LyX git with Qt5):

https://dl.dropboxusercontent.com/u/20456192/standard.png
https://dl.dropboxusercontent.com/u/20456192/retina.png

Qt added HiDPI support in version 5 [2], but I think it's not yet
fully functional. I say this because I ran into a problem where
partial viewport updates (namely the cursor and preedit strings) are
rendered incorrectly. It seems that it wrongly uses non-scaled pixels
dimensions which displays viewport contents from half the requested
coordinates, but I'm not sure it is a Qt bug. To workaround this
(second patch)  I used full viewport updates only, but this can
degrade performance. I would appreciate some help on this issue as I'm
not experienced with Qt.

I haven't tested this on Linux or Windows but to compile for Qt 5 on
OS X I used some additional steps from [3].

I am also new to LyX development and I am willing to improve this
patch, so any feedback will be welcome.

[1] http://wiki.lyx.org/Devel/SummerOfCode2013Ideas
[2] http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/
[3] http://permalink.gmane.org/gmane.editors.lyx.devel/148577

Thanks,
Marcelo

Gmane